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::PolylineSubdivideSettings.
Instances created here own their C++ objects, see CppObject.
| meshlib.PolylineSubdivideSettings.PolylineSubdivideSettings | ( | 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.PolylineSubdivideSettings.PolylineSubdivideSettings | ( | ) |
Constructs an empty (default-constructed) instance.
Calls MR_PolylineSubdivideSettings_DefaultConstruct().
| meshlib.PolylineSubdivideSettings.PolylineSubdivideSettings | ( | float | maxEdgeLen, |
| int | maxEdgeSplits, | ||
| meshlib.VertBitSet | region, | ||
| meshlib.VertBitSet | newVerts, | ||
| boolean | useCurvature, | ||
| meshlib.std_function_void_from_MR_VertId | onVertCreated, | ||
| meshlib.std_function_void_from_MR_EdgeId_MR_EdgeId | onEdgeSplit, | ||
| meshlib.std_function_bool_from_float | progressCallback ) |
Constructs MR::PolylineSubdivideSettings elementwise. The reference to the parameter region might be preserved in the constructed object. The reference to the parameter newVerts might be preserved in the constructed object. The reference to the parameter onVertCreated might be preserved in the constructed object. The reference to the parameter onEdgeSplit might be preserved in the constructed object. The reference to the parameter progressCallback might be preserved in the constructed object.
Calls MR_PolylineSubdivideSettings_ConstructFrom().
| meshlib.PolylineSubdivideSettings.PolylineSubdivideSettings | ( | meshlib.PolylineSubdivideSettings | _other | ) |
Generated from constructor MR::PolylineSubdivideSettings::PolylineSubdivideSettings. The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object.
Calls MR_PolylineSubdivideSettings_ConstructFromAnother().
| meshlib.PolylineSubdivideSettings meshlib.PolylineSubdivideSettings.assignFromAnother | ( | meshlib.PolylineSubdivideSettings | _other | ) |
Generated from method MR::PolylineSubdivideSettings::operator=. The reference to things referred to by the parameter _other (if any) might be preserved in this object.
Calls MR_PolylineSubdivideSettings_AssignFromAnother().
| float meshlib.PolylineSubdivideSettings.maxEdgeLen | ( | ) |
Subdivision is stopped when all edges are not longer than this value Returns a pointer to a member variable of class MR::PolylineSubdivideSettings named maxEdgeLen. The reference to this object might be preserved as the return value.
Calls MR_PolylineSubdivideSettings_Get_maxEdgeLen().
| int meshlib.PolylineSubdivideSettings.maxEdgeSplits | ( | ) |
Maximum number of edge splits allowed Returns a pointer to a member variable of class MR::PolylineSubdivideSettings named maxEdgeSplits. The reference to this object might be preserved as the return value.
Calls MR_PolylineSubdivideSettings_Get_maxEdgeSplits().
| java.lang.foreign.MemorySegment meshlib.PolylineSubdivideSettings.newVerts | ( | ) |
New vertices appeared during subdivision will be added here Returns a pointer to a member variable of class MR::PolylineSubdivideSettings named newVerts. The reference to this object might be preserved as the return value.
Calls MR_PolylineSubdivideSettings_Get_newVerts(). Some types are raw C types, see the C bindings for the details.
| meshlib.std_function_void_from_MR_EdgeId_MR_EdgeId meshlib.PolylineSubdivideSettings.onEdgeSplit | ( | ) |
this function is called each time edge (e) is split into (e1->e) Returns a pointer to a member variable of class MR::PolylineSubdivideSettings named onEdgeSplit. The reference to this object might be preserved as the return value.
Calls MR_PolylineSubdivideSettings_Get_onEdgeSplit().
| meshlib.std_function_void_from_MR_VertId meshlib.PolylineSubdivideSettings.onVertCreated | ( | ) |
this function is called each time a new vertex has been created Returns a pointer to a member variable of class MR::PolylineSubdivideSettings named onVertCreated. The reference to this object might be preserved as the return value.
Calls MR_PolylineSubdivideSettings_Get_onVertCreated().
| meshlib.std_function_bool_from_float meshlib.PolylineSubdivideSettings.progressCallback | ( | ) |
callback to report algorithm progress and cancel it by user request Returns a pointer to a member variable of class MR::PolylineSubdivideSettings named progressCallback. The reference to this object might be preserved as the return value.
Calls MR_PolylineSubdivideSettings_Get_progressCallback().
| java.lang.foreign.MemorySegment meshlib.PolylineSubdivideSettings.region | ( | ) |
Region on polyline to be subdivided: both edge vertices must be there to allow spitting, it is updated during the operation Returns a pointer to a member variable of class MR::PolylineSubdivideSettings named region. The reference to this object might be preserved as the return value.
Calls MR_PolylineSubdivideSettings_Get_region(). Some types are raw C types, see the C bindings for the details.
| void meshlib.PolylineSubdivideSettings.setMaxEdgeLen | ( | float | value | ) |
Subdivision is stopped when all edges are not longer than this value Modifies a member variable of class MR::PolylineSubdivideSettings named maxEdgeLen.
Calls MR_PolylineSubdivideSettings_Set_maxEdgeLen().
| void meshlib.PolylineSubdivideSettings.setMaxEdgeSplits | ( | int | value | ) |
Maximum number of edge splits allowed Modifies a member variable of class MR::PolylineSubdivideSettings named maxEdgeSplits.
Calls MR_PolylineSubdivideSettings_Set_maxEdgeSplits().
| void meshlib.PolylineSubdivideSettings.setNewVerts | ( | meshlib.VertBitSet | value | ) |
New vertices appeared during subdivision will be added here Modifies a member variable of class MR::PolylineSubdivideSettings named newVerts. The reference to the parameter value might be preserved in this object in element newVerts.
Calls MR_PolylineSubdivideSettings_Set_newVerts().
| void meshlib.PolylineSubdivideSettings.setOnEdgeSplit | ( | meshlib.std_function_void_from_MR_EdgeId_MR_EdgeId | value | ) |
this function is called each time edge (e) is split into (e1->e) Modifies a member variable of class MR::PolylineSubdivideSettings named onEdgeSplit. The reference to the parameter value might be preserved in this object in element onEdgeSplit.
Calls MR_PolylineSubdivideSettings_Set_onEdgeSplit().
| void meshlib.PolylineSubdivideSettings.setOnVertCreated | ( | meshlib.std_function_void_from_MR_VertId | value | ) |
this function is called each time a new vertex has been created Modifies a member variable of class MR::PolylineSubdivideSettings named onVertCreated. The reference to the parameter value might be preserved in this object in element onVertCreated.
Calls MR_PolylineSubdivideSettings_Set_onVertCreated().
| void meshlib.PolylineSubdivideSettings.setProgressCallback | ( | meshlib.std_function_bool_from_float | value | ) |
callback to report algorithm progress and cancel it by user request Modifies a member variable of class MR::PolylineSubdivideSettings named progressCallback. The reference to the parameter value might be preserved in this object in element progressCallback.
Calls MR_PolylineSubdivideSettings_Set_progressCallback().
| void meshlib.PolylineSubdivideSettings.setRegion | ( | meshlib.VertBitSet | value | ) |
Region on polyline to be subdivided: both edge vertices must be there to allow spitting, it is updated during the operation Modifies a member variable of class MR::PolylineSubdivideSettings named region. The reference to the parameter value might be preserved in this object in element region.
Calls MR_PolylineSubdivideSettings_Set_region().
| void meshlib.PolylineSubdivideSettings.setUseCurvature | ( | boolean | value | ) |
This option works best for natural lines, where all segments have similar size, and no sharp angles in between Modifies a member variable of class MR::PolylineSubdivideSettings named useCurvature.
Calls MR_PolylineSubdivideSettings_Set_useCurvature().
| boolean meshlib.PolylineSubdivideSettings.useCurvature | ( | ) |
This option works best for natural lines, where all segments have similar size, and no sharp angles in between Returns a pointer to a member variable of class MR::PolylineSubdivideSettings named useCurvature. The reference to this object might be preserved as the return value.
Calls MR_PolylineSubdivideSettings_Get_useCurvature().