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

Public Member Functions

None __init__ (self)
 
None __init__ (self, AABBTreePoints.Node arg0)
 
None __init__ (self, Box3f box, NodeId leftOrFirst, NodeId rightOrLast)
 
tuple[int, int] getLeafPointRange (self)
 
bool leaf (self)
 
None setLeafPointRange (self, int first, int last)
 
Box3f box (self)
 
None box (self, Box3f arg1)
 
NodeId leftOrFirst (self)
 
None leftOrFirst (self, NodeId arg1)
 
NodeId rightOrLast (self)
 
None rightOrLast (self, NodeId arg1)
 

Detailed Description

Generated from:  MR::AABBTreePoints::Node
Aliases:  std_vector_AABBTreePoints_Node_value_type, std_vector_AABBTreePoints_Node_reference, Vector_AABBTreePoints_Node_NodeId.const_reference, std_vector_AABBTreePoints_Node_const_reference, Vector_AABBTreePoints_Node_NodeId.reference, Vector_AABBTreePoints_Node_NodeId.value_type

Constructor & Destructor Documentation

◆ __init__() [1/3]

None meshlib.mrmeshpy.AABBTreePoints.Node.__init__ ( self)
Implicit default constructor.

◆ __init__() [2/3]

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

◆ __init__() [3/3]

None meshlib.mrmeshpy.AABBTreePoints.Node.__init__ ( self,
Box3f box,
NodeId leftOrFirst,
NodeId rightOrLast )
Implicit aggregate constructor.

Member Function Documentation

◆ box() [1/2]

Box3f meshlib.mrmeshpy.AABBTreePoints.Node.box ( self)
bounding box of whole subtree

◆ box() [2/2]

None meshlib.mrmeshpy.AABBTreePoints.Node.box ( self,
Box3f arg1 )

◆ getLeafPointRange()

tuple[int, int] meshlib.mrmeshpy.AABBTreePoints.Node.getLeafPointRange ( self)
returns [first,last) indices of leaf points

◆ leaf()

bool meshlib.mrmeshpy.AABBTreePoints.Node.leaf ( self)
returns true if node represent real points, false if it has child nodes

◆ leftOrFirst() [1/2]

NodeId meshlib.mrmeshpy.AABBTreePoints.Node.leftOrFirst ( self)
child nodes indices if >=0, points indices if < 0

◆ leftOrFirst() [2/2]

None meshlib.mrmeshpy.AABBTreePoints.Node.leftOrFirst ( self,
NodeId arg1 )

◆ rightOrLast() [1/2]

NodeId meshlib.mrmeshpy.AABBTreePoints.Node.rightOrLast ( self)
child nodes indices if >=0, points indices if < 0

◆ rightOrLast() [2/2]

None meshlib.mrmeshpy.AABBTreePoints.Node.rightOrLast ( self,
NodeId arg1 )

◆ setLeafPointRange()

None meshlib.mrmeshpy.AABBTreePoints.Node.setLeafPointRange ( self,
int first,
int last )
sets [first,last) to this node (leaf)

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