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