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::DoubleOffsetSettings.
Instances created here own their C++ objects, see CppObject.
| meshlib.DoubleOffsetSettings.DoubleOffsetSettings | ( | 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.DoubleOffsetSettings.DoubleOffsetSettings | ( | ) |
Constructs an empty (default-constructed) instance.
Calls MR_DoubleOffsetSettings_DefaultConstruct().
| meshlib.DoubleOffsetSettings.DoubleOffsetSettings | ( | float | voxelSize, |
| float | offsetA, | ||
| float | offsetB, | ||
| float | adaptivity, | ||
| meshlib.std_shared_ptr_MR_IFastWindingNumber | fwn, | ||
| float | windingNumberThreshold, | ||
| float | windingNumberBeta, | ||
| meshlib.std_function_bool_from_float | progress ) |
Constructs MR::DoubleOffsetSettings elementwise. The reference to the parameter fwn might be preserved in the constructed object. The reference to the parameter progress might be preserved in the constructed object.
Calls MR_DoubleOffsetSettings_ConstructFrom().
| meshlib.DoubleOffsetSettings.DoubleOffsetSettings | ( | meshlib.DoubleOffsetSettings | _other | ) |
Generated from constructor MR::DoubleOffsetSettings::DoubleOffsetSettings. The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object.
Calls MR_DoubleOffsetSettings_ConstructFromAnother().
| float meshlib.DoubleOffsetSettings.adaptivity | ( | ) |
in [0; 1] - ratio of combining small triangles into bigger ones (curvature can be lost on high values) Returns a pointer to a member variable of class MR::DoubleOffsetSettings named adaptivity. The reference to this object might be preserved as the return value.
Calls MR_DoubleOffsetSettings_Get_adaptivity().
| meshlib.DoubleOffsetSettings meshlib.DoubleOffsetSettings.assignFromAnother | ( | meshlib.DoubleOffsetSettings | _other | ) |
Generated from method MR::DoubleOffsetSettings::operator=. The reference to things referred to by the parameter _other (if any) might be preserved in this object.
Calls MR_DoubleOffsetSettings_AssignFromAnother().
| meshlib.std_shared_ptr_MR_IFastWindingNumber meshlib.DoubleOffsetSettings.fwn | ( | ) |
defines particular implementation of IFastWindingNumber interface that will compute windings. If it is not specified, default FastWindingNumber is used Returns a pointer to a member variable of class MR::DoubleOffsetSettings named fwn. The reference to this object might be preserved as the return value.
Calls MR_DoubleOffsetSettings_Get_fwn().
| float meshlib.DoubleOffsetSettings.offsetA | ( | ) |
the amount of first offset Returns a pointer to a member variable of class MR::DoubleOffsetSettings named offsetA. The reference to this object might be preserved as the return value.
Calls MR_DoubleOffsetSettings_Get_offsetA().
| float meshlib.DoubleOffsetSettings.offsetB | ( | ) |
the amount of second offset Returns a pointer to a member variable of class MR::DoubleOffsetSettings named offsetB. The reference to this object might be preserved as the return value.
Calls MR_DoubleOffsetSettings_Get_offsetB().
| meshlib.std_function_bool_from_float meshlib.DoubleOffsetSettings.progress | ( | ) |
to report algorithm's progress and to cancel it Returns a pointer to a member variable of class MR::DoubleOffsetSettings named progress. The reference to this object might be preserved as the return value.
Calls MR_DoubleOffsetSettings_Get_progress().
| void meshlib.DoubleOffsetSettings.setAdaptivity | ( | float | value | ) |
in [0; 1] - ratio of combining small triangles into bigger ones (curvature can be lost on high values) Modifies a member variable of class MR::DoubleOffsetSettings named adaptivity.
Calls MR_DoubleOffsetSettings_Set_adaptivity().
| void meshlib.DoubleOffsetSettings.setFwn | ( | meshlib.std_shared_ptr_MR_IFastWindingNumber | value | ) |
defines particular implementation of IFastWindingNumber interface that will compute windings. If it is not specified, default FastWindingNumber is used Modifies a member variable of class MR::DoubleOffsetSettings named fwn. The reference to the parameter value might be preserved in this object in element fwn.
Calls MR_DoubleOffsetSettings_Set_fwn().
| void meshlib.DoubleOffsetSettings.setOffsetA | ( | float | value | ) |
the amount of first offset Modifies a member variable of class MR::DoubleOffsetSettings named offsetA.
Calls MR_DoubleOffsetSettings_Set_offsetA().
| void meshlib.DoubleOffsetSettings.setOffsetB | ( | float | value | ) |
the amount of second offset Modifies a member variable of class MR::DoubleOffsetSettings named offsetB.
Calls MR_DoubleOffsetSettings_Set_offsetB().
| void meshlib.DoubleOffsetSettings.setProgress | ( | meshlib.std_function_bool_from_float | value | ) |
to report algorithm's progress and to cancel it Modifies a member variable of class MR::DoubleOffsetSettings named progress. The reference to the parameter value might be preserved in this object in element progress.
Calls MR_DoubleOffsetSettings_Set_progress().
| void meshlib.DoubleOffsetSettings.setVoxelSize | ( | float | value | ) |
the size of voxel in intermediate voxel grid representation Modifies a member variable of class MR::DoubleOffsetSettings named voxelSize.
Calls MR_DoubleOffsetSettings_Set_voxelSize().
| void meshlib.DoubleOffsetSettings.setWindingNumberBeta | ( | float | value | ) |
determines the precision of fast approximation: the more the better, minimum value is 1 Modifies a member variable of class MR::DoubleOffsetSettings named windingNumberBeta.
Calls MR_DoubleOffsetSettings_Set_windingNumberBeta().
| void meshlib.DoubleOffsetSettings.setWindingNumberThreshold | ( | float | value | ) |
positive distance if winding number below or equal this threshold; ideal threshold: 0.5 for closed meshes; 0.0 for planar meshes Modifies a member variable of class MR::DoubleOffsetSettings named windingNumberThreshold.
Calls MR_DoubleOffsetSettings_Set_windingNumberThreshold().
| float meshlib.DoubleOffsetSettings.voxelSize | ( | ) |
the size of voxel in intermediate voxel grid representation Returns a pointer to a member variable of class MR::DoubleOffsetSettings named voxelSize. The reference to this object might be preserved as the return value.
Calls MR_DoubleOffsetSettings_Get_voxelSize().
| float meshlib.DoubleOffsetSettings.windingNumberBeta | ( | ) |
determines the precision of fast approximation: the more the better, minimum value is 1 Returns a pointer to a member variable of class MR::DoubleOffsetSettings named windingNumberBeta. The reference to this object might be preserved as the return value.
Calls MR_DoubleOffsetSettings_Get_windingNumberBeta().
| float meshlib.DoubleOffsetSettings.windingNumberThreshold | ( | ) |
positive distance if winding number below or equal this threshold; ideal threshold: 0.5 for closed meshes; 0.0 for planar meshes Returns a pointer to a member variable of class MR::DoubleOffsetSettings named windingNumberThreshold. The reference to this object might be preserved as the return value.
Calls MR_DoubleOffsetSettings_Get_windingNumberThreshold().