Property | Type | Description | |
---|---|---|---|
Max | Vector4i | ||
Min | Vector4i | ||
Zero | Box4i |
Method | Description | |
---|---|---|
Box4i ( |
Create a Box4i by providing minimum and maximum extents.
|
|
Box4i ( Vector4i min, Vector4i max ) : System |
Create a Box4i by providing minimum and maximum extents.
|
|
Distance ( Vector4i point ) : double |
Get the closest distance between this Box4i and the Vector4i.
|
|
Intersect ( Vector4i point ) : Containment |
Get the intersection type between this box and the point.
|
|
NearestPointTo ( Vector4i point ) : Vector4i |
Get the nearest point between this Box4i and a Vector4i. If the Vector4i is inside this Box4i, it is returned untouched.
|
|
NearestPointTo ( Vector4i &point, Vector4i &result ) : void |
Get the nearest point between this Box4i and a Vector4i. If the Vector4i is inside this Box4i, it is returned untouched.
|
|
Overlaps ( Vector4i point ) : bool |
Get whether this Box4i inclusively intersects with the Vector4i.
|
|
Random ( |
Get a random position within the box.
|
|
Random ( |
Get a random position within the box.
|
|
Relative ( |
Create a Box4i by providing the minimum extent and the size of each side.
|
|
Relative ( Vector4i min, Vector4i size ) : |
Create a Box4i by providing the minimum extent and the size of each side.
|
|
Relative ( |
Create a Box4i by providing the minimum extent and the size of each side.
|
|
Relative ( Vector4i min, Vector4i size, Box4i &result ) : void |
Create a Box4i by providing the minimum extent and the size of each side.
|
|
ToString ( ) : string |
Convert to a string representation of the Box4i.
|
|
ToString ( string format, IFormatProvider provider ) : string |
Convert to a string representation of the Box4i.
|
public Box4i ( |
||
minX | ||
minY | ||
minZ | ||
minW | ||
maxX | ||
maxY | ||
maxZ | ||
maxW | ||
return | System |
public Box4i ( Vector4i min, Vector4i max ) : System | ||
min | Vector4i | |
max | Vector4i | |
return | System |
public Intersect ( Vector4i point ) : Containment | ||
point | Vector4i | |
return | Containment |
public NearestPointTo ( Vector4i point ) : Vector4i | ||
point | Vector4i | |
return | Vector4i |
public NearestPointTo ( Vector4i &point, Vector4i &result ) : void | ||
point | Vector4i | |
result | Vector4i | |
return | void |
public Random ( |
||
rng | ||
result | Vector4i | |
return | void |
public static Relative ( |
||
minX | ||
minY | ||
minZ | ||
minW | ||
sizeX | ||
sizeY | ||
sizeZ | ||
sizeW | ||
return |
public static Relative ( Vector4i min, Vector4i size ) : |
||
min | Vector4i | |
size | Vector4i | |
return |
public static Relative ( |
||
minX | ||
minY | ||
minZ | ||
minW | ||
sizeX | ||
sizeY | ||
sizeZ | ||
sizeW | ||
result | ||
return | void |
public static Relative ( Vector4i min, Vector4i size, Box4i &result ) : void | ||
min | Vector4i | |
size | Vector4i | |
result | Box4i | |
return | void |
public ToString ( string format, IFormatProvider provider ) : string | ||
format | string | |
provider | IFormatProvider | |
return | string |