VRageMath
BoundingSphere
Assembly: VRage.Math.dll
public struct BoundingSphere: IEquatable<BoundingSphere>
Defines a sphere.
Fields
| Member | Description |
|---|---|
| Center | The center point of the sphere. |
| Radius | The radius of the sphere. |
Constructors
| Member | Description |
|---|---|
| BoundingSphere(Vector3, float) |
Methods
| Member | Description |
|---|---|
| static CreateFromBoundingBox(BoundingBox) | Creates the smallest BoundingSphere that can contain a specified BoundingBox. |
| static CreateFromBoundingBox(ref BoundingBox, out BoundingSphere) | Creates the smallest BoundingSphere that can contain a specified BoundingBox. |
| static CreateFromFrustum(BoundingFrustum) | Creates the smallest BoundingSphere that can contain a specified BoundingFrustum. |
| static CreateFromPoints(IEnumerable |
Creates a BoundingSphere that can contain a specified list of points. |
| static CreateInvalid() | |
| static CreateMerged(BoundingSphere, BoundingSphere) | Creates a BoundingSphere that contains the two specified BoundingSphere instances. |
| static CreateMerged(ref BoundingSphere, ref BoundingSphere, out BoundingSphere) | Creates a BoundingSphere that contains the two specified BoundingSphere instances. |
| static Include(ref BoundingSphere, ref BoundingSphere) | |
| Contains(BoundingBox) | Checks whether the current BoundingSphere contains the specified BoundingBox. |
| Contains(ref BoundingBox, out ContainmentType) | Checks whether the current BoundingSphere contains the specified BoundingBox. |
| Contains(BoundingFrustum) | Checks whether the current BoundingSphere contains the specified BoundingFrustum. |
| Contains(Vector3) | Checks whether the current BoundingSphere contains the specified point. |
| Contains(ref Vector3, out ContainmentType) | Checks whether the current BoundingSphere contains the specified point. |
| Contains(BoundingSphere) | Checks whether the current BoundingSphere contains the specified BoundingSphere. |
| Contains(ref BoundingSphere, out ContainmentType) | Checks whether the current BoundingSphere contains the specified BoundingSphere. |
| Equals(BoundingSphere) | Determines whether the specified BoundingSphere is equal to the current BoundingSphere. |
| Equals(object) | Determines whether the specified Object is equal to the BoundingSphere. |
| GetBoundingBox() | |
| GetHashCode() | Gets the hash code for this instance. |
| Include(BoundingSphere) | |
| IntersectRaySphere(Ray, out float, out float) | |
| Intersects(BoundingBox) | Checks whether the current BoundingSphere intersects with a specified BoundingBox. |
| Intersects(ref BoundingBox, out bool) | Checks whether the current BoundingSphere intersects a BoundingBox. |
| Intersects(BoundingFrustum) | Checks whether the current BoundingSphere intersects with a specified BoundingFrustum. |
| Intersects(Plane) | Checks whether the current BoundingSphere intersects with a specified Plane. |
| Intersects(ref Plane, out PlaneIntersectionType) | Checks whether the current BoundingSphere intersects a Plane. |
| Intersects(Ray) | Checks whether the current BoundingSphere intersects with a specified Ray. |
| Intersects(ref Ray, out float?) | Checks whether the current BoundingSphere intersects a Ray. |
| Intersects(BoundingSphere) | Checks whether the current BoundingSphere intersects with a specified BoundingSphere. |
| Intersects(ref BoundingSphere, out bool) | Checks whether the current BoundingSphere intersects another BoundingSphere. |
| ToString() | Returns a String that represents the current BoundingSphere. |
| Transform(Matrix) | Translates and scales the BoundingSphere using a given Matrix. |
| Transform(ref Matrix, out BoundingSphere) | Translates and scales the BoundingSphere using a given Matrix. |
| Translate(ref Vector3) |
Implements: