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

Public Member Functions

None __init__ (self)
 
None __init__ (self, AABBTreePoints.Node arg0)
 
None __init__ (self, Box3f box, NodeId l, NodeId r)
 
tuple[int, int] getLeafPointRange (self)
 
bool leaf (self)
 
None setLeafPointRange (self, int first, int last)
 
Box3f box (self)
 
None box (self, Box3f arg1)
 
NodeId l (self)
 
None l (self, NodeId arg1)
 
NodeId r (self)
 
None r (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, Vector_AABBTreePoints_Node_NodeId.value_type, std_vector_AABBTreePoints_Node_const_reference, Vector_AABBTreePoints_Node_NodeId.reference

Constructor & Destructor Documentation

◆ __init__() [1/3]

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

◆ __init__() [2/3]

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

◆ __init__() [3/3]

None mrmeshpy.AABBTreePoints.Node.__init__ ( self,
Box3f box,
NodeId l,
NodeId r )
Implicit aggregate constructor.

Member Function Documentation

◆ box() [1/2]

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

◆ box() [2/2]

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

◆ getLeafPointRange()

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

◆ l() [1/2]

NodeId mrmeshpy.AABBTreePoints.Node.l ( self)
left child node for an inner node, or -(l+1) is the index of the first point in a leaf node

◆ l() [2/2]

None mrmeshpy.AABBTreePoints.Node.l ( self,
NodeId arg1 )

◆ leaf()

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

◆ r() [1/2]

NodeId mrmeshpy.AABBTreePoints.Node.r ( self)
right child node for an inner node, or -(r+1) is the index of the last point in a leaf node

◆ r() [2/2]

None mrmeshpy.AABBTreePoints.Node.r ( self,
NodeId arg1 )

◆ setLeafPointRange()

None 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: