/// <summary> /// Creates the smallest <see cref="BoundingSphere"/> that can contain a specified <see cref="BoundingFrustum"/>. /// </summary> /// <param name="frustum">The frustum to create the sphere from.</param> /// <returns>The new <see cref="BoundingSphere"/>.</returns> public static BoundingSphere CreateFromFrustum(BoundingFrustum frustum) { return(CreateFromPoints(frustum.GetCorners())); }
public PlaneIntersectionType Intersects(BoundingFrustum frustum) { return(frustum.Intersects(this)); }
/// <summary> /// Test if a frustum is fully inside, outside, or just intersecting the sphere. /// </summary> /// <param name="frustum">The frustum for testing.</param> /// <param name="result">The containment type as an output parameter.</param> public void Contains(ref BoundingFrustum frustum, out ContainmentType result) { result = this.Contains(frustum); }
public bool Intersects(BoundingFrustum frustum) { return(frustum.Intersects(this)); }