MeshLib Python Docs
Loading...
Searching...
No Matches
meshlib.mrmeshpy.DenseBox Class Reference

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)
 

Detailed Description

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

Constructor & Destructor Documentation

◆ __init__() [1/6]

None meshlib.mrmeshpy.DenseBox.__init__ ( self,
std_vector_Vector3_float points,
AffineXf3f xf = None )
Include given points into this dense box

◆ __init__() [2/6]

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

◆ __init__() [3/6]

None meshlib.mrmeshpy.DenseBox.__init__ ( self,
MeshPart meshPart,
AffineXf3f xf = None )
Include mesh part into this dense box

◆ __init__() [4/6]

None meshlib.mrmeshpy.DenseBox.__init__ ( self,
PointCloud points,
AffineXf3f xf = None )
Include point into this dense box

◆ __init__() [5/6]

None meshlib.mrmeshpy.DenseBox.__init__ ( self,
Polyline3 line,
AffineXf3f xf = None )
Include line into this dense box

◆ __init__() [6/6]

None meshlib.mrmeshpy.DenseBox.__init__ ( self,
DenseBox arg0 )
Implicit copy constructor.

Member Function Documentation

◆ basisXf()

AffineXf3f meshlib.mrmeshpy.DenseBox.basisXf ( self)
transform box space to world space 

◆ basisXfInv()

AffineXf3f meshlib.mrmeshpy.DenseBox.basisXfInv ( self)
transform world space to box space

◆ box()

Box3f meshlib.mrmeshpy.DenseBox.box ( self)
return box in its space

◆ center()

Vector3f meshlib.mrmeshpy.DenseBox.center ( self)
returns center of dense box

◆ contains()

bool meshlib.mrmeshpy.DenseBox.contains ( self,
Vector3f pt )
returns true if dense box contains given point

◆ corner()

Vector3f meshlib.mrmeshpy.DenseBox.corner ( self,
Vector3b index )
returns corner of dense box, each index value means: false - min, true - max
example: {false, false, flase} - min point, {true, true, true} - max point

The documentation for this class was generated from the following file: