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

VRageMath.BoundingSphereD

Malware edited this page Dec 21, 2018 · 55 revisions

Index

BoundingSphereD Struct

Namespace: VRageMath
Assembly: VRage.Math.dll

Summary

Defines a sphere.

Fields

Member Description
Vector3D Center The center point of the sphere.
double Radius The radius of the sphere.

Methods

Member Description
bool Equals(BoundingSphereD other) Determines whether the specified BoundingSphereD is equal to the current BoundingSphereD.
bool Equals(Object obj) Determines whether the specified Object is equal to the BoundingSphereD.
int GetHashCode() Gets the hash code for this instance.
string ToString() Returns a String that represents the current BoundingSphereD.
static BoundingSphereD CreateMerged(BoundingSphereD original, BoundingSphereD additional) Creates a BoundingSphereD that contains the two specified BoundingSphereD instances.
static void CreateMerged(ref BoundingSphereD original, ref BoundingSphereD additional, ref BoundingSphereD result) Creates a BoundingSphereD that contains the two specified BoundingSphereD instances.
static BoundingSphereD CreateFromBoundingBox(BoundingBoxD box) Creates the smallest BoundingSphereD that can contain a specified BoundingBoxD.
static void CreateFromBoundingBox(ref BoundingBoxD box, ref BoundingSphereD result) Creates the smallest BoundingSphereD that can contain a specified BoundingBoxD.
static BoundingSphereD CreateFromPoints(Vector3D[] points) Creates a BoundingSphereD that can contain a specified list of points.
static BoundingSphereD CreateFromFrustum(BoundingFrustumD frustum) Creates the smallest BoundingSphereD that can contain a specified BoundingFrustum.
bool Intersects(BoundingBoxD box) Checks whether the current BoundingSphereD intersects with a specified BoundingBoxD.
void Intersects(ref BoundingBoxD box, ref bool result) Checks whether the current BoundingSphereD intersects a BoundingBoxD.
Nullable<double>&nbsp;Intersects(RayD&nbsp;ray)
bool&nbsp;Intersects(BoundingFrustumD&nbsp;frustum) Checks whether the current BoundingSphereD intersects with a specified BoundingFrustum.
bool&nbsp;Intersects(BoundingSphereD&nbsp;sphere) Checks whether the current BoundingSphereD intersects with a specified BoundingSphereD.
void&nbsp;Intersects(ref&nbsp;BoundingSphereD&nbsp;sphere,&nbsp;ref&nbsp;bool&nbsp;result) Checks whether the current BoundingSphereD intersects another BoundingSphereD.
ContainmentType&nbsp;Contains(BoundingBoxD&nbsp;box) Checks whether the current BoundingSphereD contains the specified BoundingBoxD.
void&nbsp;Contains(ref&nbsp;BoundingBoxD&nbsp;box,&nbsp;ref&nbsp;ContainmentType&nbsp;result) Checks whether the current BoundingSphereD contains the specified BoundingBoxD.
ContainmentType&nbsp;Contains(BoundingFrustumD&nbsp;frustum) Checks whether the current BoundingSphereD contains the specified BoundingFrustum.
ContainmentType&nbsp;Contains(Vector3D&nbsp;point) Checks whether the current BoundingSphereD contains the specified point.
void&nbsp;Contains(ref&nbsp;Vector3D&nbsp;point,&nbsp;ref&nbsp;ContainmentType&nbsp;result) Checks whether the current BoundingSphereD contains the specified point.
ContainmentType&nbsp;Contains(BoundingSphereD&nbsp;sphere) Checks whether the current BoundingSphereD contains the specified BoundingSphereD.
void&nbsp;Contains(ref&nbsp;BoundingSphereD&nbsp;sphere,&nbsp;ref&nbsp;ContainmentType&nbsp;result) Checks whether the current BoundingSphereD contains the specified BoundingSphereD.
BoundingSphereD&nbsp;Transform(MatrixD&nbsp;matrix) Translates and scales the BoundingSphereD using a given Matrix.
void&nbsp;Transform(ref&nbsp;MatrixD&nbsp;matrix,&nbsp;ref&nbsp;BoundingSphereD&nbsp;result) Translates and scales the BoundingSphereD using a given Matrix.
bool&nbsp;IntersectRaySphere(RayD&nbsp;ray,&nbsp;ref&nbsp;double&nbsp;tmin,&nbsp;ref&nbsp;double&nbsp;tmax)
BoundingSphereD&nbsp;Include(BoundingSphereD&nbsp;sphere)
static void&nbsp;Include(ref&nbsp;BoundingSphereD&nbsp;sphere,&nbsp;ref&nbsp;BoundingSphereD&nbsp;otherSphere)
static BoundingSphereD&nbsp;CreateInvalid()

Clone this wiki locally