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

_Vector3D Center_ The center point of the sphere.
_double Radius_ The radius of the sphere.
### Methods
_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 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