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> Intersects(RayD ray)
bool Intersects(BoundingFrustumD frustum) Checks whether the current BoundingSphereD intersects with a specified BoundingFrustum.
bool Intersects(BoundingSphereD sphere) Checks whether the current BoundingSphereD intersects with a specified BoundingSphereD.
void Intersects(ref BoundingSphereD sphere, ref bool result) Checks whether the current BoundingSphereD intersects another BoundingSphereD.
ContainmentType Contains(BoundingBoxD box) Checks whether the current BoundingSphereD contains the specified BoundingBoxD.
void Contains(ref BoundingBoxD box, ref ContainmentType result) Checks whether the current BoundingSphereD contains the specified BoundingBoxD.
ContainmentType Contains(BoundingFrustumD frustum) Checks whether the current BoundingSphereD contains the specified BoundingFrustum.
ContainmentType Contains(Vector3D point) Checks whether the current BoundingSphereD contains the specified point.
void Contains(ref Vector3D point, ref ContainmentType result) Checks whether the current BoundingSphereD contains the specified point.
ContainmentType Contains(BoundingSphereD sphere) Checks whether the current BoundingSphereD contains the specified BoundingSphereD.
void Contains(ref BoundingSphereD sphere, ref ContainmentType result) Checks whether the current BoundingSphereD contains the specified BoundingSphereD.
BoundingSphereD Transform(MatrixD matrix) Translates and scales the BoundingSphereD using a given Matrix.
void Transform(ref MatrixD matrix, ref BoundingSphereD result) Translates and scales the BoundingSphereD using a given Matrix.
bool IntersectRaySphere(RayD ray, ref double tmin, ref double tmax)
BoundingSphereD Include(BoundingSphereD sphere)
static void Include(ref BoundingSphereD sphere, ref BoundingSphereD otherSphere)
static BoundingSphereD CreateInvalid()

Clone this wiki locally