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) |
Static Public Member Functions | |
| None | __init__ (*args, **kwargs) |
| DenseBox | operator (*args, **kwargs) |
| DenseBox | operator (*args, **kwargs) |
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
|
static |
| None mrmeshpy.DenseBox.__init__ | ( | self, | |
| std_vector_Vector3_float | points, | ||
| AffineXf3f | xf = None ) |
Include given points into this dense box
| None 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 mrmeshpy.DenseBox.__init__ | ( | self, | |
| MeshPart | meshPart, | ||
| AffineXf3f | xf = None ) |
Include mesh part into this dense box
| None mrmeshpy.DenseBox.__init__ | ( | self, | |
| PointCloud | points, | ||
| AffineXf3f | xf = None ) |
Include point into this dense box
| None mrmeshpy.DenseBox.__init__ | ( | self, | |
| Polyline3 | line, | ||
| AffineXf3f | xf = None ) |
Include line into this dense box
| None mrmeshpy.DenseBox.__init__ | ( | self, | |
| DenseBox | arg0 ) |
Implicit copy constructor.
| AffineXf3f mrmeshpy.DenseBox.basisXf | ( | self | ) |
transform box space to world space
| AffineXf3f mrmeshpy.DenseBox.basisXfInv | ( | self | ) |
transform world space to box space
| Box3f mrmeshpy.DenseBox.box | ( | self | ) |
return box in its space
| Vector3f mrmeshpy.DenseBox.center | ( | self | ) |
returns center of dense box
| bool 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
|
static |
|
static |