MeshLib Java Docs
Loading...
Searching...
No Matches
meshlib.BoxedLeaf_MR_ObjTreeTraits Class Reference
Inheritance diagram for meshlib.BoxedLeaf_MR_ObjTreeTraits:

Public Member Functions

 BoxedLeaf_MR_ObjTreeTraits (java.lang.foreign.MemorySegment ptr, boolean owned, java.lang.Object owner)
 BoxedLeaf_MR_ObjTreeTraits ()
 BoxedLeaf_MR_ObjTreeTraits (meshlib.BoxedLeaf_MR_ObjTreeTraits _other)
 BoxedLeaf_MR_ObjTreeTraits (meshlib.NoInit _1)
meshlib.BoxedLeaf_MR_ObjTreeTraits assignFromAnother (meshlib.BoxedLeaf_MR_ObjTreeTraits _other)
meshlib.ObjId leafId ()
void setLeafId (meshlib.ObjId value)
meshlib.Box3f box ()
void setBox (meshlib.Box3f value)
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 ()

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)

Detailed Description

a leaf of AABB-tree: the id of an object (e.g. face) with its bounding box Generated from class MR::BoxedLeaf<MR::ObjTreeTraits>.

Instances created here own their C++ objects, see CppObject.

Constructor & Destructor Documentation

◆ BoxedLeaf_MR_ObjTreeTraits() [1/4]

meshlib.BoxedLeaf_MR_ObjTreeTraits.BoxedLeaf_MR_ObjTreeTraits ( 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.

◆ BoxedLeaf_MR_ObjTreeTraits() [2/4]

meshlib.BoxedLeaf_MR_ObjTreeTraits.BoxedLeaf_MR_ObjTreeTraits ( )

Constructs an empty (default-constructed) instance.

Calls MR_BoxedLeaf_MR_ObjTreeTraits_DefaultConstruct().

◆ BoxedLeaf_MR_ObjTreeTraits() [3/4]

meshlib.BoxedLeaf_MR_ObjTreeTraits.BoxedLeaf_MR_ObjTreeTraits ( meshlib.BoxedLeaf_MR_ObjTreeTraits _other)

Generated from constructor MR::BoxedLeaf<MR::ObjTreeTraits>::BoxedLeaf. The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object.

Calls MR_BoxedLeaf_MR_ObjTreeTraits_ConstructFromAnother().

◆ BoxedLeaf_MR_ObjTreeTraits() [4/4]

meshlib.BoxedLeaf_MR_ObjTreeTraits.BoxedLeaf_MR_ObjTreeTraits ( meshlib.NoInit _1)

Generated from constructor MR::BoxedLeaf<MR::ObjTreeTraits>::BoxedLeaf. The reference to the parameter _1 might be preserved in the constructed object.

Calls MR_BoxedLeaf_MR_ObjTreeTraits_Construct().

Member Function Documentation

◆ assignFromAnother()

meshlib.BoxedLeaf_MR_ObjTreeTraits meshlib.BoxedLeaf_MR_ObjTreeTraits.assignFromAnother ( meshlib.BoxedLeaf_MR_ObjTreeTraits _other)

Generated from method MR::BoxedLeaf<MR::ObjTreeTraits>::operator=. The reference to things referred to by the parameter _other (if any) might be preserved in this object.

Calls MR_BoxedLeaf_MR_ObjTreeTraits_AssignFromAnother().

◆ box()

meshlib.Box3f meshlib.BoxedLeaf_MR_ObjTreeTraits.box ( )

Returns a pointer to a member variable of class MR::BoxedLeaf<MR::ObjTreeTraits> named box. The reference to this object might be preserved as the return value.

Calls MR_BoxedLeaf_MR_ObjTreeTraits_Get_box().

◆ leafId()

meshlib.ObjId meshlib.BoxedLeaf_MR_ObjTreeTraits.leafId ( )

Returns a pointer to a member variable of class MR::BoxedLeaf<MR::ObjTreeTraits> named leafId. The reference to this object might be preserved as the return value.

Calls MR_BoxedLeaf_MR_ObjTreeTraits_Get_leafId().

◆ setBox()

void meshlib.BoxedLeaf_MR_ObjTreeTraits.setBox ( meshlib.Box3f value)

Modifies a member variable of class MR::BoxedLeaf<MR::ObjTreeTraits> named box. The reference to the parameter value might be preserved in this object in element box.

Calls MR_BoxedLeaf_MR_ObjTreeTraits_Set_box().

◆ setLeafId()

void meshlib.BoxedLeaf_MR_ObjTreeTraits.setLeafId ( meshlib.ObjId value)

Modifies a member variable of class MR::BoxedLeaf<MR::ObjTreeTraits> named leafId. The reference to the parameter value might be preserved in this object in element leafId.

Calls MR_BoxedLeaf_MR_ObjTreeTraits_Set_leafId().


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