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
double Radius

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()
string ToString()
BoundingSphereD CreateMerged(BoundingSphereD original, BoundingSphereD additional)
void CreateMerged(ref BoundingSphereD original, ref BoundingSphereD additional, ref BoundingSphereD result)
BoundingSphereD CreateFromBoundingBox(BoundingBoxD box) Creates the smallest BoundingSphereD that can contain a specified BoundingBoxD.
void CreateFromBoundingBox(ref BoundingBoxD box, ref BoundingSphereD result)
BoundingSphereD CreateFromPoints(Vector3D[] points) Creates a BoundingSphereD that can contain a specified list of points.
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)
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)
ContainmentType Contains(BoundingBoxD box) Checks whether the current BoundingSphereD contains the specified BoundingBoxD.
void Contains(ref BoundingBoxD box, ref ContainmentType result)
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)
ContainmentType Contains(BoundingSphereD sphere) Checks whether the current BoundingSphereD contains the specified BoundingSphereD.
void Contains(ref BoundingSphereD sphere, ref ContainmentType result)
BoundingSphereD Transform(MatrixD matrix) Translates and scales the BoundingSphereD using a given Matrix.
void Transform(ref MatrixD matrix, ref BoundingSphereD result)
bool IntersectRaySphere(RayD ray, ref double tmin, ref double tmax)
BoundingSphereD Include(BoundingSphereD sphere)
void Include(ref BoundingSphereD sphere, ref BoundingSphereD otherSphere)
BoundingSphereD CreateInvalid()

Clone this wiki locally