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) | |
Generated from class MR::ThickenParams.
Instances created here own their C++ objects, see CppObject.
| 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.
| meshlib.ThickenParams.ThickenParams | ( | ) |
Constructs an empty (default-constructed) instance.
Calls MR_ThickenParams_DefaultConstruct().
| meshlib.ThickenParams.ThickenParams | ( | float | outsideOffset, |
| float | insideOffset, | ||
| float | normalsTrustFactor ) |
Constructs MR::ThickenParams elementwise.
Calls MR_ThickenParams_ConstructFrom().
| 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().
| 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().
| 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().
| 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().
| 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().
| 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().
| 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().
| 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().