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

Public Member Functions

auto other_mesh () const -> &meshlib::Mesh
auto contours () const -> &meshlib::Vector_MR_Vector_MR_VarEdgeTri
auto converter () const -> &meshlib::ConvertToIntVector
auto converter_mut () -> &mut meshlib::ConvertToIntVector
void set_converter (value:&meshlib::ConvertToIntVector)
auto rigid_b2_a () const -> *const *const meshlib::AffineXf3f
auto rigid_b2_a_mut () -> *mut *const meshlib::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_other_a () const -> &bool
auto is_other_a_mut () -> &mut bool
void set_is_other_a (value:bool)

Static Public Member Functions

static auto construct_from_another (_other:&meshlib::SortIntersectionsData) -> meshlib::Owned< meshlib::SortIntersectionsData >
static auto construct_from (otherMesh:&meshlib::Mesh, contours:&meshlib::Vector_MR_Vector_MR_VarEdgeTri, converter:&meshlib::ConvertToIntVector, rigidB2A:Option<&meshlib::AffineXf3f >, meshAVertsNum:usize, isOtherA:bool) -> meshlib::Owned< meshlib::SortIntersectionsData >
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

Special data to sort intersections more accurate Generated from class MR::SortIntersectionsData.

Generated from class MR::SortIntersectionsData. Heap-allocated instances are held in Owned<SortIntersectionsData>.

Member Function Documentation

◆ construct_from()

auto meshlib::SortIntersectionsData::construct_from ( otherMesh:&meshlib::Mesh ,
contours:&meshlib::Vector_MR_Vector_MR_VarEdgeTri ,
converter:&meshlib::ConvertToIntVector ,
rigidB2A:Option<&meshlib::AffineXf3f > ,
meshAVertsNum:usize ,
isOtherA:bool  ) -> meshlib::Owned< meshlib::SortIntersectionsData >
static

Constructs MR::SortIntersectionsData elementwise.

Calls MR_SortIntersectionsData_ConstructFrom(). The reference to the parameter otherMesh 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 converter 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::SortIntersectionsData::construct_from_another ( _other:&meshlib::SortIntersectionsData ) -> meshlib::Owned< meshlib::SortIntersectionsData >
static

Generated from constructor MR::SortIntersectionsData::SortIntersectionsData.

Calls MR_SortIntersectionsData_ConstructFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object.

◆ contours()

auto meshlib::SortIntersectionsData::contours ( ) const -> &meshlib::Vector_MR_Vector_MR_VarEdgeTri

Returns a pointer to a member variable of class MR::SortIntersectionsData named contours.

Calls MR_SortIntersectionsData_Get_contours(). The reference to this object might be preserved as the return value.

◆ converter()

auto meshlib::SortIntersectionsData::converter ( ) const -> &meshlib::ConvertToIntVector

Returns a pointer to a member variable of class MR::SortIntersectionsData named converter.

Calls MR_SortIntersectionsData_Get_converter(). The reference to this object might be preserved as the return value.

◆ converter_mut()

auto meshlib::SortIntersectionsData::converter_mut ( ) -> &mut meshlib::ConvertToIntVector

Returns a mutable pointer to a member variable of class MR::SortIntersectionsData named converter.

Calls MR_SortIntersectionsData_GetMutable_converter(). The reference to this object might be preserved as the return value.

◆ is_other_a()

auto meshlib::SortIntersectionsData::is_other_a ( ) const -> &bool

Returns a pointer to a member variable of class MR::SortIntersectionsData named isOtherA.

Calls MR_SortIntersectionsData_Get_isOtherA(). The reference to this object might be preserved as the return value.

◆ is_other_a_mut()

auto meshlib::SortIntersectionsData::is_other_a_mut ( ) -> &mut bool

Returns a mutable pointer to a member variable of class MR::SortIntersectionsData named isOtherA.

Calls MR_SortIntersectionsData_GetMutable_isOtherA(). The reference to this object might be preserved as the return value.

◆ mesh_a_verts_num()

auto meshlib::SortIntersectionsData::mesh_a_verts_num ( ) const -> &usize

Returns a pointer to a member variable of class MR::SortIntersectionsData named meshAVertsNum.

Calls MR_SortIntersectionsData_Get_meshAVertsNum(). The reference to this object might be preserved as the return value.

◆ mesh_a_verts_num_mut()

auto meshlib::SortIntersectionsData::mesh_a_verts_num_mut ( ) -> &mut usize

Returns a mutable pointer to a member variable of class MR::SortIntersectionsData named meshAVertsNum.

Calls MR_SortIntersectionsData_GetMutable_meshAVertsNum(). The reference to this object might be preserved as the return value.

◆ other_mesh()

auto meshlib::SortIntersectionsData::other_mesh ( ) const -> &meshlib::Mesh

Returns a pointer to a member variable of class MR::SortIntersectionsData named otherMesh.

Calls MR_SortIntersectionsData_Get_otherMesh(). The reference to this object might be preserved as the return value.

◆ rigid_b2_a()

auto meshlib::SortIntersectionsData::rigid_b2_a ( ) const -> *const *const meshlib::AffineXf3f

Returns a pointer to a member variable of class MR::SortIntersectionsData named rigidB2A.

Calls MR_SortIntersectionsData_Get_rigidB2A(). Some types are raw C types, see the C bindings for the details. The reference to this object might be preserved as the return value.

◆ rigid_b2_a_mut()

auto meshlib::SortIntersectionsData::rigid_b2_a_mut ( ) -> *mut *const meshlib::AffineXf3f

Returns a mutable pointer to a member variable of class MR::SortIntersectionsData named rigidB2A.

Calls MR_SortIntersectionsData_GetMutable_rigidB2A(). Some types are raw C types, see the C bindings for the details. The reference to this object might be preserved as the return value.

◆ set_converter()

void meshlib::SortIntersectionsData::set_converter ( value:&meshlib::ConvertToIntVector )

Modifies a member variable of class MR::SortIntersectionsData named converter.

Calls MR_SortIntersectionsData_Set_converter(). The reference to the parameter value might be preserved in this object in element converter.

◆ set_is_other_a()

void meshlib::SortIntersectionsData::set_is_other_a ( value:bool )

Modifies a member variable of class MR::SortIntersectionsData named isOtherA.

Calls MR_SortIntersectionsData_Set_isOtherA().

◆ set_mesh_a_verts_num()

void meshlib::SortIntersectionsData::set_mesh_a_verts_num ( value:usize )

Modifies a member variable of class MR::SortIntersectionsData named meshAVertsNum.

Calls MR_SortIntersectionsData_Set_meshAVertsNum(). The reference to the parameter value might be preserved in this object in element meshAVertsNum.

◆ set_rigid_b2_a()

void meshlib::SortIntersectionsData::set_rigid_b2_a ( value:Option<&meshlib::AffineXf3f > )

Modifies a member variable of class MR::SortIntersectionsData named rigidB2A.

Calls MR_SortIntersectionsData_Set_rigidB2A(). The reference to the parameter value might be preserved in this object in element rigidB2A.


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