Public Member Functions | |
| TrimWithPlaneParams (java.lang.foreign.MemorySegment ptr, boolean owned, java.lang.Object owner) | |
| TrimWithPlaneParams () | |
| TrimWithPlaneParams (meshlib.Plane3f plane, float eps, meshlib.std_function_void_from_MR_EdgeId_MR_EdgeId_float onEdgeSplitCallback) | |
| TrimWithPlaneParams (meshlib.TrimWithPlaneParams _other) | |
| meshlib.TrimWithPlaneParams | assignFromAnother (meshlib.TrimWithPlaneParams _other) |
| meshlib.Plane3f | plane () |
| void | setPlane (meshlib.Plane3f value) |
| float | eps () |
| void | setEps (float value) |
| meshlib.std_function_void_from_MR_EdgeId_MR_EdgeId_float | onEdgeSplitCallback () |
| void | setOnEdgeSplitCallback (meshlib.std_function_void_from_MR_EdgeId_MR_EdgeId_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) | |
stores basic params for trimWithPlane function Generated from class MR::TrimWithPlaneParams.
Instances created here own their C++ objects, see CppObject.
| meshlib.TrimWithPlaneParams.TrimWithPlaneParams | ( | 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.TrimWithPlaneParams.TrimWithPlaneParams | ( | ) |
Constructs an empty (default-constructed) instance.
Calls MR_TrimWithPlaneParams_DefaultConstruct().
| meshlib.TrimWithPlaneParams.TrimWithPlaneParams | ( | meshlib.Plane3f | plane, |
| float | eps, | ||
| meshlib.std_function_void_from_MR_EdgeId_MR_EdgeId_float | onEdgeSplitCallback ) |
Constructs MR::TrimWithPlaneParams elementwise. The reference to the parameter plane might be preserved in the constructed object. The reference to the parameter onEdgeSplitCallback might be preserved in the constructed object.
Calls MR_TrimWithPlaneParams_ConstructFrom().
| meshlib.TrimWithPlaneParams.TrimWithPlaneParams | ( | meshlib.TrimWithPlaneParams | _other | ) |
Generated from constructor MR::TrimWithPlaneParams::TrimWithPlaneParams. The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object.
Calls MR_TrimWithPlaneParams_ConstructFromAnother().
| meshlib.TrimWithPlaneParams meshlib.TrimWithPlaneParams.assignFromAnother | ( | meshlib.TrimWithPlaneParams | _other | ) |
Generated from method MR::TrimWithPlaneParams::operator=. The reference to things referred to by the parameter _other (if any) might be preserved in this object.
Calls MR_TrimWithPlaneParams_AssignFromAnother().
| float meshlib.TrimWithPlaneParams.eps | ( | ) |
if existing vertex is within eps distance from the plane, then move the vertex not introducing new ones Returns a pointer to a member variable of class MR::TrimWithPlaneParams named eps. The reference to this object might be preserved as the return value.
Calls MR_TrimWithPlaneParams_Get_eps().
| meshlib.std_function_void_from_MR_EdgeId_MR_EdgeId_float meshlib.TrimWithPlaneParams.onEdgeSplitCallback | ( | ) |
is invoked each time when an edge is split. Receives edge ID before split, edge ID after split, and weight of the origin vertex Returns a pointer to a member variable of class MR::TrimWithPlaneParams named onEdgeSplitCallback. The reference to this object might be preserved as the return value.
Calls MR_TrimWithPlaneParams_Get_onEdgeSplitCallback().
| meshlib.Plane3f meshlib.TrimWithPlaneParams.plane | ( | ) |
Input plane to cut mesh with Returns a pointer to a member variable of class MR::TrimWithPlaneParams named plane. The reference to this object might be preserved as the return value.
Calls MR_TrimWithPlaneParams_Get_plane().
| void meshlib.TrimWithPlaneParams.setEps | ( | float | value | ) |
if existing vertex is within eps distance from the plane, then move the vertex not introducing new ones Modifies a member variable of class MR::TrimWithPlaneParams named eps.
Calls MR_TrimWithPlaneParams_Set_eps().
| void meshlib.TrimWithPlaneParams.setOnEdgeSplitCallback | ( | meshlib.std_function_void_from_MR_EdgeId_MR_EdgeId_float | value | ) |
is invoked each time when an edge is split. Receives edge ID before split, edge ID after split, and weight of the origin vertex Modifies a member variable of class MR::TrimWithPlaneParams named onEdgeSplitCallback. The reference to the parameter value might be preserved in this object in element onEdgeSplitCallback.
Calls MR_TrimWithPlaneParams_Set_onEdgeSplitCallback().
| void meshlib.TrimWithPlaneParams.setPlane | ( | meshlib.Plane3f | value | ) |
Input plane to cut mesh with Modifies a member variable of class MR::TrimWithPlaneParams named plane. The reference to the parameter value might be preserved in this object in element plane.
Calls MR_TrimWithPlaneParams_Set_plane().