![]() |
Dungeon Architect
17.0.0
|
A bounding box for vertices in a PolyMesh. More...
Public Member Functions | |
| PolyBounds (PolyVertex min, PolyVertex max) | |
| Initializes a new instance of the PolyBounds struct. More... | |
| bool | Equals (PolyBounds other) |
| Compares another PolyBounds instance with this instance for equality. More... | |
| override bool | Equals (object obj) |
| Compares another object with this instance for equality. More... | |
| override int | GetHashCode () |
| Calculates a hash code unique to the contents of this instance. More... | |
| override string | ToString () |
| Creates a human-readable string with the contents of this instance. More... | |
Static Public Member Functions | |
| static bool | Overlapping (ref PolyBounds a, ref PolyBounds b) |
| Checks whether two boudning boxes are intersecting. More... | |
| static bool | operator== (PolyBounds left, PolyBounds right) |
| Compares two PolyBounds instances for equality. More... | |
| static bool | operator!= (PolyBounds left, PolyBounds right) |
| Compares two PolyBounds instances for inequality. More... | |
Public Attributes | |
| PolyVertex | Min |
| The lower bound of the bounding box. More... | |
| PolyVertex | Max |
| The upper bound of the bounding box. More... | |
A bounding box for vertices in a PolyMesh.
Definition at line 13 of file PolyBounds.cs.
| SharpNav.PolyBounds.PolyBounds | ( | PolyVertex | min, |
| PolyVertex | max | ||
| ) |
Initializes a new instance of the PolyBounds struct.
| min | The lower bound of the bounding box. |
| max | The upper bound of the bounding box. |
Definition at line 30 of file PolyBounds.cs.
| override bool SharpNav.PolyBounds.Equals | ( | object | obj | ) |
Compares another object with this instance for equality.
| obj | An object. |
Definition at line 86 of file PolyBounds.cs.
| bool SharpNav.PolyBounds.Equals | ( | PolyBounds | other | ) |
Compares another PolyBounds instance with this instance for equality.
| other | A bounding box. |
Definition at line 76 of file PolyBounds.cs.
| override int SharpNav.PolyBounds.GetHashCode | ( | ) |
Calculates a hash code unique to the contents of this instance.
Definition at line 99 of file PolyBounds.cs.
|
static |
Compares two PolyBounds instances for inequality.
| left | A bounding box. |
| right | Another bounding box. |
Definition at line 66 of file PolyBounds.cs.
|
static |
Compares two PolyBounds instances for equality.
| left | A bounding box. |
| right | Another bounding box. |
Definition at line 55 of file PolyBounds.cs.
|
static |
Checks whether two boudning boxes are intersecting.
| a | The first bounding box. |
| b | The second bounding box. |
Definition at line 42 of file PolyBounds.cs.
| override string SharpNav.PolyBounds.ToString | ( | ) |
Creates a human-readable string with the contents of this instance.
Definition at line 109 of file PolyBounds.cs.
| PolyVertex SharpNav.PolyBounds.Max |
The upper bound of the bounding box.
Definition at line 23 of file PolyBounds.cs.
| PolyVertex SharpNav.PolyBounds.Min |
The lower bound of the bounding box.
Definition at line 18 of file PolyBounds.cs.