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

Public Member Functions

auto assign_from_another (_other:&meshlib::planar_triangulation::TriangulationParameters) -> &mut meshlib::planar_triangulation::TriangulationParameters
auto out_face_winding () const -> *const *mut meshlib::ffi::MR_Vector_int_MR_FaceId
auto out_face_winding_mut () -> *mut *mut meshlib::ffi::MR_Vector_int_MR_FaceId
void set_out_face_winding (value:Option<&mut meshlib::Vector_int_MR_FaceId >)
auto out_inter_map () const -> *const *mut meshlib::ffi::MR_PlanarTriangulation_IntersectionsMap
auto out_inter_map_mut () -> *mut *mut meshlib::ffi::MR_PlanarTriangulation_IntersectionsMap
void set_out_inter_map (value:Option<&mut meshlib::planar_triangulation::IntersectionsMap >)

Static Public Member Functions

static auto new () -> meshlib::Owned< meshlib::planar_triangulation::TriangulationParameters >
static auto construct_from (outFaceWinding:Option<&mut meshlib::Vector_int_MR_FaceId >, outInterMap:Option<&mut meshlib::planar_triangulation::IntersectionsMap >) -> meshlib::Owned< meshlib::planar_triangulation::TriangulationParameters >
static auto construct_from_another (_other:&meshlib::planar_triangulation::TriangulationParameters) -> meshlib::Owned< meshlib::planar_triangulation::TriangulationParameters >
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

Generated from class MR::PlanarTriangulation::TriangulationParameters.

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

Member Function Documentation

◆ assign_from_another()

auto meshlib::planar_triangulation::TriangulationParameters::assign_from_another ( _other:&meshlib::planar_triangulation::TriangulationParameters ) -> &mut meshlib::planar_triangulation::TriangulationParameters

Generated from method MR::PlanarTriangulation::TriangulationParameters::operator=.

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

◆ construct_from()

auto meshlib::planar_triangulation::TriangulationParameters::construct_from ( outFaceWinding:Option<&mut meshlib::Vector_int_MR_FaceId > ,
outInterMap:Option<&mut meshlib::planar_triangulation::IntersectionsMap >  ) -> meshlib::Owned< meshlib::planar_triangulation::TriangulationParameters >
static

Constructs MR::PlanarTriangulation::TriangulationParameters elementwise.

Calls MR_PlanarTriangulation_TriangulationParameters_ConstructFrom(). The reference to the parameter outFaceWinding might be preserved in the constructed object. The reference to the parameter outInterMap might be preserved in the constructed object.

◆ construct_from_another()

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

Generated from constructor MR::PlanarTriangulation::TriangulationParameters::TriangulationParameters.

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

◆ new()

auto meshlib::planar_triangulation::TriangulationParameters::new ( ) -> meshlib::Owned< meshlib::planar_triangulation::TriangulationParameters >
static

Constructs an empty (default-constructed) instance.

Calls MR_PlanarTriangulation_TriangulationParameters_DefaultConstruct().

◆ out_face_winding()

auto meshlib::planar_triangulation::TriangulationParameters::out_face_winding ( ) const -> *const *mut meshlib::ffi::MR_Vector_int_MR_FaceId

optional output: winding number of the region each face belongs to; when set, Delone flips after triangulation are skipped, so each face stays strictly inside one winding region Returns a pointer to a member variable of class MR::PlanarTriangulation::TriangulationParameters named outFaceWinding.

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

◆ out_face_winding_mut()

auto meshlib::planar_triangulation::TriangulationParameters::out_face_winding_mut ( ) -> *mut *mut meshlib::ffi::MR_Vector_int_MR_FaceId

optional output: winding number of the region each face belongs to; when set, Delone flips after triangulation are skipped, so each face stays strictly inside one winding region Returns a mutable pointer to a member variable of class MR::PlanarTriangulation::TriangulationParameters named outFaceWinding.

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

◆ out_inter_map()

auto meshlib::planar_triangulation::TriangulationParameters::out_inter_map ( ) const -> *const *mut meshlib::ffi::MR_PlanarTriangulation_IntersectionsMap

optional output: maps each vertex created at contours intersection to the pair of intersected edges; vertices with id less than shift are original contour vertices Returns a pointer to a member variable of class MR::PlanarTriangulation::TriangulationParameters named outInterMap.

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

◆ out_inter_map_mut()

auto meshlib::planar_triangulation::TriangulationParameters::out_inter_map_mut ( ) -> *mut *mut meshlib::ffi::MR_PlanarTriangulation_IntersectionsMap

optional output: maps each vertex created at contours intersection to the pair of intersected edges; vertices with id less than shift are original contour vertices Returns a mutable pointer to a member variable of class MR::PlanarTriangulation::TriangulationParameters named outInterMap.

Calls MR_PlanarTriangulation_TriangulationParameters_GetMutable_outInterMap(). 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_out_face_winding()

void meshlib::planar_triangulation::TriangulationParameters::set_out_face_winding ( value:Option<&mut meshlib::Vector_int_MR_FaceId > )

optional output: winding number of the region each face belongs to; when set, Delone flips after triangulation are skipped, so each face stays strictly inside one winding region Modifies a member variable of class MR::PlanarTriangulation::TriangulationParameters named outFaceWinding.

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

◆ set_out_inter_map()

void meshlib::planar_triangulation::TriangulationParameters::set_out_inter_map ( value:Option<&mut meshlib::planar_triangulation::IntersectionsMap > )

optional output: maps each vertex created at contours intersection to the pair of intersected edges; vertices with id less than shift are original contour vertices Modifies a member variable of class MR::PlanarTriangulation::TriangulationParameters named outInterMap.

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


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