This repository has been archived by the owner on Oct 22, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 123
VRageMath.BoundingSphere
Morten Aune Lyrstad edited this page Apr 16, 2022
·
50 revisions
← Index ← Namespace Index
public struct BoundingSphere: IEquatable<VRageMath.BoundingSphere>
Defines a sphere.
Namespace: VRageMath
Assembly: VRage.Math.dll
Implements:
Member | Description |
---|---|
Vector3 Center | The center point of the sphere. |
float Radius | The radius of the sphere. |
Member | Description |
---|---|
BoundingSphere(Vector3, float) |
Member | Description |
---|---|
static BoundingSphere CreateFromBoundingBox(BoundingBox) | Creates the smallest BoundingSphere that can contain a specified BoundingBox. |
static void CreateFromBoundingBox(ref BoundingBox, out BoundingSphere) | Creates the smallest BoundingSphere that can contain a specified BoundingBox. |
static BoundingSphere CreateFromFrustum(BoundingFrustum) | Creates the smallest BoundingSphere that can contain a specified BoundingFrustum. |
static BoundingSphere CreateFromPoints(IEnumerable) | Creates a BoundingSphere that can contain a specified list of points. |
static BoundingSphere CreateInvalid() | |
static BoundingSphere CreateMerged(BoundingSphere, BoundingSphere) | Creates a BoundingSphere that contains the two specified BoundingSphere instances. |
static void CreateMerged(ref BoundingSphere, ref BoundingSphere, out BoundingSphere) | Creates a BoundingSphere that contains the two specified BoundingSphere instances. |
static void Include(ref BoundingSphere, ref BoundingSphere) | |
ContainmentType Contains(BoundingBox) | Checks whether the current BoundingSphere contains the specified BoundingBox. |
void Contains(ref BoundingBox, out ContainmentType) | Checks whether the current BoundingSphere contains the specified BoundingBox. |
ContainmentType Contains(BoundingFrustum) | Checks whether the current BoundingSphere contains the specified BoundingFrustum. |
ContainmentType Contains(Vector3) | Checks whether the current BoundingSphere contains the specified point. |
void Contains(ref Vector3, out ContainmentType) | Checks whether the current BoundingSphere contains the specified point. |
ContainmentType Contains(BoundingSphere) | Checks whether the current BoundingSphere contains the specified BoundingSphere. |
void Contains(ref BoundingSphere, out ContainmentType) | Checks whether the current BoundingSphere contains the specified BoundingSphere. |
bool Equals(BoundingSphere) | Determines whether the specified BoundingSphere is equal to the current BoundingSphere. |
bool Equals(object) | Determines whether the specified Object is equal to the BoundingSphere. |
BoundingBox GetBoundingBox() | |
int GetHashCode() | Gets the hash code for this instance. |
BoundingSphere Include(BoundingSphere) | |
bool IntersectRaySphere(Ray, out float, out float) | |
bool Intersects(BoundingBox) | Checks whether the current BoundingSphere intersects with a specified BoundingBox. |
void Intersects(ref BoundingBox, out bool) | Checks whether the current BoundingSphere intersects a BoundingBox. |
bool Intersects(BoundingFrustum) | Checks whether the current BoundingSphere intersects with a specified BoundingFrustum. |
PlaneIntersectionType Intersects(Plane) | Checks whether the current BoundingSphere intersects with a specified Plane. |
void Intersects(ref Plane, out PlaneIntersectionType) | Checks whether the current BoundingSphere intersects a Plane. |
float? Intersects(Ray) | Checks whether the current BoundingSphere intersects with a specified Ray. |
void Intersects(ref Ray, out float?) | Checks whether the current BoundingSphere intersects a Ray. |
bool Intersects(BoundingSphere) | Checks whether the current BoundingSphere intersects with a specified BoundingSphere. |
void Intersects(ref BoundingSphere, out bool) | Checks whether the current BoundingSphere intersects another BoundingSphere. |
string ToString() | Returns a String that represents the current BoundingSphere. |
BoundingSphere Transform(Matrix) | Translates and scales the BoundingSphere using a given Matrix. |
void Transform(ref Matrix, out BoundingSphere) | Translates and scales the BoundingSphere using a given Matrix. |
BoundingSphere Translate(ref Vector3) |
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!