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

Public Member Functions

 CutAroundVertSetsParams (java.lang.foreign.MemorySegment ptr, boolean owned, java.lang.Object owner)
 CutAroundVertSetsParams ()
 CutAroundVertSetsParams (float distance, float gap)
 CutAroundVertSetsParams (meshlib.CutAroundVertSetsParams _other)
meshlib.CutAroundVertSetsParams assignFromAnother (meshlib.CutAroundVertSetsParams _other)
float distance ()
void setDistance (float value)
float gap ()
void setGap (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::CutAroundVertSetsParams.

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

Constructor & Destructor Documentation

◆ CutAroundVertSetsParams() [1/4]

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

◆ CutAroundVertSetsParams() [2/4]

meshlib.CutAroundVertSetsParams.CutAroundVertSetsParams ( )

Constructs an empty (default-constructed) instance.

Calls MR_CutAroundVertSetsParams_DefaultConstruct().

◆ CutAroundVertSetsParams() [3/4]

meshlib.CutAroundVertSetsParams.CutAroundVertSetsParams ( float distance,
float gap )

Constructs MR::CutAroundVertSetsParams elementwise.

Calls MR_CutAroundVertSetsParams_ConstructFrom().

◆ CutAroundVertSetsParams() [4/4]

meshlib.CutAroundVertSetsParams.CutAroundVertSetsParams ( meshlib.CutAroundVertSetsParams _other)

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

Calls MR_CutAroundVertSetsParams_ConstructFromAnother().

Member Function Documentation

◆ assignFromAnother()

meshlib.CutAroundVertSetsParams meshlib.CutAroundVertSetsParams.assignFromAnother ( meshlib.CutAroundVertSetsParams _other)

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

Calls MR_CutAroundVertSetsParams_AssignFromAnother().

◆ distance()

float meshlib.CutAroundVertSetsParams.distance ( )

the mesh is cut along the isolines of surface distance equal to this value around each vertex set Returns a pointer to a member variable of class MR::CutAroundVertSetsParams named distance. The reference to this object might be preserved as the return value.

Calls MR_CutAroundVertSetsParams_Get_distance().

◆ gap()

float meshlib.CutAroundVertSetsParams.gap ( )

keeps the regions of any two vertex sets from overlapping, even if the sets are closer than (2*distance + gap): in the vertices where the sum of two distance fields is less than (2*distance + gap), both values are scaled proportionally to make the sum exactly (2*distance + gap); so the gap is exact in the scaled fields, and the surface gap between two regions is about gap * setsDistance / (2*distance + gap); must be positive, otherwise the isolines of two close sets coincide Returns a pointer to a member variable of class MR::CutAroundVertSetsParams named gap. The reference to this object might be preserved as the return value.

Calls MR_CutAroundVertSetsParams_Get_gap().

◆ setDistance()

void meshlib.CutAroundVertSetsParams.setDistance ( float value)

the mesh is cut along the isolines of surface distance equal to this value around each vertex set Modifies a member variable of class MR::CutAroundVertSetsParams named distance.

Calls MR_CutAroundVertSetsParams_Set_distance().

◆ setGap()

void meshlib.CutAroundVertSetsParams.setGap ( float value)

keeps the regions of any two vertex sets from overlapping, even if the sets are closer than (2*distance + gap): in the vertices where the sum of two distance fields is less than (2*distance + gap), both values are scaled proportionally to make the sum exactly (2*distance + gap); so the gap is exact in the scaled fields, and the surface gap between two regions is about gap * setsDistance / (2*distance + gap); must be positive, otherwise the isolines of two close sets coincide Modifies a member variable of class MR::CutAroundVertSetsParams named gap.

Calls MR_CutAroundVertSetsParams_Set_gap().


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