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) | |
a mesh of the boolean and its contours of intersection with the other mesh before the cut, with the boolean's data for an exact cut; the contours can include lone ones (inside one face, crossing none of its edges), which cutMesh connects exactly only given the boolean's sorting data, see sortData Generated from class MR::BooleanPreCutResult.
Instances created here own their C++ objects, see CppObject.
| meshlib.BooleanPreCutResult.BooleanPreCutResult | ( | 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.BooleanPreCutResult.BooleanPreCutResult | ( | ) |
Constructs an empty (default-constructed) instance.
Calls MR_BooleanPreCutResult_DefaultConstruct().
| meshlib.BooleanPreCutResult.BooleanPreCutResult | ( | meshlib.Mesh | mesh, |
| meshlib.OneMeshContours | contours, | ||
| meshlib.Vector_MR_Vector_MR_VarEdgeTri | intersections, | ||
| meshlib.ConvertToIntVector | toInt, | ||
| meshlib.AffineXf3f | rigidB2A, | ||
| long | meshAVertsNum, | ||
| boolean | isMeshA ) |
Constructs MR::BooleanPreCutResult elementwise. The reference to the parameter mesh might be preserved in the constructed object. The reference to the parameter contours might be preserved in the constructed object. The reference to the parameter intersections might be preserved in the constructed object. The reference to the parameter toInt might be preserved in the constructed object. The reference to the parameter rigidB2A might be preserved in the constructed object. The reference to the parameter meshAVertsNum might be preserved in the constructed object.
Calls MR_BooleanPreCutResult_ConstructFrom().
| meshlib.BooleanPreCutResult.BooleanPreCutResult | ( | meshlib.BooleanPreCutResult | _other | ) |
Generated from constructor MR::BooleanPreCutResult::BooleanPreCutResult. The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object.
Calls MR_BooleanPreCutResult_ConstructFromAnother().
| meshlib.BooleanPreCutResult meshlib.BooleanPreCutResult.assignFromAnother | ( | meshlib.BooleanPreCutResult | _other | ) |
Generated from method MR::BooleanPreCutResult::operator=. The reference to things referred to by the parameter _other (if any) might be preserved in this object.
Calls MR_BooleanPreCutResult_AssignFromAnother().
| meshlib.OneMeshContours meshlib.BooleanPreCutResult.contours | ( | ) |
Returns a pointer to a member variable of class MR::BooleanPreCutResult named contours. The reference to this object might be preserved as the return value.
Calls MR_BooleanPreCutResult_Get_contours().
| meshlib.Vector_MR_Vector_MR_VarEdgeTri meshlib.BooleanPreCutResult.intersections | ( | ) |
the boolean's ordered intersections of both meshes, without the closed contours of two points Returns a pointer to a member variable of class MR::BooleanPreCutResult named intersections. The reference to this object might be preserved as the return value.
Calls MR_BooleanPreCutResult_Get_intersections().
| boolean meshlib.BooleanPreCutResult.isMeshA | ( | ) |
whether mesh is mesh A of the boolean Returns a pointer to a member variable of class MR::BooleanPreCutResult named isMeshA. The reference to this object might be preserved as the return value.
Calls MR_BooleanPreCutResult_Get_isMeshA().
| meshlib.Mesh meshlib.BooleanPreCutResult.mesh | ( | ) |
Returns a pointer to a member variable of class MR::BooleanPreCutResult named mesh. The reference to this object might be preserved as the return value.
Calls MR_BooleanPreCutResult_Get_mesh().
| long meshlib.BooleanPreCutResult.meshAVertsNum | ( | ) |
the number of vertices of mesh A before any cut Returns a pointer to a member variable of class MR::BooleanPreCutResult named meshAVertsNum. The reference to this object might be preserved as the return value.
Calls MR_BooleanPreCutResult_Get_meshAVertsNum().
| meshlib.std_optional_MR_AffineXf3f meshlib.BooleanPreCutResult.rigidB2A | ( | ) |
a copy of the boolean's transformation from mesh B to mesh A Returns a pointer to a member variable of class MR::BooleanPreCutResult named rigidB2A. The reference to this object might be preserved as the return value.
Calls MR_BooleanPreCutResult_Get_rigidB2A().
| void meshlib.BooleanPreCutResult.setContours | ( | meshlib.OneMeshContours | value | ) |
Modifies a member variable of class MR::BooleanPreCutResult named contours. The reference to the parameter value might be preserved in this object in element contours.
Calls MR_BooleanPreCutResult_Set_contours().
| void meshlib.BooleanPreCutResult.setIntersections | ( | meshlib.Vector_MR_Vector_MR_VarEdgeTri | value | ) |
the boolean's ordered intersections of both meshes, without the closed contours of two points Modifies a member variable of class MR::BooleanPreCutResult named intersections. The reference to the parameter value might be preserved in this object in element intersections.
Calls MR_BooleanPreCutResult_Set_intersections().
| void meshlib.BooleanPreCutResult.setIsMeshA | ( | boolean | value | ) |
whether mesh is mesh A of the boolean Modifies a member variable of class MR::BooleanPreCutResult named isMeshA.
Calls MR_BooleanPreCutResult_Set_isMeshA().
| void meshlib.BooleanPreCutResult.setMesh | ( | meshlib.Mesh | value | ) |
Modifies a member variable of class MR::BooleanPreCutResult named mesh. The reference to the parameter value might be preserved in this object in element mesh.
Calls MR_BooleanPreCutResult_Set_mesh().
| void meshlib.BooleanPreCutResult.setMeshAVertsNum | ( | long | value | ) |
the number of vertices of mesh A before any cut Modifies a member variable of class MR::BooleanPreCutResult named meshAVertsNum. The reference to the parameter value might be preserved in this object in element meshAVertsNum.
Calls MR_BooleanPreCutResult_Set_meshAVertsNum().
| void meshlib.BooleanPreCutResult.setRigidB2A | ( | meshlib.AffineXf3f | value | ) |
a copy of the boolean's transformation from mesh B to mesh A Modifies a member variable of class MR::BooleanPreCutResult named rigidB2A. The reference to the parameter value might be preserved in this object in element rigidB2A.
Calls MR_BooleanPreCutResult_Set_rigidB2A().
| void meshlib.BooleanPreCutResult.setToInt | ( | meshlib.ConvertToIntVector | value | ) |
the boolean's conversion of the coordinates of both meshes to integers Modifies a member variable of class MR::BooleanPreCutResult named toInt. The reference to the parameter value might be preserved in this object in element toInt.
Calls MR_BooleanPreCutResult_Set_toInt().
| meshlib.SortIntersectionsData meshlib.BooleanPreCutResult.sortData | ( | meshlib.Mesh | otherMesh | ) |
the data to pass cutMesh( mesh, contours ) in CutMeshParameters.sortData for the boolean's exact cut, where otherMesh is the other mesh of the boolean as it was passed to it; the result points into this struct and otherMesh, so both must outlive its use Generated from method MR::BooleanPreCutResult::sortData.
Calls MR_BooleanPreCutResult_sortData().
| meshlib.ConvertToIntVector meshlib.BooleanPreCutResult.toInt | ( | ) |
the boolean's conversion of the coordinates of both meshes to integers Returns a pointer to a member variable of class MR::BooleanPreCutResult named toInt. The reference to this object might be preserved as the return value.
Calls MR_BooleanPreCutResult_Get_toInt().