Skip to content
This repository was archived by the owner on Dec 13, 2025. It is now read-only.

VRageMath.BoundingSphere

Malware edited this page Dec 25, 2018 · 51 revisions

Index

BoundingSphere Struct

private public sealed BoundingSphere
```csharp

**Namespace:** [VRageMath](VRageMath)  
**Assembly:** VRage.Math.dll

### Example

### Remarks

###### Fields

|Member|Description|
|---|---|
|[Center](VRageMath.BoundingSphere.Center)|The center point of the sphere.|
|[Radius](VRageMath.BoundingSphere.Radius)|The radius of the sphere.|

###### Methods

|Member|Description|
|---|---|
|[Equals(BoundingSphere)](VRageMath.BoundingSphere.Equals)|Determines whether the specified BoundingSphere is equal to the current BoundingSphere.|
|[Equals(object)](VRageMath.BoundingSphere.Equals)|Determines whether the specified Object is equal to the BoundingSphere.|
|[GetHashCode()](VRageMath.BoundingSphere.GetHashCode)|Gets the hash code for this instance.|
|[ToString()](VRageMath.BoundingSphere.ToString)|Returns a String that represents the current BoundingSphere.|
|[CreateMerged(BoundingSphere, BoundingSphere)](VRageMath.BoundingSphere.CreateMerged)|Creates a BoundingSphere that contains the two specified BoundingSphere instances.|
|[CreateMerged(ref BoundingSphere, ref BoundingSphere, ref BoundingSphere)](VRageMath.BoundingSphere.CreateMerged)|Creates a BoundingSphere that contains the two specified BoundingSphere instances.|
|[CreateFromBoundingBox(BoundingBox)](VRageMath.BoundingSphere.CreateFromBoundingBox)|Creates the smallest BoundingSphere that can contain a specified BoundingBox.|
|[CreateFromBoundingBox(ref BoundingBox, ref BoundingSphere)](VRageMath.BoundingSphere.CreateFromBoundingBox)|Creates the smallest BoundingSphere that can contain a specified BoundingBox.|
|[CreateFromPoints(IEnumerable)](VRageMath.BoundingSphere.CreateFromPoints)||
|[CreateFromFrustum(BoundingFrustum)](VRageMath.BoundingSphere.CreateFromFrustum)|Creates the smallest BoundingSphere that can contain a specified BoundingFrustum.|
|[Intersects(BoundingBox)](VRageMath.BoundingSphere.Intersects)|Checks whether the current BoundingSphere intersects with a specified BoundingBox.|
|[Intersects(ref BoundingBox, ref bool)](VRageMath.BoundingSphere.Intersects)|Checks whether the current BoundingSphere intersects a BoundingBox.|
|[Intersects(BoundingFrustum)](VRageMath.BoundingSphere.Intersects)|Checks whether the current BoundingSphere intersects with a specified BoundingFrustum.|
|[Intersects(Plane)](VRageMath.BoundingSphere.Intersects)|Checks whether the current BoundingSphere intersects with a specified Plane.|
|[Intersects(ref Plane, ref PlaneIntersectionType)](VRageMath.BoundingSphere.Intersects)|Checks whether the current BoundingSphere intersects a Plane.|
|[Intersects(Ray)](VRageMath.BoundingSphere.Intersects)|Checks whether the current BoundingSphere intersects with a specified Ray.|
|[Intersects(ref Ray, ref Nullable)](VRageMath.BoundingSphere.Intersects)||
|[Intersects(BoundingSphere)](VRageMath.BoundingSphere.Intersects)|Checks whether the current BoundingSphere intersects with a specified BoundingSphere.|
|[Intersects(ref BoundingSphere, ref bool)](VRageMath.BoundingSphere.Intersects)|Checks whether the current BoundingSphere intersects another BoundingSphere.|
|[Contains(BoundingBox)](VRageMath.BoundingSphere.Contains)|Checks whether the current BoundingSphere contains the specified BoundingBox.|
|[Contains(ref BoundingBox, ref ContainmentType)](VRageMath.BoundingSphere.Contains)|Checks whether the current BoundingSphere contains the specified BoundingBox.|
|[Contains(BoundingFrustum)](VRageMath.BoundingSphere.Contains)|Checks whether the current BoundingSphere contains the specified BoundingFrustum.|
|[Contains(Vector3)](VRageMath.BoundingSphere.Contains)|Checks whether the current BoundingSphere contains the specified point.|
|[Contains(ref Vector3, ref ContainmentType)](VRageMath.BoundingSphere.Contains)|Checks whether the current BoundingSphere contains the specified point.|
|[Contains(BoundingSphere)](VRageMath.BoundingSphere.Contains)|Checks whether the current BoundingSphere contains the specified BoundingSphere.|
|[Contains(ref BoundingSphere, ref ContainmentType)](VRageMath.BoundingSphere.Contains)|Checks whether the current BoundingSphere contains the specified BoundingSphere.|
|[Transform(Matrix)](VRageMath.BoundingSphere.Transform)|Translates and scales the BoundingSphere using a given Matrix.|
|[Transform(ref Matrix, ref BoundingSphere)](VRageMath.BoundingSphere.Transform)|Translates and scales the BoundingSphere using a given Matrix.|
|[Translate(ref Vector3)](VRageMath.BoundingSphere.Translate)||
|[IntersectRaySphere(Ray, ref float, ref float)](VRageMath.BoundingSphere.IntersectRaySphere)||
|[Include(BoundingSphere)](VRageMath.BoundingSphere.Include)||
|[Include(ref BoundingSphere, ref BoundingSphere)](VRageMath.BoundingSphere.Include)||
|[CreateInvalid()](VRageMath.BoundingSphere.CreateInvalid)||

Clone this wiki locally