Space Engineers
|
This class allows for uniform generation of points from a set of bounding boxes. More...
Public Member Functions | |
MyBBSetSampler (Vector3D min, Vector3D max) | |
void | SubtractBB (ref BoundingBoxD bb) |
Vector3D | Sample () |
Properties | |
bool | Valid [get] |
This class allows for uniform generation of points from a set of bounding boxes.
You start by constructing a bounding box from where the points will be sampled. Then you can incrementally subtract bounding boxes and the resulting structure will allow you to generate uniformly distributed points using the Sample() function.
Definition at line 16 of file MyBBSetSampler.cs.
Definition at line 331 of file MyBBSetSampler.cs.
|
inline |
Definition at line 350 of file MyBBSetSampler.cs.
|
inline |
Definition at line 341 of file MyBBSetSampler.cs.
|
get |
Definition at line 317 of file MyBBSetSampler.cs.