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
Vector3 Center
float Radius

Methods

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()
string ToString()
BoundingSphere CreateMerged(BoundingSphere original, BoundingSphere additional)
void CreateMerged(ref BoundingSphere original, ref BoundingSphere additional, ref BoundingSphere result)
BoundingSphere CreateFromBoundingBox(BoundingBox box) Creates the smallest BoundingSphere that can contain a specified BoundingBox.
void CreateFromBoundingBox(ref BoundingBox box, ref BoundingSphere result)
BoundingSphere CreateFromPoints(IEnumerable<Vector3> points) Creates a BoundingSphere that can contain a specified list of points.
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)
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)
Nullable<float> Intersects(Ray ray) Checks whether the current BoundingSphere intersects with a specified Ray.
void Intersects(ref Ray ray, ref Nullable<float> result)
bool Intersects(BoundingSphere sphere) Checks whether the current BoundingSphere intersects with a specified BoundingSphere.
void Intersects(ref BoundingSphere sphere, ref bool result)
ContainmentType Contains(BoundingBox box) Checks whether the current BoundingSphere contains the specified BoundingBox.
void Contains(ref BoundingBox box, ref ContainmentType result)
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)
ContainmentType Contains(BoundingSphere sphere) Checks whether the current BoundingSphere contains the specified BoundingSphere.
void Contains(ref BoundingSphere sphere, ref ContainmentType result)
BoundingSphere Transform(Matrix matrix) Translates and scales the BoundingSphere using a given Matrix.
void Transform(ref Matrix matrix, ref BoundingSphere result)
BoundingSphere Translate(ref Vector3 translation)
bool IntersectRaySphere(Ray ray, ref float tmin, ref float tmax)
BoundingSphere Include(BoundingSphere sphere)
void Include(ref BoundingSphere sphere, ref BoundingSphere otherSphere)
BoundingSphere CreateInvalid()

Clone this wiki locally