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

Public Member Functions

 CompensateRadiusParams (java.lang.foreign.MemorySegment ptr, boolean owned, java.lang.Object owner)
 CompensateRadiusParams ()
 CompensateRadiusParams (meshlib.Vector3f direction, float toolRadius, meshlib.FaceBitSet region, int maxIterations, int relaxExpansion, int relaxIterations, float relaxForce, meshlib.std_function_bool_from_float callback)
 CompensateRadiusParams (meshlib.CompensateRadiusParams _other)
meshlib.CompensateRadiusParams assignFromAnother (meshlib.CompensateRadiusParams _other)
meshlib.Vector3f direction ()
void setDirection (meshlib.Vector3f value)
float toolRadius ()
void setToolRadius (float value)
java.lang.foreign.MemorySegment region ()
void setRegion (meshlib.FaceBitSet value)
int maxIterations ()
void setMaxIterations (int value)
int relaxExpansion ()
void setRelaxExpansion (int value)
int relaxIterations ()
void setRelaxIterations (int value)
float relaxForce ()
void setRelaxForce (float value)
meshlib.std_function_bool_from_float callback ()
void setCallback (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

structure with parameters for compensateRadius function Generated from class MR::CompensateRadiusParams.

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

Constructor & Destructor Documentation

◆ CompensateRadiusParams() [1/4]

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

◆ CompensateRadiusParams() [2/4]

meshlib.CompensateRadiusParams.CompensateRadiusParams ( )

Constructs an empty (default-constructed) instance.

Calls MR_CompensateRadiusParams_DefaultConstruct().

◆ CompensateRadiusParams() [3/4]

meshlib.CompensateRadiusParams.CompensateRadiusParams ( meshlib.Vector3f direction,
float toolRadius,
meshlib.FaceBitSet region,
int maxIterations,
int relaxExpansion,
int relaxIterations,
float relaxForce,
meshlib.std_function_bool_from_float callback )

Constructs MR::CompensateRadiusParams elementwise. The reference to the parameter direction might be preserved in the constructed object. The reference to the parameter region might be preserved in the constructed object. The reference to the parameter callback might be preserved in the constructed object.

Calls MR_CompensateRadiusParams_ConstructFrom().

◆ CompensateRadiusParams() [4/4]

meshlib.CompensateRadiusParams.CompensateRadiusParams ( meshlib.CompensateRadiusParams _other)

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

Calls MR_CompensateRadiusParams_ConstructFromAnother().

Member Function Documentation

◆ assignFromAnother()

meshlib.CompensateRadiusParams meshlib.CompensateRadiusParams.assignFromAnother ( meshlib.CompensateRadiusParams _other)

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

Calls MR_CompensateRadiusParams_AssignFromAnother().

◆ callback()

meshlib.std_function_bool_from_float meshlib.CompensateRadiusParams.callback ( )

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

Calls MR_CompensateRadiusParams_Get_callback().

◆ direction()

meshlib.Vector3f meshlib.CompensateRadiusParams.direction ( )

Z direction of milling tool Returns a pointer to a member variable of class MR::CompensateRadiusParams named direction. The reference to this object might be preserved as the return value.

Calls MR_CompensateRadiusParams_Get_direction().

◆ maxIterations()

int meshlib.CompensateRadiusParams.maxIterations ( )

maximum iteration of applying algorithm (each iteration improves result a little bit) Returns a pointer to a member variable of class MR::CompensateRadiusParams named maxIterations. The reference to this object might be preserved as the return value.

Calls MR_CompensateRadiusParams_Get_maxIterations().

◆ region()

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

region of the mesh that will be compensated it should not contain closed components also please note that boundaries of the region are fixed Returns a pointer to a member variable of class MR::CompensateRadiusParams named region. The reference to this object might be preserved as the return value.

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

◆ relaxExpansion()

int meshlib.CompensateRadiusParams.relaxExpansion ( )

how many hops to expand around each moved vertex for relaxation Returns a pointer to a member variable of class MR::CompensateRadiusParams named relaxExpansion. The reference to this object might be preserved as the return value.

Calls MR_CompensateRadiusParams_Get_relaxExpansion().

◆ relaxForce()

float meshlib.CompensateRadiusParams.relaxForce ( )

force of relaxations on each compensation iteration Returns a pointer to a member variable of class MR::CompensateRadiusParams named relaxForce. The reference to this object might be preserved as the return value.

Calls MR_CompensateRadiusParams_Get_relaxForce().

◆ relaxIterations()

int meshlib.CompensateRadiusParams.relaxIterations ( )

how many iterations of relax is applied on each compensation iteration Returns a pointer to a member variable of class MR::CompensateRadiusParams named relaxIterations. The reference to this object might be preserved as the return value.

Calls MR_CompensateRadiusParams_Get_relaxIterations().

◆ setCallback()

void meshlib.CompensateRadiusParams.setCallback ( meshlib.std_function_bool_from_float value)

Modifies a member variable of class MR::CompensateRadiusParams named callback. The reference to the parameter value might be preserved in this object in element callback.

Calls MR_CompensateRadiusParams_Set_callback().

◆ setDirection()

void meshlib.CompensateRadiusParams.setDirection ( meshlib.Vector3f value)

Z direction of milling tool Modifies a member variable of class MR::CompensateRadiusParams named direction. The reference to the parameter value might be preserved in this object in element direction.

Calls MR_CompensateRadiusParams_Set_direction().

◆ setMaxIterations()

void meshlib.CompensateRadiusParams.setMaxIterations ( int value)

maximum iteration of applying algorithm (each iteration improves result a little bit) Modifies a member variable of class MR::CompensateRadiusParams named maxIterations.

Calls MR_CompensateRadiusParams_Set_maxIterations().

◆ setRegion()

void meshlib.CompensateRadiusParams.setRegion ( meshlib.FaceBitSet value)

region of the mesh that will be compensated it should not contain closed components also please note that boundaries of the region are fixed Modifies a member variable of class MR::CompensateRadiusParams named region. The reference to the parameter value might be preserved in this object in element region.

Calls MR_CompensateRadiusParams_Set_region().

◆ setRelaxExpansion()

void meshlib.CompensateRadiusParams.setRelaxExpansion ( int value)

how many hops to expand around each moved vertex for relaxation Modifies a member variable of class MR::CompensateRadiusParams named relaxExpansion.

Calls MR_CompensateRadiusParams_Set_relaxExpansion().

◆ setRelaxForce()

void meshlib.CompensateRadiusParams.setRelaxForce ( float value)

force of relaxations on each compensation iteration Modifies a member variable of class MR::CompensateRadiusParams named relaxForce.

Calls MR_CompensateRadiusParams_Set_relaxForce().

◆ setRelaxIterations()

void meshlib.CompensateRadiusParams.setRelaxIterations ( int value)

how many iterations of relax is applied on each compensation iteration Modifies a member variable of class MR::CompensateRadiusParams named relaxIterations.

Calls MR_CompensateRadiusParams_Set_relaxIterations().

◆ setToolRadius()

void meshlib.CompensateRadiusParams.setToolRadius ( float value)

radius of spherical tool Modifies a member variable of class MR::CompensateRadiusParams named toolRadius.

Calls MR_CompensateRadiusParams_Set_toolRadius().

◆ toolRadius()

float meshlib.CompensateRadiusParams.toolRadius ( )

radius of spherical tool Returns a pointer to a member variable of class MR::CompensateRadiusParams named toolRadius. The reference to this object might be preserved as the return value.

Calls MR_CompensateRadiusParams_Get_toolRadius().


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