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

Public Member Functions

auto assign_from_another (_other:&meshlib::planar_triangulation::IntersectionsMap) -> &mut meshlib::planar_triangulation::IntersectionsMap
auto shift () const -> &usize
auto shift_mut () -> &mut usize
void set_shift (value:usize)
auto map () const -> &meshlib::std_vector_MR_PlanarTriangulation_IntersectionInfo
auto map_mut () -> &mut meshlib::std_vector_MR_PlanarTriangulation_IntersectionInfo
void set_map (value:&meshlib::std_vector_MR_PlanarTriangulation_IntersectionInfo)

Static Public Member Functions

static auto new () -> meshlib::Owned< meshlib::planar_triangulation::IntersectionsMap >
static auto construct_from (shift:usize, map:&meshlib::std_vector_MR_PlanarTriangulation_IntersectionInfo) -> meshlib::Owned< meshlib::planar_triangulation::IntersectionsMap >
static auto construct_from_another (_other:&meshlib::planar_triangulation::IntersectionsMap) -> meshlib::Owned< meshlib::planar_triangulation::IntersectionsMap >
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

struct to map new vertices (only appear on intersections) of the outline to it's edges Generated from class MR::PlanarTriangulation::IntersectionsMap.

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

Member Function Documentation

◆ assign_from_another()

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

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

Calls MR_PlanarTriangulation_IntersectionsMap_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::IntersectionsMap::construct_from ( shift:usize ,
map:&meshlib::std_vector_MR_PlanarTriangulation_IntersectionInfo  ) -> meshlib::Owned< meshlib::planar_triangulation::IntersectionsMap >
static

Constructs MR::PlanarTriangulation::IntersectionsMap elementwise.

Calls MR_PlanarTriangulation_IntersectionsMap_ConstructFrom(). The reference to the parameter shift might be preserved in the constructed object. The reference to the parameter map might be preserved in the constructed object.

◆ construct_from_another()

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

Generated from constructor MR::PlanarTriangulation::IntersectionsMap::IntersectionsMap.

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

◆ map()

auto meshlib::planar_triangulation::IntersectionsMap::map ( ) const -> &meshlib::std_vector_MR_PlanarTriangulation_IntersectionInfo

map[id-shift] = {lower intersection edge, upper intersection edge} Returns a pointer to a member variable of class MR::PlanarTriangulation::IntersectionsMap named map.

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

◆ map_mut()

auto meshlib::planar_triangulation::IntersectionsMap::map_mut ( ) -> &mut meshlib::std_vector_MR_PlanarTriangulation_IntersectionInfo

map[id-shift] = {lower intersection edge, upper intersection edge} Returns a mutable pointer to a member variable of class MR::PlanarTriangulation::IntersectionsMap named map.

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

◆ new()

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

Constructs an empty (default-constructed) instance.

Calls MR_PlanarTriangulation_IntersectionsMap_DefaultConstruct().

◆ set_map()

void meshlib::planar_triangulation::IntersectionsMap::set_map ( value:&meshlib::std_vector_MR_PlanarTriangulation_IntersectionInfo )

map[id-shift] = {lower intersection edge, upper intersection edge} Modifies a member variable of class MR::PlanarTriangulation::IntersectionsMap named map.

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

◆ set_shift()

void meshlib::planar_triangulation::IntersectionsMap::set_shift ( value:usize )

shift of index Modifies a member variable of class MR::PlanarTriangulation::IntersectionsMap named shift.

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

◆ shift()

auto meshlib::planar_triangulation::IntersectionsMap::shift ( ) const -> &usize

shift of index Returns a pointer to a member variable of class MR::PlanarTriangulation::IntersectionsMap named shift.

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

◆ shift_mut()

auto meshlib::planar_triangulation::IntersectionsMap::shift_mut ( ) -> &mut usize

shift of index Returns a mutable pointer to a member variable of class MR::PlanarTriangulation::IntersectionsMap named shift.

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


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