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 21, 2018 · 51 revisions

Index

BoundingSphere Struct

Namespace: VRageMath
Assembly: VRage.Math.dll

Summary

Defines a sphere.

Fields

Member Description
VRageMath.Vector3 Center The center point of the sphere.
float Radius The radius of the sphere.

Methods

Member Description
bool Equals(VRageMath.BoundingSphere) Determines whether the specified BoundingSphere is equal to the current BoundingSphere.
bool Equals(System.Object) 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 VRageMath.BoundingSphere CreateMerged(VRageMath.BoundingSphere, VRageMath.BoundingSphere) Creates a BoundingSphere that contains the two specified BoundingSphere instances.
static void CreateMerged(ref VRageMath.BoundingSphere, ref VRageMath.BoundingSphere, ref VRageMath.BoundingSphere) Creates a BoundingSphere that contains the two specified BoundingSphere instances.
static VRageMath.BoundingSphere CreateFromBoundingBox(VRageMath.BoundingBox) Creates the smallest BoundingSphere that can contain a specified BoundingBox.
static void CreateFromBoundingBox(ref VRageMath.BoundingBox, ref VRageMath.BoundingSphere) Creates the smallest BoundingSphere that can contain a specified BoundingBox.
static VRageMath.BoundingSphere CreateFromPoints(IEnumerable<VRageMath.Vector3>) Creates a BoundingSphere that can contain a specified list of points.
static VRageMath.BoundingSphere CreateFromFrustum(VRageMath.BoundingFrustum) Creates the smallest BoundingSphere that can contain a specified BoundingFrustum.
bool Intersects(VRageMath.BoundingBox) Checks whether the current BoundingSphere intersects with a specified BoundingBox.
void Intersects(ref VRageMath.BoundingBox, ref bool) Checks whether the current BoundingSphere intersects a BoundingBox.
bool Intersects(VRageMath.BoundingFrustum) Checks whether the current BoundingSphere intersects with a specified BoundingFrustum.
VRageMath.PlaneIntersectionType Intersects(VRageMath.Plane) Checks whether the current BoundingSphere intersects with a specified Plane.
void Intersects(ref VRageMath.Plane, ref VRageMath.PlaneIntersectionType) Checks whether the current BoundingSphere intersects a Plane.
Nullable<System.Single> Intersects(VRageMath.Ray) Checks whether the current BoundingSphere intersects with a specified Ray.
void Intersects(ref VRageMath.Ray, ref Nullable<System.Single>) Checks whether the current BoundingSphere intersects a Ray.
bool Intersects(VRageMath.BoundingSphere) Checks whether the current BoundingSphere intersects with a specified BoundingSphere.
void Intersects(ref VRageMath.BoundingSphere, ref bool) Checks whether the current BoundingSphere intersects another BoundingSphere.
VRageMath.ContainmentType Contains(VRageMath.BoundingBox) Checks whether the current BoundingSphere contains the specified BoundingBox.
void Contains(ref VRageMath.BoundingBox, ref VRageMath.ContainmentType) Checks whether the current BoundingSphere contains the specified BoundingBox.
VRageMath.ContainmentType Contains(VRageMath.BoundingFrustum) Checks whether the current BoundingSphere contains the specified BoundingFrustum.
VRageMath.ContainmentType Contains(VRageMath.Vector3) Checks whether the current BoundingSphere contains the specified point.
void Contains(ref VRageMath.Vector3, ref VRageMath.ContainmentType) Checks whether the current BoundingSphere contains the specified point.
VRageMath.ContainmentType Contains(VRageMath.BoundingSphere) Checks whether the current BoundingSphere contains the specified BoundingSphere.
void Contains(ref VRageMath.BoundingSphere, ref VRageMath.ContainmentType) Checks whether the current BoundingSphere contains the specified BoundingSphere.
VRageMath.BoundingSphere Transform(VRageMath.Matrix) Translates and scales the BoundingSphere using a given Matrix.
void Transform(ref VRageMath.Matrix, ref VRageMath.BoundingSphere) Translates and scales the BoundingSphere using a given Matrix.
VRageMath.BoundingSphere Translate(ref VRageMath.Vector3)
bool IntersectRaySphere(VRageMath.Ray, ref float, ref float)
VRageMath.BoundingSphere Include(VRageMath.BoundingSphere)
static void Include(ref VRageMath.BoundingSphere, ref VRageMath.BoundingSphere)
static VRageMath.BoundingSphere CreateInvalid()

Clone this wiki locally