프로퍼티 | 타입 | 설명 | |
---|---|---|---|
Max | Vector4d | ||
Min | Vector4d | ||
Zero |
메소드 | 설명 | |
---|---|---|
Box4d ( Double minX, Double minY, Double minZ, Double minW, Double maxX, Double maxY, Double maxZ, Double maxW ) : System |
Create a Box4d by providing minimum and maximum extents.
|
|
Box4d ( Vector4d min, Vector4d max ) : System |
Create a Box4d by providing minimum and maximum extents.
|
|
Distance ( Vector4d point ) : Double |
Get the closest distance between this Box4d and the Vector4d.
|
|
Intersect ( Vector4d point ) : Containment |
Get the intersection type between this box and the point.
|
|
NearestPointTo ( Vector4d point ) : Vector4d |
Get the nearest point between this Box4d and a Vector4d. If the Vector4d is inside this Box4d, it is returned untouched.
|
|
NearestPointTo ( Vector4d &point, Vector4d &result ) : void |
Get the nearest point between this Box4d and a Vector4d. If the Vector4d is inside this Box4d, it is returned untouched.
|
|
Overlaps ( Vector4d point ) : bool |
Get whether this Box4d inclusively intersects with the Vector4d.
|
|
Random ( |
Get a random position within the box.
|
|
Random ( |
Get a random position within the box.
|
|
Relative ( Double minX, Double minY, Double minZ, Double minW, Double sizeX, Double sizeY, Double sizeZ, Double sizeW ) : |
Create a Box4d by providing the minimum extent and the size of each side.
|
|
Relative ( Vector4d min, Vector4d size ) : |
Create a Box4d by providing the minimum extent and the size of each side.
|
|
Relative ( Double minX, Double minY, Double minZ, Double minW, Double sizeX, Double sizeY, Double sizeZ, Double sizeW, |
Create a Box4d by providing the minimum extent and the size of each side.
|
|
Relative ( Vector4d min, Vector4d size, |
Create a Box4d by providing the minimum extent and the size of each side.
|
|
ToString ( ) : string |
Convert to a string representation of the Box4d.
|
|
ToString ( string format, IFormatProvider provider ) : string |
Convert to a string representation of the Box4d.
|
public Box4d ( Double minX, Double minY, Double minZ, Double minW, Double maxX, Double maxY, Double maxZ, Double maxW ) : System | ||
minX | Double | |
minY | Double | |
minZ | Double | |
minW | Double | |
maxX | Double | |
maxY | Double | |
maxZ | Double | |
maxW | Double | |
리턴 | System |
public Box4d ( Vector4d min, Vector4d max ) : System | ||
min | Vector4d | |
max | Vector4d | |
리턴 | System |
public NearestPointTo ( Vector4d point ) : Vector4d | ||
point | Vector4d | |
리턴 | Vector4d |
public NearestPointTo ( Vector4d &point, Vector4d &result ) : void | ||
point | Vector4d | |
result | Vector4d | |
리턴 | void |
public Random ( |
||
rng | ||
result | Vector4d | |
리턴 | void |
public static Relative ( Double minX, Double minY, Double minZ, Double minW, Double sizeX, Double sizeY, Double sizeZ, Double sizeW ) : |
||
minX | Double | |
minY | Double | |
minZ | Double | |
minW | Double | |
sizeX | Double | |
sizeY | Double | |
sizeZ | Double | |
sizeW | Double | |
리턴 |
public static Relative ( Vector4d min, Vector4d size ) : |
||
min | Vector4d | |
size | Vector4d | |
리턴 |
public static Relative ( Double minX, Double minY, Double minZ, Double minW, Double sizeX, Double sizeY, Double sizeZ, Double sizeW, |
||
minX | Double | |
minY | Double | |
minZ | Double | |
minW | Double | |
sizeX | Double | |
sizeY | Double | |
sizeZ | Double | |
sizeW | Double | |
result | ||
리턴 | void |
public static Relative ( Vector4d min, Vector4d size, |
||
min | Vector4d | |
size | Vector4d | |
result | ||
리턴 | void |
public ToString ( string format, IFormatProvider provider ) : string | ||
format | string | |
provider | IFormatProvider | |
리턴 | string |