Static Public Member Functions | |
| static auto | new () -> meshlib::Owned< meshlib::BooleanPreCutResult > |
| static auto | construct_from (mesh:&meshlib::Mesh, contours:&meshlib::OneMeshContours, intersections:&meshlib::Vector_MR_Vector_MR_VarEdgeTri, toInt:&meshlib::ConvertToIntVector, rigidB2A:Option<&meshlib::AffineXf3f >, meshAVertsNum:usize, isMeshA:bool) -> meshlib::Owned< meshlib::BooleanPreCutResult > |
| static auto | construct_from_another (_other:&meshlib::BooleanPreCutResult) -> meshlib::Owned< meshlib::BooleanPreCutResult > |
| Static Public Member Functions inherited from meshlib::CppClass | |
| static void | destroy (ptr:*mut Self) |
| Static Public Member Functions inherited from meshlib::CppCopy | |
| static auto | copy (ptr:*const Self) -> *mut Self |
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.
Generated from class MR::BooleanPreCutResult. Heap-allocated instances are held in Owned<BooleanPreCutResult>.
| auto meshlib::BooleanPreCutResult::assign_from_another | ( | _other:&meshlib::BooleanPreCutResult | ) | -> &mut meshlib::BooleanPreCutResult |
Generated from method MR::BooleanPreCutResult::operator=.
Calls MR_BooleanPreCutResult_AssignFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in this object.
|
static |
Constructs MR::BooleanPreCutResult elementwise.
Calls MR_BooleanPreCutResult_ConstructFrom(). 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.
|
static |
Generated from constructor MR::BooleanPreCutResult::BooleanPreCutResult.
Calls MR_BooleanPreCutResult_ConstructFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object.
| auto meshlib::BooleanPreCutResult::contours | ( | ) | const -> &meshlib::OneMeshContours |
Returns a pointer to a member variable of class MR::BooleanPreCutResult named contours.
Calls MR_BooleanPreCutResult_Get_contours(). The reference to this object might be preserved as the return value.
| auto meshlib::BooleanPreCutResult::contours_mut | ( | ) | -> &mut meshlib::OneMeshContours |
Returns a mutable pointer to a member variable of class MR::BooleanPreCutResult named contours.
Calls MR_BooleanPreCutResult_GetMutable_contours(). The reference to this object might be preserved as the return value.
| auto meshlib::BooleanPreCutResult::intersections | ( | ) | const -> &meshlib::Vector_MR_Vector_MR_VarEdgeTri |
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.
Calls MR_BooleanPreCutResult_Get_intersections(). The reference to this object might be preserved as the return value.
| auto meshlib::BooleanPreCutResult::intersections_mut | ( | ) | -> &mut meshlib::Vector_MR_Vector_MR_VarEdgeTri |
the boolean's ordered intersections of both meshes, without the closed contours of two points Returns a mutable pointer to a member variable of class MR::BooleanPreCutResult named intersections.
Calls MR_BooleanPreCutResult_GetMutable_intersections(). The reference to this object might be preserved as the return value.
| auto meshlib::BooleanPreCutResult::is_mesh_a | ( | ) | const -> &bool |
whether mesh is mesh A of the boolean Returns a pointer to a member variable of class MR::BooleanPreCutResult named isMeshA.
Calls MR_BooleanPreCutResult_Get_isMeshA(). The reference to this object might be preserved as the return value.
| auto meshlib::BooleanPreCutResult::is_mesh_a_mut | ( | ) | -> &mut bool |
whether mesh is mesh A of the boolean Returns a mutable pointer to a member variable of class MR::BooleanPreCutResult named isMeshA.
Calls MR_BooleanPreCutResult_GetMutable_isMeshA(). The reference to this object might be preserved as the return value.
| auto meshlib::BooleanPreCutResult::mesh | ( | ) | const -> &meshlib::Mesh |
Returns a pointer to a member variable of class MR::BooleanPreCutResult named mesh.
Calls MR_BooleanPreCutResult_Get_mesh(). The reference to this object might be preserved as the return value.
| auto meshlib::BooleanPreCutResult::mesh_a_verts_num | ( | ) | const -> &usize |
the number of vertices of mesh A before any cut Returns a pointer to a member variable of class MR::BooleanPreCutResult named meshAVertsNum.
Calls MR_BooleanPreCutResult_Get_meshAVertsNum(). The reference to this object might be preserved as the return value.
| auto meshlib::BooleanPreCutResult::mesh_a_verts_num_mut | ( | ) | -> &mut usize |
the number of vertices of mesh A before any cut Returns a mutable pointer to a member variable of class MR::BooleanPreCutResult named meshAVertsNum.
Calls MR_BooleanPreCutResult_GetMutable_meshAVertsNum(). The reference to this object might be preserved as the return value.
| auto meshlib::BooleanPreCutResult::mesh_mut | ( | ) | -> &mut meshlib::Mesh |
Returns a mutable pointer to a member variable of class MR::BooleanPreCutResult named mesh.
Calls MR_BooleanPreCutResult_GetMutable_mesh(). The reference to this object might be preserved as the return value.
|
static |
Constructs an empty (default-constructed) instance.
Calls MR_BooleanPreCutResult_DefaultConstruct().
| auto meshlib::BooleanPreCutResult::rigid_b2_a | ( | ) | const -> &meshlib::std_optional_MR_AffineXf3f |
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.
Calls MR_BooleanPreCutResult_Get_rigidB2A(). The reference to this object might be preserved as the return value.
| auto meshlib::BooleanPreCutResult::rigid_b2_a_mut | ( | ) | -> &mut meshlib::std_optional_MR_AffineXf3f |
a copy of the boolean's transformation from mesh B to mesh A Returns a mutable pointer to a member variable of class MR::BooleanPreCutResult named rigidB2A.
Calls MR_BooleanPreCutResult_GetMutable_rigidB2A(). The reference to this object might be preserved as the return value.
| void meshlib::BooleanPreCutResult::set_contours | ( | value:&meshlib::OneMeshContours | ) |
Modifies a member variable of class MR::BooleanPreCutResult named contours.
Calls MR_BooleanPreCutResult_Set_contours(). The reference to the parameter value might be preserved in this object in element contours.
| void meshlib::BooleanPreCutResult::set_intersections | ( | value:&meshlib::Vector_MR_Vector_MR_VarEdgeTri | ) |
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.
Calls MR_BooleanPreCutResult_Set_intersections(). The reference to the parameter value might be preserved in this object in element intersections.
| void meshlib::BooleanPreCutResult::set_is_mesh_a | ( | value:bool | ) |
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::set_mesh | ( | value:&meshlib::Mesh | ) |
Modifies a member variable of class MR::BooleanPreCutResult named mesh.
Calls MR_BooleanPreCutResult_Set_mesh(). The reference to the parameter value might be preserved in this object in element mesh.
| void meshlib::BooleanPreCutResult::set_mesh_a_verts_num | ( | value:usize | ) |
the number of vertices of mesh A before any cut Modifies a member variable of class MR::BooleanPreCutResult named meshAVertsNum.
Calls MR_BooleanPreCutResult_Set_meshAVertsNum(). The reference to the parameter value might be preserved in this object in element meshAVertsNum.
| void meshlib::BooleanPreCutResult::set_rigid_b2_a | ( | value:Option<&meshlib::AffineXf3f > | ) |
a copy of the boolean's transformation from mesh B to mesh A Modifies a member variable of class MR::BooleanPreCutResult named rigidB2A.
Calls MR_BooleanPreCutResult_Set_rigidB2A(). The reference to the parameter value might be preserved in this object in element rigidB2A.
| void meshlib::BooleanPreCutResult::set_to_int | ( | value:&meshlib::ConvertToIntVector | ) |
the boolean's conversion of the coordinates of both meshes to integers Modifies a member variable of class MR::BooleanPreCutResult named toInt.
Calls MR_BooleanPreCutResult_Set_toInt(). The reference to the parameter value might be preserved in this object in element toInt.
| auto meshlib::BooleanPreCutResult::sort_data | ( | otherMesh:&meshlib::Mesh | ) | const -> meshlib::Owned< meshlib::SortIntersectionsData > |
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().
| auto meshlib::BooleanPreCutResult::to_int | ( | ) | const -> &meshlib::ConvertToIntVector |
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.
Calls MR_BooleanPreCutResult_Get_toInt(). The reference to this object might be preserved as the return value.
| auto meshlib::BooleanPreCutResult::to_int_mut | ( | ) | -> &mut meshlib::ConvertToIntVector |
the boolean's conversion of the coordinates of both meshes to integers Returns a mutable pointer to a member variable of class MR::BooleanPreCutResult named toInt.
Calls MR_BooleanPreCutResult_GetMutable_toInt(). The reference to this object might be preserved as the return value.