Public Member Functions | |
| __init__ (self, *args, **kwargs) | |
| tuple[int, int] | getLeafPointRange (self) |
| bool | leaf (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 |
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
| mrmeshpy.AABBTreePoints.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
| ConstBox3f mrmeshpy.AABBTreePoints.ConstNode.box | ( | self | ) |
bounding box of whole subtree
Reimplemented in mrmeshpy.AABBTreePoints.Node, mrmeshpy.AABBTreePoints.Node, mrmeshpy.ConstAABBTreePoints.Node, and mrmeshpy.ConstAABBTreePoints.Node.
| tuple[int, int] mrmeshpy.AABBTreePoints.ConstNode.getLeafPointRange | ( | self | ) |
returns [first,last) indices of leaf points
| ConstNodeId mrmeshpy.AABBTreePoints.ConstNode.l | ( | self | ) |
left child node for an inner node, or -(l+1) is the index of the first point in a leaf node
Reimplemented in mrmeshpy.AABBTreePoints.Node, mrmeshpy.AABBTreePoints.Node, mrmeshpy.ConstAABBTreePoints.Node, and mrmeshpy.ConstAABBTreePoints.Node.
| bool mrmeshpy.AABBTreePoints.ConstNode.leaf | ( | self | ) |
returns true if node represent real points, false if it has child nodes
| ConstNodeId mrmeshpy.AABBTreePoints.ConstNode.r | ( | self | ) |
right child node for an inner node, or -(r+1) is the index of the last point in a leaf node
Reimplemented in mrmeshpy.AABBTreePoints.Node, mrmeshpy.AABBTreePoints.Node, mrmeshpy.ConstAABBTreePoints.Node, and mrmeshpy.ConstAABBTreePoints.Node.
|
staticprotected |
|
staticprotected |
|
staticprotected |