프로퍼티 | 타입 | 설명 | |
---|---|---|---|
Max | Vector3d | ||
Min | Vector3d | ||
Zero |
메소드 | 설명 | |
---|---|---|
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 | |
리턴 | System |
public Box3d ( Vector3d min, Vector3d max ) : System | ||
min | Vector3d | |
max | Vector3d | |
리턴 | System |
public Intersect ( Frustum frustum ) : Containment | ||
frustum | Frustum | |
리턴 | Containment |
public NearestPointTo ( Vector3d point ) : Vector3d | ||
point | Vector3d | |
리턴 | Vector3d |
public NearestPointTo ( Vector3d &point, Vector3d &result ) : void | ||
point | Vector3d | |
result | Vector3d | |
리턴 | void |
public Random ( |
||
rng | ||
result | Vector3d | |
리턴 | 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 | |
리턴 |
public static Relative ( Vector3d min, Vector3d size ) : |
||
min | Vector3d | |
size | Vector3d | |
리턴 |
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 | ||
리턴 | void |
public static Relative ( Vector3d min, Vector3d size, |
||
min | Vector3d | |
size | Vector3d | |
result | ||
리턴 | void |
public ToString ( string format, IFormatProvider provider ) : string | ||
format | string | |
provider | IFormatProvider | |
리턴 | string |