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

Public Member Functions

 MeshVertPart (java.lang.foreign.MemorySegment ptr, boolean owned, java.lang.Object owner)
 MeshVertPart (meshlib.MeshVertPart other)
 MeshVertPart (meshlib.Mesh m, meshlib.VertBitSet bs)
meshlib.MeshVertPart assignFromAnother (meshlib.MeshVertPart other)
meshlib.Mesh mesh ()
java.lang.foreign.MemorySegment region ()
void setRegion (meshlib.VertBitSet 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

stores reference on whole mesh (if region is nullptr) or on its part (if region pointer is valid) Generated from class MR::MeshVertPart.

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

Constructor & Destructor Documentation

◆ MeshVertPart() [1/3]

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

◆ MeshVertPart() [2/3]

meshlib.MeshVertPart.MeshVertPart ( meshlib.MeshVertPart other)

Make this assignable. A better idea would be to rewrite the class to not use references, but doing this instead preserves API compatibility. Generated from constructor MR::MeshVertPart::MeshVertPart. The reference to things referred to by the parameter other (if any) might be preserved in the constructed object.

Calls MR_MeshVertPart_ConstructFromAnother().

◆ MeshVertPart() [3/3]

meshlib.MeshVertPart.MeshVertPart ( meshlib.Mesh m,
meshlib.VertBitSet bs )

Generated from constructor MR::MeshVertPart::MeshVertPart. The reference to the parameter m might be preserved in the constructed object. The reference to the parameter bs might be preserved in the constructed object.

Calls MR_MeshVertPart_Construct().

Member Function Documentation

◆ assignFromAnother()

meshlib.MeshVertPart meshlib.MeshVertPart.assignFromAnother ( meshlib.MeshVertPart other)

Generated from method MR::MeshVertPart::operator=. The reference to things referred to by the parameter other (if any) might be preserved in this object. The reference to this object might be preserved in the return value.

Calls MR_MeshVertPart_AssignFromAnother().

◆ mesh()

meshlib.Mesh meshlib.MeshVertPart.mesh ( )

Returns a pointer to a member variable of class MR::MeshVertPart named mesh. The reference to this object might be preserved as the return value.

Calls MR_MeshVertPart_Get_mesh().

◆ region()

java.lang.foreign.MemorySegment meshlib.MeshVertPart.region ( )

nullptr here means whole mesh Returns a pointer to a member variable of class MR::MeshVertPart named region. The reference to this object might be preserved as the return value.

Calls MR_MeshVertPart_Get_region(). Some types are raw C types, see the C bindings for the details.

◆ setRegion()

void meshlib.MeshVertPart.setRegion ( meshlib.VertBitSet value)

nullptr here means whole mesh Modifies a member variable of class MR::MeshVertPart named region. The reference to the parameter value might be preserved in this object in element region.

Calls MR_MeshVertPart_Set_region().


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