MeshLib Rust Docs
Loading...
Searching...
No Matches
meshlib::BooleanPreCutResult Struct Reference
Inheritance diagram for meshlib::BooleanPreCutResult:

Public Member Functions

auto assign_from_another (_other:&meshlib::BooleanPreCutResult) -> &mut meshlib::BooleanPreCutResult
auto sort_data (otherMesh:&meshlib::Mesh) const -> meshlib::Owned< meshlib::SortIntersectionsData >
auto mesh () const -> &meshlib::Mesh
auto mesh_mut () -> &mut meshlib::Mesh
void set_mesh (value:&meshlib::Mesh)
auto contours () const -> &meshlib::OneMeshContours
auto contours_mut () -> &mut meshlib::OneMeshContours
void set_contours (value:&meshlib::OneMeshContours)
auto intersections () const -> &meshlib::Vector_MR_Vector_MR_VarEdgeTri
auto intersections_mut () -> &mut meshlib::Vector_MR_Vector_MR_VarEdgeTri
void set_intersections (value:&meshlib::Vector_MR_Vector_MR_VarEdgeTri)
auto to_int () const -> &meshlib::ConvertToIntVector
auto to_int_mut () -> &mut meshlib::ConvertToIntVector
void set_to_int (value:&meshlib::ConvertToIntVector)
auto rigid_b2_a () const -> &meshlib::std_optional_MR_AffineXf3f
auto rigid_b2_a_mut () -> &mut meshlib::std_optional_MR_AffineXf3f
void set_rigid_b2_a (value:Option<&meshlib::AffineXf3f >)
auto mesh_a_verts_num () const -> &usize
auto mesh_a_verts_num_mut () -> &mut usize
void set_mesh_a_verts_num (value:usize)
auto is_mesh_a () const -> &bool
auto is_mesh_a_mut () -> &mut bool
void set_is_mesh_a (value:bool)

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

Detailed Description

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>.

Member Function Documentation

◆ assign_from_another()

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.

◆ construct_from()

auto meshlib::BooleanPreCutResult::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

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.

◆ construct_from_another()

auto meshlib::BooleanPreCutResult::construct_from_another ( _other:&meshlib::BooleanPreCutResult ) -> meshlib::Owned< meshlib::BooleanPreCutResult >
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.

◆ contours()

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.

◆ contours_mut()

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.

◆ intersections()

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.

◆ intersections_mut()

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.

◆ is_mesh_a()

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.

◆ is_mesh_a_mut()

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.

◆ mesh()

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.

◆ mesh_a_verts_num()

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.

◆ mesh_a_verts_num_mut()

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.

◆ mesh_mut()

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.

◆ new()

auto meshlib::BooleanPreCutResult::new ( ) -> meshlib::Owned< meshlib::BooleanPreCutResult >
static

Constructs an empty (default-constructed) instance.

Calls MR_BooleanPreCutResult_DefaultConstruct().

◆ rigid_b2_a()

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.

◆ rigid_b2_a_mut()

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.

◆ set_contours()

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.

◆ set_intersections()

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.

◆ set_is_mesh_a()

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().

◆ set_mesh()

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.

◆ set_mesh_a_verts_num()

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.

◆ set_rigid_b2_a()

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.

◆ set_to_int()

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.

◆ sort_data()

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().

◆ to_int()

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.

◆ to_int_mut()

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.


The documentation for this struct was generated from the following file: