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

Public Member Functions

 DecimatePolylineResult (java.lang.foreign.MemorySegment ptr, boolean owned, java.lang.Object owner)
 DecimatePolylineResult ()
 DecimatePolylineResult (int vertsDeleted, float errorIntroduced)
 DecimatePolylineResult (meshlib.DecimatePolylineResult _other)
meshlib.DecimatePolylineResult assignFromAnother (meshlib.DecimatePolylineResult _other)
int vertsDeleted ()
void setVertsDeleted (int value)
float errorIntroduced ()
void setErrorIntroduced (float 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)

Constructor & Destructor Documentation

◆ DecimatePolylineResult() [1/4]

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

◆ DecimatePolylineResult() [2/4]

meshlib.DecimatePolylineResult.DecimatePolylineResult ( )

Constructs an empty (default-constructed) instance.

Calls MR_DecimatePolylineResult_DefaultConstruct().

◆ DecimatePolylineResult() [3/4]

meshlib.DecimatePolylineResult.DecimatePolylineResult ( int vertsDeleted,
float errorIntroduced )

Constructs MR::DecimatePolylineResult elementwise.

Calls MR_DecimatePolylineResult_ConstructFrom().

◆ DecimatePolylineResult() [4/4]

meshlib.DecimatePolylineResult.DecimatePolylineResult ( meshlib.DecimatePolylineResult _other)

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

Calls MR_DecimatePolylineResult_ConstructFromAnother().

Member Function Documentation

◆ assignFromAnother()

meshlib.DecimatePolylineResult meshlib.DecimatePolylineResult.assignFromAnother ( meshlib.DecimatePolylineResult _other)

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

Calls MR_DecimatePolylineResult_AssignFromAnother().

◆ errorIntroduced()

float meshlib.DecimatePolylineResult.errorIntroduced ( )

< Max different (as distance) between original contour and result contour Returns a pointer to a member variable of class MR::DecimatePolylineResult named errorIntroduced. The reference to this object might be preserved as the return value.

Calls MR_DecimatePolylineResult_Get_errorIntroduced().

◆ setErrorIntroduced()

void meshlib.DecimatePolylineResult.setErrorIntroduced ( float value)

< Max different (as distance) between original contour and result contour Modifies a member variable of class MR::DecimatePolylineResult named errorIntroduced.

Calls MR_DecimatePolylineResult_Set_errorIntroduced().

◆ setVertsDeleted()

void meshlib.DecimatePolylineResult.setVertsDeleted ( int value)

< Number deleted verts. Same as the number of performed collapses Modifies a member variable of class MR::DecimatePolylineResult named vertsDeleted.

Calls MR_DecimatePolylineResult_Set_vertsDeleted().

◆ vertsDeleted()

int meshlib.DecimatePolylineResult.vertsDeleted ( )

< Number deleted verts. Same as the number of performed collapses Returns a pointer to a member variable of class MR::DecimatePolylineResult named vertsDeleted. The reference to this object might be preserved as the return value.

Calls MR_DecimatePolylineResult_Get_vertsDeleted().


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