This repository was archived by the owner on Dec 13, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 123
VRageMath.BoundingSphere
Malware edited this page Dec 21, 2018
·
51 revisions
← Index
Namespace: VRageMath
Assembly: VRage.Math.dll
Defines a sphere.
| Member | Description |
|---|---|
Vector3 Center |
The center point of the sphere. |
float Radius |
The radius of the sphere. |
| Member | Description |
|---|---|
bool Equals(BoundingSphere other) |
Determines whether the specified BoundingSphere is equal to the current BoundingSphere. |
bool Equals(Object obj) |
Determines whether the specified Object is equal to the BoundingSphere. |
int GetHashCode() |
Gets the hash code for this instance. |
string ToString() |
Returns a String that represents the current BoundingSphere. |
static BoundingSphere CreateMerged(BoundingSphere original, BoundingSphere additional)
|
Creates a BoundingSphere that contains the two specified BoundingSphere instances. |
static void CreateMerged(ref BoundingSphere original, ref BoundingSphere additional, ref BoundingSphere result)
|
Creates a BoundingSphere that contains the two specified BoundingSphere instances. |
static BoundingSphere CreateFromBoundingBox(BoundingBox box)
|
Creates the smallest BoundingSphere that can contain a specified BoundingBox. |
static void CreateFromBoundingBox(ref BoundingBox box, ref BoundingSphere result)
|
Creates the smallest BoundingSphere that can contain a specified BoundingBox. |
static BoundingSphere CreateFromPoints(IEnumerable<Vector3> points)
|
Creates a BoundingSphere that can contain a specified list of points. |
static BoundingSphere CreateFromFrustum(BoundingFrustum frustum)
|
Creates the smallest BoundingSphere that can contain a specified BoundingFrustum. |
bool Intersects(BoundingBox box) |
Checks whether the current BoundingSphere intersects with a specified BoundingBox. |
void Intersects(ref BoundingBox box, ref bool result) |
Checks whether the current BoundingSphere intersects a BoundingBox. |
bool Intersects(BoundingFrustum frustum) |
Checks whether the current BoundingSphere intersects with a specified BoundingFrustum. |
PlaneIntersectionType Intersects(Plane plane) |
Checks whether the current BoundingSphere intersects with a specified Plane. |
void Intersects(ref Plane plane, ref PlaneIntersectionType result) |
Checks whether the current BoundingSphere intersects a Plane. |
Nullable<float> Intersects(Ray ray) |
Checks whether the current BoundingSphere intersects with a specified Ray. |
void Intersects(ref Ray ray, ref Nullable<float> result) |
Checks whether the current BoundingSphere intersects a Ray. |
bool Intersects(BoundingSphere sphere) |
Checks whether the current BoundingSphere intersects with a specified BoundingSphere. |
void Intersects(ref BoundingSphere sphere, ref bool result) |
Checks whether the current BoundingSphere intersects another BoundingSphere. |
ContainmentType Contains(BoundingBox box) |
Checks whether the current BoundingSphere contains the specified BoundingBox. |
void Contains(ref BoundingBox box, ref ContainmentType result) |
Checks whether the current BoundingSphere contains the specified BoundingBox. |
ContainmentType Contains(BoundingFrustum frustum) |
Checks whether the current BoundingSphere contains the specified BoundingFrustum. |
ContainmentType Contains(Vector3 point) |
Checks whether the current BoundingSphere contains the specified point. |
void Contains(ref Vector3 point, ref ContainmentType result) |
Checks whether the current BoundingSphere contains the specified point. |
ContainmentType Contains(BoundingSphere sphere) |
Checks whether the current BoundingSphere contains the specified BoundingSphere. |
void Contains(ref BoundingSphere sphere, ref ContainmentType result) |
Checks whether the current BoundingSphere contains the specified BoundingSphere. |
BoundingSphere Transform(Matrix matrix) |
Translates and scales the BoundingSphere using a given Matrix. |
void Transform(ref Matrix matrix, ref BoundingSphere result) |
Translates and scales the BoundingSphere using a given Matrix. |
BoundingSphere Translate(ref Vector3 translation) |
|
bool IntersectRaySphere(Ray ray, ref float tmin, ref float tmax) |
|
BoundingSphere Include(BoundingSphere sphere) |
|
static void Include(ref BoundingSphere sphere, ref BoundingSphere otherSphere)
|
|
static BoundingSphere CreateInvalid()
|
Do you have questions, comments, suggestions for improvements? Is there something I can do better? Did I make a mistake? Please add an issue here, and prefix your issue title with Wiki. Thank you, your help will be very appreciated!