MeshLib Python Docs
Loading...
Searching...
No Matches
mrmeshpy.ConstAABBTreePoints.ConstNode Class Reference

Public Member Functions

 __init__ (self, *args, **kwargs)
tuple[int, int] getLeafPointRange (AABBTreePoints.ConstNode self)
bool leaf (AABBTreePoints.ConstNode self)
ConstBox3f box (self)
ConstNodeId l (self)
ConstNodeId r (self)

Static Protected Attributes

typing _offsetof_box = 0
typing _offsetof_l = 24
typing _offsetof_r = 28

Detailed Description

Generated from:  MR::AABBTreePoints::Node
Aliases:  Vector_AABBTreePoints_Node_NodeId.const_pointer, Vector_AABBTreePoints_Node_NodeId.const_reference, Vector_AABBTreePoints_Node_NodeId.pointer, Vector_AABBTreePoints_Node_NodeId.reference, Vector_AABBTreePoints_Node_NodeId.value_type, std_vector_AABBTreePoints_Node_Allocator_AABBTreePoints_Node_const_pointer, std_vector_AABBTreePoints_Node_Allocator_AABBTreePoints_Node_const_reference, std_vector_AABBTreePoints_Node_Allocator_AABBTreePoints_Node_pointer, std_vector_AABBTreePoints_Node_Allocator_AABBTreePoints_Node_reference, std_vector_AABBTreePoints_Node_Allocator_AABBTreePoints_Node_value_type

Constructor & Destructor Documentation

◆ __init__()

mrmeshpy.ConstAABBTreePoints.ConstNode.__init__ ( self,
* args,
** kwargs )
__init__(*args, **kwargs)
Overloaded function.

1. __init__(self: meshlib.mrmeshpy.AABBTreePoints.ConstNode) -> None

2. __init__(self: meshlib.mrmeshpy.AABBTreePoints.ConstNode, arg0: meshlib.mrmeshpy.AABBTreePoints.ConstNode) -> None

Implicit copy constructor.

3. __init__(self: meshlib.mrmeshpy.AABBTreePoints.ConstNode, box: meshlib.mrmeshpy.ConstBox3f, l: meshlib.mrmeshpy.ConstNodeId, r: meshlib.mrmeshpy.ConstNodeId) -> None

Implicit aggregate constructor.

4. __init__(self: meshlib.mrmeshpy.AABBTreePoints.ConstNode, : meshlib.mrmeshpy.AABBTreePoints.ConstNode) -> None

Member Function Documentation

◆ box()

ConstBox3f mrmeshpy.ConstAABBTreePoints.ConstNode.box ( self)
bounding box of whole subtree

◆ getLeafPointRange()

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

◆ l()

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

◆ leaf()

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

◆ r()

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

Member Data Documentation

◆ _offsetof_box

typing mrmeshpy.ConstAABBTreePoints.ConstNode._offsetof_box = 0
staticprotected

◆ _offsetof_l

typing mrmeshpy.ConstAABBTreePoints.ConstNode._offsetof_l = 24
staticprotected

◆ _offsetof_r

typing mrmeshpy.ConstAABBTreePoints.ConstNode._offsetof_r = 28
staticprotected

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