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

Public Member Functions

 ThickenParams (java.lang.foreign.MemorySegment ptr, boolean owned, java.lang.Object owner)
 ThickenParams ()
 ThickenParams (float outsideOffset, float insideOffset, float normalsTrustFactor)
 ThickenParams (meshlib.ThickenParams _other)
meshlib.ThickenParams assignFromAnother (meshlib.ThickenParams _other)
float outsideOffset ()
void setOutsideOffset (float value)
float insideOffset ()
void setInsideOffset (float value)
float normalsTrustFactor ()
void setNormalsTrustFactor (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::ThickenParams.

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

Constructor & Destructor Documentation

◆ ThickenParams() [1/4]

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

◆ ThickenParams() [2/4]

meshlib.ThickenParams.ThickenParams ( )

Constructs an empty (default-constructed) instance.

Calls MR_ThickenParams_DefaultConstruct().

◆ ThickenParams() [3/4]

meshlib.ThickenParams.ThickenParams ( float outsideOffset,
float insideOffset,
float normalsTrustFactor )

Constructs MR::ThickenParams elementwise.

Calls MR_ThickenParams_ConstructFrom().

◆ ThickenParams() [4/4]

meshlib.ThickenParams.ThickenParams ( meshlib.ThickenParams _other)

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

Calls MR_ThickenParams_ConstructFromAnother().

Member Function Documentation

◆ assignFromAnother()

meshlib.ThickenParams meshlib.ThickenParams.assignFromAnother ( meshlib.ThickenParams _other)

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

Calls MR_ThickenParams_AssignFromAnother().

◆ insideOffset()

float meshlib.ThickenParams.insideOffset ( )

the amount of offset for cloned mirrored mesh vertices in the opposite direction Returns a pointer to a member variable of class MR::ThickenParams named insideOffset. The reference to this object might be preserved as the return value.

Calls MR_ThickenParams_Get_insideOffset().

◆ normalsTrustFactor()

float meshlib.ThickenParams.normalsTrustFactor ( )

increasing this value will lead mesh vertices to shift in the directions closer to their raw pseudo-normals, but it will increase the probability of self-intersections as well; decreasing (to a positive value) will on the contrary make the field of shift directions smoother Returns a pointer to a member variable of class MR::ThickenParams named normalsTrustFactor. The reference to this object might be preserved as the return value.

Calls MR_ThickenParams_Get_normalsTrustFactor().

◆ outsideOffset()

float meshlib.ThickenParams.outsideOffset ( )

the amount of offset for original mesh vertices Returns a pointer to a member variable of class MR::ThickenParams named outsideOffset. The reference to this object might be preserved as the return value.

Calls MR_ThickenParams_Get_outsideOffset().

◆ setInsideOffset()

void meshlib.ThickenParams.setInsideOffset ( float value)

the amount of offset for cloned mirrored mesh vertices in the opposite direction Modifies a member variable of class MR::ThickenParams named insideOffset.

Calls MR_ThickenParams_Set_insideOffset().

◆ setNormalsTrustFactor()

void meshlib.ThickenParams.setNormalsTrustFactor ( float value)

increasing this value will lead mesh vertices to shift in the directions closer to their raw pseudo-normals, but it will increase the probability of self-intersections as well; decreasing (to a positive value) will on the contrary make the field of shift directions smoother Modifies a member variable of class MR::ThickenParams named normalsTrustFactor.

Calls MR_ThickenParams_Set_normalsTrustFactor().

◆ setOutsideOffset()

void meshlib.ThickenParams.setOutsideOffset ( float value)

the amount of offset for original mesh vertices Modifies a member variable of class MR::ThickenParams named outsideOffset.

Calls MR_ThickenParams_Set_outsideOffset().


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