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

Public Member Functions

 LineInterpolationParams (java.lang.foreign.MemorySegment ptr, boolean owned, java.lang.Object owner)
 LineInterpolationParams ()
 LineInterpolationParams (float eps, float maxLength, meshlib.std_function_bool_from_float cb)
 LineInterpolationParams (meshlib.LineInterpolationParams _other)
meshlib.LineInterpolationParams assignFromAnother (meshlib.LineInterpolationParams _other)
float eps ()
void setEps (float value)
float maxLength ()
void setMaxLength (float value)
meshlib.std_function_bool_from_float cb ()
void setCb (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

Tolerance parameters for linear interpolation of tool path segments Generated from class MR::LineInterpolationParams.

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

Constructor & Destructor Documentation

◆ LineInterpolationParams() [1/4]

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

◆ LineInterpolationParams() [2/4]

meshlib.LineInterpolationParams.LineInterpolationParams ( )

Constructs an empty (default-constructed) instance.

Calls MR_LineInterpolationParams_DefaultConstruct().

◆ LineInterpolationParams() [3/4]

meshlib.LineInterpolationParams.LineInterpolationParams ( float eps,
float maxLength,
meshlib.std_function_bool_from_float cb )

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

Calls MR_LineInterpolationParams_ConstructFrom().

◆ LineInterpolationParams() [4/4]

meshlib.LineInterpolationParams.LineInterpolationParams ( meshlib.LineInterpolationParams _other)

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

Calls MR_LineInterpolationParams_ConstructFromAnother().

Member Function Documentation

◆ assignFromAnother()

meshlib.LineInterpolationParams meshlib.LineInterpolationParams.assignFromAnother ( meshlib.LineInterpolationParams _other)

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

Calls MR_LineInterpolationParams_AssignFromAnother().

◆ cb()

meshlib.std_function_bool_from_float meshlib.LineInterpolationParams.cb ( )

callback for reporting on progress Returns a pointer to a member variable of class MR::LineInterpolationParams named cb. The reference to this object might be preserved as the return value.

Calls MR_LineInterpolationParams_Get_cb().

◆ eps()

float meshlib.LineInterpolationParams.eps ( )

maximal deviation from given line Returns a pointer to a member variable of class MR::LineInterpolationParams named eps. The reference to this object might be preserved as the return value.

Calls MR_LineInterpolationParams_Get_eps().

◆ maxLength()

float meshlib.LineInterpolationParams.maxLength ( )

maximal length of the line Returns a pointer to a member variable of class MR::LineInterpolationParams named maxLength. The reference to this object might be preserved as the return value.

Calls MR_LineInterpolationParams_Get_maxLength().

◆ setCb()

void meshlib.LineInterpolationParams.setCb ( meshlib.std_function_bool_from_float value)

callback for reporting on progress Modifies a member variable of class MR::LineInterpolationParams named cb. The reference to the parameter value might be preserved in this object in element cb.

Calls MR_LineInterpolationParams_Set_cb().

◆ setEps()

void meshlib.LineInterpolationParams.setEps ( float value)

maximal deviation from given line Modifies a member variable of class MR::LineInterpolationParams named eps.

Calls MR_LineInterpolationParams_Set_eps().

◆ setMaxLength()

void meshlib.LineInterpolationParams.setMaxLength ( float value)

maximal length of the line Modifies a member variable of class MR::LineInterpolationParams named maxLength.

Calls MR_LineInterpolationParams_Set_maxLength().


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