Public Member Functions | |
None | __init__ (self, std_vector_Vector3_float points, AffineXf3f xf=None) |
None | __init__ (self, std_vector_Vector3_float points, std_vector_float weights, AffineXf3f xf=None) |
None | __init__ (self, MeshPart meshPart, AffineXf3f xf=None) |
None | __init__ (self, PointCloud points, AffineXf3f xf=None) |
None | __init__ (self, Polyline3 line, AffineXf3f xf=None) |
None | __init__ (self, DenseBox arg0) |
AffineXf3f | basisXf (self) |
AffineXf3f | basisXfInv (self) |
Box3f | box (self) |
Vector3f | center (self) |
bool | contains (self, Vector3f pt) |
Vector3f | corner (self, Vector3b index) |
Generated from: MR::DenseBox Structure to hold and work with dense box \\details Scalar operations that are not provided in this struct can be called via `box()` For example `box().size()`, `box().diagonal()` or `box().volume()` Non const operations are not allowed for dense box because it can spoil density \\ingroup MathGroup
None meshlib.mrmeshpy.DenseBox.__init__ | ( | self, | |
std_vector_Vector3_float | points, | ||
AffineXf3f | xf = None ) |
Include given points into this dense box
None meshlib.mrmeshpy.DenseBox.__init__ | ( | self, | |
std_vector_Vector3_float | points, | ||
std_vector_float | weights, | ||
AffineXf3f | xf = None ) |
Include given weighed points into this dense box
None meshlib.mrmeshpy.DenseBox.__init__ | ( | self, | |
MeshPart | meshPart, | ||
AffineXf3f | xf = None ) |
Include mesh part into this dense box
None meshlib.mrmeshpy.DenseBox.__init__ | ( | self, | |
PointCloud | points, | ||
AffineXf3f | xf = None ) |
Include point into this dense box
None meshlib.mrmeshpy.DenseBox.__init__ | ( | self, | |
Polyline3 | line, | ||
AffineXf3f | xf = None ) |
Include line into this dense box
None meshlib.mrmeshpy.DenseBox.__init__ | ( | self, | |
DenseBox | arg0 ) |
Implicit copy constructor.
AffineXf3f meshlib.mrmeshpy.DenseBox.basisXf | ( | self | ) |
transform box space to world space
AffineXf3f meshlib.mrmeshpy.DenseBox.basisXfInv | ( | self | ) |
transform world space to box space
Box3f meshlib.mrmeshpy.DenseBox.box | ( | self | ) |
return box in its space
Vector3f meshlib.mrmeshpy.DenseBox.center | ( | self | ) |
returns center of dense box
bool meshlib.mrmeshpy.DenseBox.contains | ( | self, | |
Vector3f | pt ) |
returns true if dense box contains given point
returns corner of dense box, each index value means: false - min, true - max example: {false, false, flase} - min point, {true, true, true} - max point