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

Public Member Functions

auto convert_to_bool () const -> bool
auto assign_from_another (_other:&meshlib::BooleanResult) -> &mut meshlib::BooleanResult
auto valid () const -> bool
auto op_deref_ref () -> &mut meshlib::Mesh
auto op_deref_const_ref () const -> &meshlib::Mesh
auto arrow_mut () -> Option<&mut meshlib::Mesh >
auto arrow () const -> Option<&meshlib::Mesh >
auto mesh () const -> &meshlib::Mesh
auto mesh_mut () -> &mut meshlib::Mesh
void set_mesh (value:&meshlib::Mesh)
auto mesh_a_bad_contour_faces () const -> &meshlib::FaceBitSet
auto mesh_a_bad_contour_faces_mut () -> &mut meshlib::FaceBitSet
void set_mesh_a_bad_contour_faces (value:&meshlib::FaceBitSet)
auto mesh_b_bad_contour_faces () const -> &meshlib::FaceBitSet
auto mesh_b_bad_contour_faces_mut () -> &mut meshlib::FaceBitSet
void set_mesh_b_bad_contour_faces (value:&meshlib::FaceBitSet)
auto error_string () const -> &meshlib::std_string
auto error_string_mut () -> &mut meshlib::std_string
void set_error_string (value:&str)

Static Public Member Functions

static auto new () -> meshlib::Owned< meshlib::BooleanResult >
static auto construct_from (mesh:&meshlib::Mesh, meshABadContourFaces:&meshlib::FaceBitSet, meshBBadContourFaces:&meshlib::FaceBitSet, errorString:&str) -> meshlib::Owned< meshlib::BooleanResult >
static auto construct_from_another (_other:&meshlib::BooleanResult) -> meshlib::Owned< meshlib::BooleanResult >
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

Member Function Documentation

◆ arrow()

auto meshlib::BooleanResult::arrow ( ) const -> Option<&meshlib::Mesh >

Generated from method MR::BooleanResult::operator->.

Calls MR_BooleanResult_arrow().

◆ arrow_mut()

auto meshlib::BooleanResult::arrow_mut ( ) -> Option<&mut meshlib::Mesh >

Generated from method MR::BooleanResult::operator->.

Calls MR_BooleanResult_arrow_mut().

◆ assign_from_another()

auto meshlib::BooleanResult::assign_from_another ( _other:&meshlib::BooleanResult ) -> &mut meshlib::BooleanResult

Generated from method MR::BooleanResult::operator=.

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

◆ construct_from()

auto meshlib::BooleanResult::construct_from ( mesh:&meshlib::Mesh ,
meshABadContourFaces:&meshlib::FaceBitSet ,
meshBBadContourFaces:&meshlib::FaceBitSet ,
errorString:& str ) -> meshlib::Owned< meshlib::BooleanResult >
static

Constructs MR::BooleanResult elementwise.

Calls MR_BooleanResult_ConstructFrom(). The reference to the parameter mesh might be preserved in the constructed object. The reference to the parameter meshABadContourFaces might be preserved in the constructed object. The reference to the parameter meshBBadContourFaces might be preserved in the constructed object. The reference to the parameter errorString might be preserved in the constructed object.

◆ construct_from_another()

auto meshlib::BooleanResult::construct_from_another ( _other:&meshlib::BooleanResult ) -> meshlib::Owned< meshlib::BooleanResult >
static

Generated from constructor MR::BooleanResult::BooleanResult.

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

◆ convert_to_bool()

auto meshlib::BooleanResult::convert_to_bool ( ) const -> bool

Generated from conversion operator MR::BooleanResult::operator bool.

Calls MR_BooleanResult_ConvertTo_bool().

◆ error_string()

auto meshlib::BooleanResult::error_string ( ) const -> &meshlib::std_string

Holds error message, empty if boolean succeed Returns a pointer to a member variable of class MR::BooleanResult named errorString.

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

◆ error_string_mut()

auto meshlib::BooleanResult::error_string_mut ( ) -> &mut meshlib::std_string

Holds error message, empty if boolean succeed Returns a mutable pointer to a member variable of class MR::BooleanResult named errorString.

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

◆ mesh()

auto meshlib::BooleanResult::mesh ( ) const -> &meshlib::Mesh

Result mesh of boolean operation, if error occurred it would be empty Returns a pointer to a member variable of class MR::BooleanResult named mesh.

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

◆ mesh_a_bad_contour_faces()

auto meshlib::BooleanResult::mesh_a_bad_contour_faces ( ) const -> &meshlib::FaceBitSet

If input contours have intersections, this face bit set presents faces of mesh A on which contours intersect Returns a pointer to a member variable of class MR::BooleanResult named meshABadContourFaces.

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

◆ mesh_a_bad_contour_faces_mut()

auto meshlib::BooleanResult::mesh_a_bad_contour_faces_mut ( ) -> &mut meshlib::FaceBitSet

If input contours have intersections, this face bit set presents faces of mesh A on which contours intersect Returns a mutable pointer to a member variable of class MR::BooleanResult named meshABadContourFaces.

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

◆ mesh_b_bad_contour_faces()

auto meshlib::BooleanResult::mesh_b_bad_contour_faces ( ) const -> &meshlib::FaceBitSet

If input contours have intersections, this face bit set presents faces of mesh B on which contours intersect Returns a pointer to a member variable of class MR::BooleanResult named meshBBadContourFaces.

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

◆ mesh_b_bad_contour_faces_mut()

auto meshlib::BooleanResult::mesh_b_bad_contour_faces_mut ( ) -> &mut meshlib::FaceBitSet

If input contours have intersections, this face bit set presents faces of mesh B on which contours intersect Returns a mutable pointer to a member variable of class MR::BooleanResult named meshBBadContourFaces.

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

◆ mesh_mut()

auto meshlib::BooleanResult::mesh_mut ( ) -> &mut meshlib::Mesh

Result mesh of boolean operation, if error occurred it would be empty Returns a mutable pointer to a member variable of class MR::BooleanResult named mesh.

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

◆ new()

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

Constructs an empty (default-constructed) instance.

Calls MR_BooleanResult_DefaultConstruct().

◆ op_deref_const_ref()

auto meshlib::BooleanResult::op_deref_const_ref ( ) const -> &meshlib::Mesh

Generated from method MR::BooleanResult::operator*.

Calls MR_deref_const_MR_BooleanResult_ref(). The reference to this object might be preserved in the return value.

◆ op_deref_ref()

auto meshlib::BooleanResult::op_deref_ref ( ) -> &mut meshlib::Mesh

Generated from method MR::BooleanResult::operator*.

Calls MR_deref_MR_BooleanResult_ref(). The reference to this object might be preserved in the return value.

◆ set_error_string()

void meshlib::BooleanResult::set_error_string ( value:& str)

Holds error message, empty if boolean succeed Modifies a member variable of class MR::BooleanResult named errorString.

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

◆ set_mesh()

void meshlib::BooleanResult::set_mesh ( value:&meshlib::Mesh )

Result mesh of boolean operation, if error occurred it would be empty Modifies a member variable of class MR::BooleanResult named mesh.

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

◆ set_mesh_a_bad_contour_faces()

void meshlib::BooleanResult::set_mesh_a_bad_contour_faces ( value:&meshlib::FaceBitSet )

If input contours have intersections, this face bit set presents faces of mesh A on which contours intersect Modifies a member variable of class MR::BooleanResult named meshABadContourFaces.

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

◆ set_mesh_b_bad_contour_faces()

void meshlib::BooleanResult::set_mesh_b_bad_contour_faces ( value:&meshlib::FaceBitSet )

If input contours have intersections, this face bit set presents faces of mesh B on which contours intersect Modifies a member variable of class MR::BooleanResult named meshBBadContourFaces.

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

◆ valid()

auto meshlib::BooleanResult::valid ( ) const -> bool

Returns true if boolean succeed, false otherwise Generated from method MR::BooleanResult::valid.

Calls MR_BooleanResult_valid().


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