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

Public Member Functions

 ZCompensateParams (java.lang.foreign.MemorySegment ptr, boolean owned, java.lang.Object owner)
 ZCompensateParams ()
 ZCompensateParams (float maxShift, boolean reduceSelfIntersections, float minThickness, meshlib.std_function_bool_from_float progress)
 ZCompensateParams (meshlib.ZCompensateParams _other)
meshlib.ZCompensateParams assignFromAnother (meshlib.ZCompensateParams _other)
float maxShift ()
void setMaxShift (float value)
boolean reduceSelfIntersections ()
void setReduceSelfIntersections (boolean value)
float minThickness ()
void setMinThickness (float value)
meshlib.std_function_bool_from_float progress ()
void setProgress (meshlib.std_function_bool_from_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)

Detailed Description

Generated from class MR::ZCompensateParams.

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

Constructor & Destructor Documentation

◆ ZCompensateParams() [1/4]

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

◆ ZCompensateParams() [2/4]

meshlib.ZCompensateParams.ZCompensateParams ( )

Constructs an empty (default-constructed) instance.

Calls MR_ZCompensateParams_DefaultConstruct().

◆ ZCompensateParams() [3/4]

meshlib.ZCompensateParams.ZCompensateParams ( float maxShift,
boolean reduceSelfIntersections,
float minThickness,
meshlib.std_function_bool_from_float progress )

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

Calls MR_ZCompensateParams_ConstructFrom().

◆ ZCompensateParams() [4/4]

meshlib.ZCompensateParams.ZCompensateParams ( meshlib.ZCompensateParams _other)

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

Calls MR_ZCompensateParams_ConstructFromAnother().

Member Function Documentation

◆ assignFromAnother()

meshlib.ZCompensateParams meshlib.ZCompensateParams.assignFromAnother ( meshlib.ZCompensateParams _other)

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

Calls MR_ZCompensateParams_AssignFromAnother().

◆ maxShift()

float meshlib.ZCompensateParams.maxShift ( )

shift of mesh parts orthogonal to Z-axis with normal against Z-axis; for other mesh parts the shift will be less and will depend on the angle between point pseudo-normal and Z-axis Returns a pointer to a member variable of class MR::ZCompensateParams named maxShift. The reference to this object might be preserved as the return value.

Calls MR_ZCompensateParams_Get_maxShift().

◆ minThickness()

float meshlib.ZCompensateParams.minThickness ( )

only if (reduceSelfIntersections = true), avoids moving a vertex closer than this distance to another triangle Returns a pointer to a member variable of class MR::ZCompensateParams named minThickness. The reference to this object might be preserved as the return value.

Calls MR_ZCompensateParams_Get_minThickness().

◆ progress()

meshlib.std_function_bool_from_float meshlib.ZCompensateParams.progress ( )

to report progress and cancel processing Returns a pointer to a member variable of class MR::ZCompensateParams named progress. The reference to this object might be preserved as the return value.

Calls MR_ZCompensateParams_Get_progress().

◆ reduceSelfIntersections()

boolean meshlib.ZCompensateParams.reduceSelfIntersections ( )

if true, limits the movement of each vertex to reduce self-intersections in the mesh Returns a pointer to a member variable of class MR::ZCompensateParams named reduceSelfIntersections. The reference to this object might be preserved as the return value.

Calls MR_ZCompensateParams_Get_reduceSelfIntersections().

◆ setMaxShift()

void meshlib.ZCompensateParams.setMaxShift ( float value)

shift of mesh parts orthogonal to Z-axis with normal against Z-axis; for other mesh parts the shift will be less and will depend on the angle between point pseudo-normal and Z-axis Modifies a member variable of class MR::ZCompensateParams named maxShift.

Calls MR_ZCompensateParams_Set_maxShift().

◆ setMinThickness()

void meshlib.ZCompensateParams.setMinThickness ( float value)

only if (reduceSelfIntersections = true), avoids moving a vertex closer than this distance to another triangle Modifies a member variable of class MR::ZCompensateParams named minThickness.

Calls MR_ZCompensateParams_Set_minThickness().

◆ setProgress()

void meshlib.ZCompensateParams.setProgress ( meshlib.std_function_bool_from_float value)

to report progress and cancel processing Modifies a member variable of class MR::ZCompensateParams named progress. The reference to the parameter value might be preserved in this object in element progress.

Calls MR_ZCompensateParams_Set_progress().

◆ setReduceSelfIntersections()

void meshlib.ZCompensateParams.setReduceSelfIntersections ( boolean value)

if true, limits the movement of each vertex to reduce self-intersections in the mesh Modifies a member variable of class MR::ZCompensateParams named reduceSelfIntersections.

Calls MR_ZCompensateParams_Set_reduceSelfIntersections().


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