Public Member Functions | |
| AABBTreeChildEncoding (java.lang.foreign.MemorySegment ptr, boolean owned, java.lang.Object owner) | |
| AABBTreeChildEncoding () | |
| AABBTreeChildEncoding (meshlib.AABBTreeChildEncoding _other) | |
| meshlib.AABBTreeChildEncoding | assignFromAnother (meshlib.AABBTreeChildEncoding _other) |
| Public Member Functions inherited from meshlib.CppObject | |
| final java.lang.foreign.MemorySegment | rawPointer () |
| final boolean | isOwned () |
| final void | close () |
| final java.lang.foreign.MemorySegment | release () |
Static Public Member Functions | |
| static boolean | isLeaf (meshlib.NodeId child) |
| static long | leafIndex (meshlib.NodeId child) |
| static meshlib.NodeId | leafChild (long leafIndex) |
Additional Inherited Members | |
| Protected Member Functions inherited from meshlib.CppObject | |
| CppObject (java.lang.foreign.MemorySegment ptr, java.util.function.Consumer< java.lang.foreign.MemorySegment > destroy, java.lang.Object owner) | |
the encoding of the children of AABB-tree nodes Generated from class MR::AABBTreeChildEncoding. Derived classes: Direct: (non-virtual) MR::AABBTreeNode<MR::AABBTreeTraits<MR::UndirectedEdgeTag, MR::Box2f>> MR::AABBTreeNode<MR::AABBTreeTraits<MR::UndirectedEdgeTag, MR::Box3f>> MR::AABBTreeNode<MR::ObjTreeTraits>
Instances created here own their C++ objects, see CppObject.
| meshlib.AABBTreeChildEncoding.AABBTreeChildEncoding | ( | java.lang.foreign.MemorySegment | ptr, |
| boolean | owned, | ||
| java.lang.Object | owner ) |
Wraps a pointer from the C bindings. If owned, the object is destroyed when the wrapper dies. owner is kept alive as long as this wrapper is. Not for normal use.
| meshlib.AABBTreeChildEncoding.AABBTreeChildEncoding | ( | ) |
Constructs an empty (default-constructed) instance.
Calls MR_AABBTreeChildEncoding_DefaultConstruct().
| meshlib.AABBTreeChildEncoding.AABBTreeChildEncoding | ( | meshlib.AABBTreeChildEncoding | _other | ) |
Generated from constructor MR::AABBTreeChildEncoding::AABBTreeChildEncoding. The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object.
Calls MR_AABBTreeChildEncoding_ConstructFromAnother().
| meshlib.AABBTreeChildEncoding meshlib.AABBTreeChildEncoding.assignFromAnother | ( | meshlib.AABBTreeChildEncoding | _other | ) |
Generated from method MR::AABBTreeChildEncoding::operator=. The reference to things referred to by the parameter _other (if any) might be preserved in this object.
Calls MR_AABBTreeChildEncoding_AssignFromAnother().
|
static |
returns true if given child of a node is a leaf rather than another node Generated from method MR::AABBTreeChildEncoding::isLeaf.
Calls MR_AABBTreeChildEncoding_isLeaf().
|
static |
encodes given index in the vector of leaves as a child of a node Generated from method MR::AABBTreeChildEncoding::leafChild.
Calls MR_AABBTreeChildEncoding_leafChild().
|
static |
returns the index in the vector of leaves of the leaf encoded in given child of a node Generated from method MR::AABBTreeChildEncoding::leafIndex.
Calls MR_AABBTreeChildEncoding_leafIndex().