A 2d bounding box represeted by integers.
More...
A 2d bounding box represeted by integers.
Definition at line 12 of file BBox2i.cs.
◆ BBox2i() [1/2]
Initializes a new instance of the BBox2i struct.
- Parameters
-
min | A minimum bound. |
max | A maximum bound. |
Definition at line 29 of file BBox2i.cs.
◆ BBox2i() [2/2]
SharpNav.Geometry.BBox2i.BBox2i |
( |
int |
minX, |
|
|
int |
minY, |
|
|
int |
maxX, |
|
|
int |
maxY |
|
) |
| |
Initializes a new instance of the BBox2i struct.
- Parameters
-
minX | The minimum X bound. |
minY | The minimum Y bound. |
maxX | The maximum X bound. |
maxY | The maximum Y bound. |
Definition at line 42 of file BBox2i.cs.
◆ Equals() [1/2]
bool SharpNav.Geometry.BBox2i.Equals |
( |
BBox2i |
other | ) |
|
Checks for equality between this instance and a specified instance of BBox2i.
- Parameters
-
- Returns
- A value indicating whether this instance and the other instance are equal.
Definition at line 110 of file BBox2i.cs.
◆ Equals() [2/2]
override bool SharpNav.Geometry.BBox2i.Equals |
( |
object |
obj | ) |
|
Checks for equality between this instance and a specified object.
- Parameters
-
- Returns
- A value indicating whether this instance and the object are equal.
Definition at line 96 of file BBox2i.cs.
◆ GetHashCode()
override int SharpNav.Geometry.BBox2i.GetHashCode |
( |
| ) |
|
Gets a unique hash code for this instance.
- Returns
- A hash code.
Definition at line 85 of file BBox2i.cs.
◆ operator!=()
static bool SharpNav.Geometry.BBox2i.operator!= |
( |
BBox2i |
left, |
|
|
BBox2i |
right |
|
) |
| |
|
static |
Compares two instances of BBox2i for inequality.
- Parameters
-
- Returns
- A value indicating whether the two instances are unequal.
Definition at line 67 of file BBox2i.cs.
◆ operator==()
static bool SharpNav.Geometry.BBox2i.operator== |
( |
BBox2i |
left, |
|
|
BBox2i |
right |
|
) |
| |
|
static |
Compares two instances of BBox2i for equality.
- Parameters
-
- Returns
- A value indicating whether the two instances are equal.
Definition at line 56 of file BBox2i.cs.
◆ ToString()
override string SharpNav.Geometry.BBox2i.ToString |
( |
| ) |
|
Turns the instance into a human-readable string.
- Returns
- A string representing the instance.
Definition at line 76 of file BBox2i.cs.
◆ Max
The maximum of the bounding box.
Definition at line 22 of file BBox2i.cs.
◆ Min
The minimum of the bounding box.
Definition at line 17 of file BBox2i.cs.
The documentation for this struct was generated from the following file:
- C:/gamedev/unity/DA20.1X/Assets/CodeRespawn/DungeonArchitect/ThirdParty/SharpNav/Geometry/BBox2i.cs