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

VRageMath.BoundingBoxD

Malware edited this page Dec 21, 2018 · 56 revisions

Index

BoundingBoxD Struct

Namespace: VRageMath
Assembly: VRage.Math.dll

Summary

Defines an axis-aligned box-shaped 3D volume.

Fields

Member Description
VRageMath.Vector3D Min The minimum point the BoundingBox contains.
VRageMath.Vector3D Max The maximum point the BoundingBox contains.
static VRageMath.ComparerType Comparer
static int CornerCount Specifies the total number of corners (8) in the BoundingBox.

Properties

Member Description
VRageMath.Vector3D Center Calculates center
VRageMath.Vector3D HalfExtents
VRageMath.Vector3D Extents
VRageMath.Vector3D Size Size
VRageMath.MatrixD Matrix Matrix of AABB, respection center and size
double SurfaceArea
double Volume
double Perimeter return perimeter of edges
bool Valid

Methods

Member Description
VRageMath.Vector3D[] GetCorners() Gets an array of points that make up the corners of the BoundingBox. ALLOCATION!
void GetCorners(VRageMath.Vector3D[]) Gets the array of points that make up the corners of the BoundingBox.
void GetCornersUnsafe(*VRageMath.Vector3D)
bool Equals(VRageMath.BoundingBoxD) Determines whether two instances of BoundingBox are equal.
bool Equals(System.Object) Determines whether two instances of BoundingBox are equal.
int GetHashCode() Gets the hash code for this instance.
string ToString() Returns a String that represents the current BoundingBox.
static VRageMath.BoundingBoxD CreateMerged(VRageMath.BoundingBoxD, VRageMath.BoundingBoxD) Creates the smallest BoundingBox that contains the two specified BoundingBox instances.
static void CreateMerged(ref VRageMath.BoundingBoxD, ref VRageMath.BoundingBoxD, ref VRageMath.BoundingBoxD) Creates the smallest BoundingBox that contains the two specified BoundingBox instances.
static VRageMath.BoundingBoxD CreateFromSphere(VRageMath.BoundingSphereD) Creates the smallest BoundingBox that will contain the specified BoundingSphere.
static void CreateFromSphere(ref VRageMath.BoundingSphereD, ref VRageMath.BoundingBoxD) Creates the smallest BoundingBox that will contain the specified BoundingSphere.
static VRageMath.BoundingBoxD CreateFromPoints(IEnumerable<VRageMath.Vector3D>) Creates the smallest BoundingBox that will contain a group of points.
VRageMath.BoundingBoxD Intersect(VRageMath.BoundingBoxD) Returns bounding box which is intersection of this and box It's called 'Prunik' Result is invalid box when there's no intersection (Min > Max)
bool Intersects(VRageMath.BoundingBoxD) Checks whether the current BoundingBox intersects another BoundingBox.
bool Intersects(ref VRageMath.BoundingBoxD)
void Intersects(ref VRageMath.BoundingBoxD, ref bool) Checks whether the current BoundingBox intersects another BoundingBox.
void Intersects(ref VRageMath.BoundingBox, ref bool)
bool IntersectsTriangle(VRageMath.Vector3D, VRageMath.Vector3D, VRageMath.Vector3D)
bool IntersectsTriangle(ref VRageMath.Vector3D, ref VRageMath.Vector3D, ref VRageMath.Vector3D)
bool Intersects(VRageMath.BoundingFrustumD) Checks whether the current BoundingBox intersects a BoundingFrustum.
VRageMath.PlaneIntersectionType Intersects(VRageMath.PlaneD) Checks whether the current BoundingBox intersects a Plane.
void Intersects(ref VRageMath.PlaneD, ref VRageMath.PlaneIntersectionType) Checks whether the current BoundingBox intersects a Plane.
bool Intersects(ref VRageMath.LineD)
bool Intersects(ref VRageMath.LineD, ref double)
Nullable<System.Double> Intersects(VRageMath.Ray)
Nullable<System.Double> Intersects(VRageMath.RayD) Checks whether the current BoundingBox intersects a Ray.
void Intersects(ref VRageMath.RayD, ref Nullable<System.Double>) Checks whether the current BoundingBox intersects a Ray.
bool Intersect(ref VRageMath.LineD, ref VRageMath.LineD)
bool Intersect(ref VRageMath.LineD, ref double, ref double)
bool Intersect(ref VRageMath.RayD, ref double, ref double)
bool Intersects(VRageMath.BoundingSphereD) Checks whether the current BoundingBox intersects a BoundingSphere.
void Intersects(ref VRageMath.BoundingSphereD, ref bool) Checks whether the current BoundingBox intersects a BoundingSphere.
bool Intersects(ref VRageMath.BoundingSphereD)
double Distance(VRageMath.Vector3D)
double DistanceSquared(VRageMath.Vector3D)
double DistanceSquared(ref VRageMath.Vector3D)
VRageMath.ContainmentType Contains(VRageMath.BoundingBoxD) Tests whether the BoundingBox contains another BoundingBox.
void Contains(ref VRageMath.BoundingBoxD, ref VRageMath.ContainmentType) Tests whether the BoundingBox contains a BoundingBox.
VRageMath.ContainmentType Contains(VRageMath.BoundingFrustumD) Tests whether the BoundingBox contains a BoundingFrustum.
VRageMath.ContainmentType Contains(VRageMath.Vector3D) Tests whether the BoundingBox contains a point.
void Contains(ref VRageMath.Vector3D, ref VRageMath.ContainmentType) Tests whether the BoundingBox contains a point.
VRageMath.ContainmentType Contains(VRageMath.BoundingSphereD) Tests whether the BoundingBox contains a BoundingSphere.
void Contains(ref VRageMath.BoundingSphereD, ref VRageMath.ContainmentType) Tests whether the BoundingBox contains a BoundingSphere.
VRageMath.BoundingBoxD Translate(VRageMath.MatrixD) Translate
VRageMath.BoundingBoxD Translate(VRageMath.Vector3D) Translate
VRageMath.BoundingBoxD TransformSlow(VRageMath.MatrixD) Transform this AABB by matrix.
VRageMath.BoundingBoxD TransformSlow(ref VRageMath.MatrixD) Transform this AABB by matrix.
VRageMath.BoundingBoxD TransformFast(VRageMath.MatrixD) Transform this AABB by matrix. Matrix has to be only rotation and translation.
VRageMath.BoundingBoxD TransformFast(ref VRageMath.MatrixD) Transform this AABB by matrix. Matrix has to be only rotation and translation.
void TransformFast(ref VRageMath.MatrixD, ref VRageMath.BoundingBoxD) Transform this AABB by matrix. Matrix has to be only rotation and translation.
VRageMath.BoundingBoxD Include(ref VRageMath.Vector3D) return expanded aabb (aabb include point)
VRageMath.BoundingBoxD Include(VRageMath.Vector3D)
VRageMath.BoundingBoxD Include(VRageMath.Vector3D, VRageMath.Vector3D, VRageMath.Vector3D)
VRageMath.BoundingBoxD Include(ref VRageMath.Vector3D, ref VRageMath.Vector3D, ref VRageMath.Vector3D)
VRageMath.BoundingBoxD Include(ref VRageMath.BoundingBoxD) return expanded aabb (aabb include aabb)
VRageMath.BoundingBoxD Include(VRageMath.BoundingBoxD)
void Include(ref VRageMath.LineD)
VRageMath.BoundingBoxD Include(VRageMath.BoundingSphereD)
VRageMath.BoundingBoxD Include(ref VRageMath.BoundingSphereD)
VRageMath.BoundingBoxD Include(ref VRageMath.BoundingFrustumD)
static VRageMath.BoundingBoxD CreateInvalid()
double ProjectedArea(VRageMath.Vector3D)
VRageMath.BoundingBoxD Inflate(double)
VRageMath.BoundingBoxD Inflate(VRageMath.Vector3)
VRageMath.BoundingBoxD GetInflated(double)
VRageMath.BoundingBoxD GetInflated(VRageMath.Vector3)
void InflateToMinimum(VRageMath.Vector3D)
void InflateToMinimum(double)
void AssertIsValid()

Clone this wiki locally