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

Public Member Functions

auto assign_from_another (_other:&meshlib::CutMeshResult) -> &mut meshlib::CutMeshResult
auto result_cut () const -> &meshlib::std_vector_std_vector_MR_EdgeId
auto result_cut_mut () -> &mut meshlib::std_vector_std_vector_MR_EdgeId
void set_result_cut (value:&meshlib::std_vector_std_vector_MR_EdgeId)
auto fbs_with_contour_intersections () const -> &meshlib::FaceBitSet
auto fbs_with_contour_intersections_mut () -> &mut meshlib::FaceBitSet
void set_fbs_with_contour_intersections (value:&meshlib::FaceBitSet)

Static Public Member Functions

static auto new () -> meshlib::Owned< meshlib::CutMeshResult >
static auto construct_from (resultCut:&meshlib::std_vector_std_vector_MR_EdgeId, fbsWithContourIntersections:&meshlib::FaceBitSet) -> meshlib::Owned< meshlib::CutMeshResult >
static auto construct_from_another (_other:&meshlib::CutMeshResult) -> meshlib::Owned< meshlib::CutMeshResult >
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

◆ assign_from_another()

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

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

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

◆ construct_from()

auto meshlib::CutMeshResult::construct_from ( resultCut:&meshlib::std_vector_std_vector_MR_EdgeId ,
fbsWithContourIntersections:&meshlib::FaceBitSet  ) -> meshlib::Owned< meshlib::CutMeshResult >
static

Constructs MR::CutMeshResult elementwise.

Calls MR_CutMeshResult_ConstructFrom(). The reference to the parameter resultCut might be preserved in the constructed object. The reference to the parameter fbsWithContourIntersections might be preserved in the constructed object.

◆ construct_from_another()

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

Generated from constructor MR::CutMeshResult::CutMeshResult.

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

◆ fbs_with_contour_intersections()

auto meshlib::CutMeshResult::fbs_with_contour_intersections ( ) const -> &meshlib::FaceBitSet

Bitset of bad triangles - triangles where input contours have intersections and cannot be cut and filled in a good way; under force fill, also the triangles where two segments of the contours cross (segments that follow each other along a contour or have a common mesh vertex do not), even if their cut is valid; the triangles where that cannot be told may be reported too: where the exact predicates fail on the points of the contours that they compare (e.g. coincident contours of a double-sided sheet), or, without sortData, where the corners of the triangle are on one line and more than three points of the contours are inside it

See also
MR::CutMeshParameters Returns a pointer to a member variable of class MR::CutMeshResult named fbsWithContourIntersections.

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

◆ fbs_with_contour_intersections_mut()

auto meshlib::CutMeshResult::fbs_with_contour_intersections_mut ( ) -> &mut meshlib::FaceBitSet

Bitset of bad triangles - triangles where input contours have intersections and cannot be cut and filled in a good way; under force fill, also the triangles where two segments of the contours cross (segments that follow each other along a contour or have a common mesh vertex do not), even if their cut is valid; the triangles where that cannot be told may be reported too: where the exact predicates fail on the points of the contours that they compare (e.g. coincident contours of a double-sided sheet), or, without sortData, where the corners of the triangle are on one line and more than three points of the contours are inside it

See also
MR::CutMeshParameters Returns a mutable pointer to a member variable of class MR::CutMeshResult named fbsWithContourIntersections.

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

◆ new()

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

Constructs an empty (default-constructed) instance.

Calls MR_CutMeshResult_DefaultConstruct().

◆ result_cut()

auto meshlib::CutMeshResult::result_cut ( ) const -> &meshlib::std_vector_std_vector_MR_EdgeId

Paths of new edges on mesh, they represent same contours as input, but already cut; a contour going from a mesh vertex to a point and back has an edge followed by its sym there; with CutMeshParameters::ForceFill::SplitCrossings and sortData, a path also passes the vertices where its contour crosses others (or itself) in bad faces Returns a pointer to a member variable of class MR::CutMeshResult named resultCut.

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

◆ result_cut_mut()

auto meshlib::CutMeshResult::result_cut_mut ( ) -> &mut meshlib::std_vector_std_vector_MR_EdgeId

Paths of new edges on mesh, they represent same contours as input, but already cut; a contour going from a mesh vertex to a point and back has an edge followed by its sym there; with CutMeshParameters::ForceFill::SplitCrossings and sortData, a path also passes the vertices where its contour crosses others (or itself) in bad faces Returns a mutable pointer to a member variable of class MR::CutMeshResult named resultCut.

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

◆ set_fbs_with_contour_intersections()

void meshlib::CutMeshResult::set_fbs_with_contour_intersections ( value:&meshlib::FaceBitSet )

Bitset of bad triangles - triangles where input contours have intersections and cannot be cut and filled in a good way; under force fill, also the triangles where two segments of the contours cross (segments that follow each other along a contour or have a common mesh vertex do not), even if their cut is valid; the triangles where that cannot be told may be reported too: where the exact predicates fail on the points of the contours that they compare (e.g. coincident contours of a double-sided sheet), or, without sortData, where the corners of the triangle are on one line and more than three points of the contours are inside it

See also
MR::CutMeshParameters Modifies a member variable of class MR::CutMeshResult named fbsWithContourIntersections.

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

◆ set_result_cut()

void meshlib::CutMeshResult::set_result_cut ( value:&meshlib::std_vector_std_vector_MR_EdgeId )

Paths of new edges on mesh, they represent same contours as input, but already cut; a contour going from a mesh vertex to a point and back has an edge followed by its sym there; with CutMeshParameters::ForceFill::SplitCrossings and sortData, a path also passes the vertices where its contour crosses others (or itself) in bad faces Modifies a member variable of class MR::CutMeshResult named resultCut.

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


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