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

Public Member Functions

 PreciseVertCoord (java.lang.foreign.MemorySegment ptr, boolean owned, java.lang.Object owner)
 PreciseVertCoord ()
 PreciseVertCoord (meshlib.VertId id, int pt)
 PreciseVertCoord (meshlib.PreciseVertCoord _other)
meshlib.PreciseVertCoord assignFromAnother (meshlib.PreciseVertCoord _other)
meshlib.VertId id ()
void setId (meshlib.VertId value)
int pt ()
void setPt (int 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

Generated from class MR::PreciseVertCoord.

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

Constructor & Destructor Documentation

◆ PreciseVertCoord() [1/4]

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

◆ PreciseVertCoord() [2/4]

meshlib.PreciseVertCoord.PreciseVertCoord ( )

Constructs an empty (default-constructed) instance.

Calls MR_PreciseVertCoord_DefaultConstruct().

◆ PreciseVertCoord() [3/4]

meshlib.PreciseVertCoord.PreciseVertCoord ( meshlib.VertId id,
int pt )

Constructs MR::PreciseVertCoord elementwise. The reference to the parameter id might be preserved in the constructed object.

Calls MR_PreciseVertCoord_ConstructFrom().

◆ PreciseVertCoord() [4/4]

meshlib.PreciseVertCoord.PreciseVertCoord ( meshlib.PreciseVertCoord _other)

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

Calls MR_PreciseVertCoord_ConstructFromAnother().

Member Function Documentation

◆ assignFromAnother()

meshlib.PreciseVertCoord meshlib.PreciseVertCoord.assignFromAnother ( meshlib.PreciseVertCoord _other)

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

Calls MR_PreciseVertCoord_AssignFromAnother().

◆ id()

meshlib.VertId meshlib.PreciseVertCoord.id ( )

< unique id of the vertex (in both contours) Returns a pointer to a member variable of class MR::PreciseVertCoord named id. The reference to this object might be preserved as the return value.

Calls MR_PreciseVertCoord_Get_id().

◆ pt()

int meshlib.PreciseVertCoord.pt ( )

< coordinate Returns a pointer to a member variable of class MR::PreciseVertCoord named pt. The reference to this object might be preserved as the return value.

Calls MR_PreciseVertCoord_Get_pt().

◆ setId()

void meshlib.PreciseVertCoord.setId ( meshlib.VertId value)

< unique id of the vertex (in both contours) Modifies a member variable of class MR::PreciseVertCoord named id. The reference to the parameter value might be preserved in this object in element id.

Calls MR_PreciseVertCoord_Set_id().

◆ setPt()

void meshlib.PreciseVertCoord.setPt ( int value)

< coordinate Modifies a member variable of class MR::PreciseVertCoord named pt.

Calls MR_PreciseVertCoord_Set_pt().


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