Свойство | Type | Description | |
---|---|---|---|
Max | Vector3d | ||
Min | Vector3d | ||
Zero |
Méthode | 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 | |
Résultat | System |
public Box3d ( Vector3d min, Vector3d max ) : System | ||
min | Vector3d | |
max | Vector3d | |
Résultat | System |
public Distance ( Vector3d point ) : Double | ||
point | Vector3d | |
Résultat | Double |
public Intersect ( Frustum frustum ) : Containment | ||
frustum | Frustum | |
Résultat | Containment |
public Intersect ( Vector3d point ) : Containment | ||
point | Vector3d | |
Résultat | Containment |
public NearestPointTo ( Vector3d point ) : Vector3d | ||
point | Vector3d | |
Résultat | Vector3d |
public NearestPointTo ( Vector3d &point, Vector3d &result ) : void | ||
point | Vector3d | |
result | Vector3d | |
Résultat | void |
public Random ( |
||
rng | ||
result | Vector3d | |
Résultat | 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 | |
Résultat |
public static Relative ( Vector3d min, Vector3d size ) : |
||
min | Vector3d | |
size | Vector3d | |
Résultat |
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 | ||
Résultat | void |
public static Relative ( Vector3d min, Vector3d size, |
||
min | Vector3d | |
size | Vector3d | |
result | ||
Résultat | void |
public ToString ( string format, IFormatProvider provider ) : string | ||
format | string | |
provider | IFormatProvider | |
Résultat | string |