This repository was archived by the owner on Dec 13, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 123
VRageMath.BoundingBox2D
Morten Aune Lyrstad edited this page Apr 16, 2022
·
53 revisions
← Index ← Namespace Index
public struct BoundingBox2D: IEquatableDefines an axis-aligned box-shaped 2D volume.
Namespace: VRageMath
Assembly: VRage.Math.dll
Implements:
| Member | Description |
|---|---|
| static int CornerCount | Specifies the total number of corners (8) in the BoundingBox2D. |
| Vector2D Max | The maximum point the BoundingBox2D contains. |
| Vector2D Min | The minimum point the BoundingBox2D contains. |
| Member | Description |
|---|---|
| Vector2D Center { get; } | Calculates center |
| Vector2D Extents { get; } | |
| Vector2D HalfExtents { get; } | |
| double Height { get; } | |
| Vector2D Size { get; } | Size |
| double Width { get; } |
| Member | Description |
|---|---|
| BoundingBox2D(Vector2D, Vector2D) |
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!