This repository has been archived by the owner on Oct 22, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 125
VRageMath.BoundingBox
Morten Aune Lyrstad edited this page Apr 16, 2022
·
55 revisions
← Index ← Namespace Index
public struct BoundingBox: IEquatable<BoundingBox>
Defines an axis-aligned box-shaped 3D volume.
Namespace: VRageMath
Assembly: VRage.Math.dll
Implements:
Member | Description |
---|---|
static ComparerType Comparer | |
static int CornerCount | Specifies the total number of corners (8) in the BoundingBox. |
static BoundingBox Invalid | |
Vector3 Max | The maximum point the BoundingBox contains. |
Vector3 Min | The minimum point the BoundingBox contains. |
Member | Description |
---|---|
Vector3 Center { get; } | Calculates center |
BoxCornerEnumerator Corners { get; set; } | |
float Depth { get; } | |
Vector3 Extents { get; } | |
Vector3 HalfExtents { get; } | |
float Height { get; } | |
Matrix Matrix { get; } | Matrix of AABB, respecting center and size |
float Perimeter { get; } | return perimeter of edges |
Vector3 Size { get; } | Size |
float Width { get; } |
Member | Description |
---|---|
BoundingBox(Vector3, Vector3) | |
BoundingBox(BoundingBoxD) | |
BoundingBox(BoundingBoxI) |
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!