MeshLib Python Docs
Loading...
Searching...
No Matches
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)
 

Static Public Member Functions

None __init__ (*args, **kwargs)
 
DenseBox operator (*args, **kwargs)
 
DenseBox operator (*args, **kwargs)
 

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

Constructor & Destructor Documentation

◆ __init__() [1/7]

None mrmeshpy.DenseBox.__init__ ( * args,
** kwargs )
static

◆ __init__() [2/7]

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

◆ __init__() [3/7]

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

◆ __init__() [4/7]

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

◆ __init__() [5/7]

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

◆ __init__() [6/7]

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

◆ __init__() [7/7]

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

Member Function Documentation

◆ basisXf()

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

◆ basisXfInv()

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

◆ box()

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

◆ center()

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

◆ contains()

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

◆ corner()

Vector3f 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

◆ operator() [1/2]

DenseBox mrmeshpy.DenseBox.operator ( * args,
** kwargs )
static

◆ operator() [2/2]

DenseBox mrmeshpy.DenseBox.operator ( * args,
** kwargs )
static

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