-
Notifications
You must be signed in to change notification settings - Fork 123
VRageMath.BoundingBoxD
← Index ← Namespace Index
public struct BoundingBoxD: IEquatable<BoundingBoxD>Defines an axis-aligned box-shaped 3D volume.
Namespace: VRageMath
Assembly: VRage.Math.dll
Implements:
The maximum point the BoundingBox contains.
The minimum point the BoundingBox contains.
Calculates center
Matrix of AABB, respecting center and size
return perimeter of edges
Size
BoundingBoxD(Vector3D, Vector3D)
static BoundingBoxD CreateFromPoints(IEnumerable<Vector3D>)
Creates the smallest BoundingBox that will contain a group of points.
static BoundingBoxD CreateFromSphere(BoundingSphereD)
Creates the smallest BoundingBox that will contain the specified BoundingSphere.
static void CreateFromSphere(ref BoundingSphereD, out BoundingBoxD)
Creates the smallest BoundingBox that will contain the specified BoundingSphere.
static BoundingBoxD CreateInvalid()
static BoundingBoxD CreateMerged(BoundingBoxD, BoundingBoxD)
Creates the smallest BoundingBox that contains the two specified BoundingBox instances.
static void CreateMerged(ref BoundingBoxD, ref BoundingBoxD, out BoundingBoxD)
Creates the smallest BoundingBox that contains the two specified BoundingBox instances.
ContainmentType Contains(BoundingBoxD)
Tests whether the BoundingBox contains another BoundingBox.
void Contains(ref BoundingBoxD, out ContainmentType)
Tests whether the BoundingBox contains a BoundingBox.
ContainmentType Contains(BoundingFrustumD)
Tests whether the BoundingBox contains a BoundingFrustum.
ContainmentType Contains(Vector3D)
Tests whether the BoundingBox contains a point.
void Contains(ref Vector3D, out ContainmentType)
Tests whether the BoundingBox contains a point.
ContainmentType Contains(BoundingSphereD)
Tests whether the BoundingBox contains a BoundingSphere.
void Contains(ref BoundingSphereD, out ContainmentType)
Tests whether the BoundingBox contains a BoundingSphere.
double Distance(ref BoundingBoxD)
double DistanceSquared(Vector3D)
double DistanceSquared(ref Vector3D)
double DistanceSquared(ref BoundingBoxD)
Determines whether two instances of BoundingBox are equal.
Determines whether two instances of BoundingBox are equal.
bool Equals(BoundingBoxD, double)
Gets an array of points that make up the corners of the BoundingBox. ALLOCATION!
void GetCorners(Vector3D[])
Gets the array of points that make up the corners of the BoundingBox.
void GetCornersUnsafe(*Vector3D)
Gets the hash code for this instance.
BoundingBoxD GetInflated(double)
BoundingBoxD GetInflated(Vector3)
BoundingBoxD GetInflated(Vector3D)
BoundingBoxD Include(ref Vector3D)
return expanded aabb (aabb include point)
BoundingBoxD Include(Vector3D)
BoundingBoxD Include(Vector3D, Vector3D, Vector3D)
BoundingBoxD Include(ref Vector3D, ref Vector3D, ref Vector3D)
BoundingBoxD Include(ref BoundingBoxD)
return expanded aabb (aabb include aabb)
BoundingBoxD Include(BoundingBoxD)
BoundingBoxD Include(BoundingSphereD)
BoundingBoxD Include(ref BoundingSphereD)
BoundingBoxD Include(ref BoundingFrustumD)
BoundingBoxD Inflate(Vector3D)
void InflateToMinimum(Vector3D)
BoundingBoxD Intersect(BoundingBoxD)
Returns bounding box which is intersection of this and box Result is invalid box when there's no intersection (Min > Max)
bool Intersect(ref LineD, out LineD)
bool Intersect(ref LineD, out double, out double)
bool Intersect(ref RayD, out double, out double)
Checks whether the current BoundingBox intersects another BoundingBox.
bool Intersects(ref BoundingBoxD)
void Intersects(ref BoundingBoxD, out bool)
Checks whether the current BoundingBox intersects another BoundingBox.
void Intersects(ref BoundingBox, out bool)
bool Intersects(BoundingFrustumD)
Checks whether the current BoundingBox intersects a BoundingFrustum.
PlaneIntersectionType Intersects(PlaneD)
Checks whether the current BoundingBox intersects a Plane.
void Intersects(ref PlaneD, out PlaneIntersectionType)
Checks whether the current BoundingBox intersects a Plane.
bool Intersects(ref LineD, out double)
Checks whether the current BoundingBox intersects a Ray.
void Intersects(ref RayD, out double?)
Checks whether the current BoundingBox intersects a Ray.
bool Intersects(BoundingSphereD)
Checks whether the current BoundingBox intersects a BoundingSphere.
void Intersects(ref BoundingSphereD, out bool)
Checks whether the current BoundingBox intersects a BoundingSphere.
bool Intersects(ref BoundingSphereD)
bool IntersectsTriangle(Vector3D, Vector3D, Vector3D)
bool IntersectsTriangle(ref Vector3D, ref Vector3D, ref Vector3D)
double ProjectedArea(Vector3D)
Returns a String that represents the current BoundingBox.
BoundingBoxD TransformFast(MatrixD)
Transform this AABB by matrix. Matrix has to be only rotation and translation.
BoundingBoxD TransformFast(ref MatrixD)
Transform this AABB by matrix. Matrix has to be only rotation and translation.
void TransformFast(ref MatrixD, ref BoundingBoxD)
Transform this AABB by matrix. Matrix has to be only rotation and translation.
BoundingBoxD TransformSlow(MatrixD)
Transform this AABB by matrix.
BoundingBoxD TransformSlow(ref MatrixD)
Transform this AABB by matrix.
BoundingBoxD Translate(MatrixD)
Translate
BoundingBoxD Translate(Vector3D)
Translate
Do you have questions, comments, suggestions for improvements? Is there something I can do better? Did I make a mistake? Please add an issue here, and prefix your issue title with Wiki. Thank you, your help will be very appreciated!