MeshLib Rust Docs
Loading...
Searching...
No Matches
Inheritance diagram for meshlib::EdgePointd:

Public Member Functions

auto convert_to_bool () const -> bool
auto assign_from_another (_other:&meshlib::EdgePointd) -> &mut meshlib::EdgePointd
auto in_vertex_1_mr_mesh_topology (topology:&meshlib::MeshTopology) const -> meshlib::VertId
auto in_vertex_1_mr_polyline_topology (topology:&meshlib::PolylineTopology) const -> meshlib::VertId
auto get_closest_vertex_mr_mesh_topology (topology:&meshlib::MeshTopology) const -> meshlib::VertId
auto get_closest_vertex_mr_polyline_topology (topology:&meshlib::PolylineTopology) const -> meshlib::VertId
auto in_vertex_0 () const -> bool
void move_to_closest_vertex ()
auto is_bd (topology:&meshlib::MeshTopology, region:Option<&meshlib::FaceBitSet >) const -> bool
auto valid () const -> bool
auto sym () const -> meshlib::Owned< meshlib::EdgePointd >
auto op_equal (rhs:&meshlib::EdgePointd) const -> bool
auto op_not_equal (rhs:&meshlib::EdgePointd) const -> bool
auto e () const -> &meshlib::EdgeId
auto e_mut () -> &mut meshlib::EdgeId
void set_e (value:meshlib::EdgeId)
auto a () const -> &meshlib::SegmPointd
auto a_mut () -> &mut meshlib::SegmPointd
void set_a (value:&meshlib::SegmPointd)

Static Public Member Functions

static auto new () -> meshlib::Owned< meshlib::EdgePointd >
static auto construct_from_another (_other:&meshlib::EdgePointd) -> meshlib::Owned< meshlib::EdgePointd >
static auto construct_mr_edge_id (e:meshlib::EdgeId, a:f64) -> meshlib::Owned< meshlib::EdgePointd >
static auto construct_mr_mesh_topology (topology:&meshlib::MeshTopology, v:meshlib::VertId) -> meshlib::Owned< meshlib::EdgePointd >
static auto construct_mr_polyline_topology (topology:&meshlib::PolylineTopology, v:meshlib::VertId) -> meshlib::Owned< meshlib::EdgePointd >
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

encodes a point on an edge of mesh or of polyline Generated from class MR::EdgePointd.

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

Member Function Documentation

◆ a()

auto meshlib::EdgePointd::a ( ) const -> &meshlib::SegmPointd

< a in [0,1], a=0 => point is in org( e ), a=1 => point is in dest( e ) Returns a pointer to a member variable of class MR::EdgePointd named a.

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

◆ a_mut()

auto meshlib::EdgePointd::a_mut ( ) -> &mut meshlib::SegmPointd

< a in [0,1], a=0 => point is in org( e ), a=1 => point is in dest( e ) Returns a mutable pointer to a member variable of class MR::EdgePointd named a.

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

◆ assign_from_another()

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

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

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

◆ construct_from_another()

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

Generated from constructor MR::EdgePointd::EdgePointd.

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

◆ construct_mr_edge_id()

auto meshlib::EdgePointd::construct_mr_edge_id ( e:meshlib::EdgeId ,
a:f64  ) -> meshlib::Owned< meshlib::EdgePointd >
static

Generated from constructor MR::EdgePointd::EdgePointd.

Calls MR_EdgePointd_Construct_MR_EdgeId(). The reference to the parameter e might be preserved in the constructed object.

◆ construct_mr_mesh_topology()

auto meshlib::EdgePointd::construct_mr_mesh_topology ( topology:&meshlib::MeshTopology ,
v:meshlib::VertId  ) -> meshlib::Owned< meshlib::EdgePointd >
static

Generated from constructor MR::EdgePointd::EdgePointd.

Calls MR_EdgePointd_Construct_MR_MeshTopology(). The reference to the parameter topology might be preserved in the constructed object. The reference to the parameter v might be preserved in the constructed object.

◆ construct_mr_polyline_topology()

auto meshlib::EdgePointd::construct_mr_polyline_topology ( topology:&meshlib::PolylineTopology ,
v:meshlib::VertId  ) -> meshlib::Owned< meshlib::EdgePointd >
static

Generated from constructor MR::EdgePointd::EdgePointd.

Calls MR_EdgePointd_Construct_MR_PolylineTopology(). The reference to the parameter topology might be preserved in the constructed object. The reference to the parameter v might be preserved in the constructed object.

◆ convert_to_bool()

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

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

Calls MR_EdgePointd_ConvertTo_bool().

◆ e()

auto meshlib::EdgePointd::e ( ) const -> &meshlib::EdgeId

Returns a pointer to a member variable of class MR::EdgePointd named e.

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

◆ e_mut()

auto meshlib::EdgePointd::e_mut ( ) -> &mut meshlib::EdgeId

Returns a mutable pointer to a member variable of class MR::EdgePointd named e.

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

◆ get_closest_vertex_mr_mesh_topology()

auto meshlib::EdgePointd::get_closest_vertex_mr_mesh_topology ( topology:&meshlib::MeshTopology ) const -> meshlib::VertId

returns one of two edge vertices, closest to this point Generated from method MR::EdgePointd::getClosestVertex.

Calls MR_EdgePointd_getClosestVertex_MR_MeshTopology().

◆ get_closest_vertex_mr_polyline_topology()

auto meshlib::EdgePointd::get_closest_vertex_mr_polyline_topology ( topology:&meshlib::PolylineTopology ) const -> meshlib::VertId

returns one of two edge vertices, closest to this point Generated from method MR::EdgePointd::getClosestVertex.

Calls MR_EdgePointd_getClosestVertex_MR_PolylineTopology().

◆ in_vertex_0()

auto meshlib::EdgePointd::in_vertex_0 ( ) const -> bool

returns true if the point is in a vertex Generated from method MR::EdgePointd::inVertex.

Calls MR_EdgePointd_inVertex_0().

◆ in_vertex_1_mr_mesh_topology()

auto meshlib::EdgePointd::in_vertex_1_mr_mesh_topology ( topology:&meshlib::MeshTopology ) const -> meshlib::VertId

returns valid vertex id if the point is in vertex, otherwise returns invalid id Generated from method MR::EdgePointd::inVertex.

Calls MR_EdgePointd_inVertex_1_MR_MeshTopology().

◆ in_vertex_1_mr_polyline_topology()

auto meshlib::EdgePointd::in_vertex_1_mr_polyline_topology ( topology:&meshlib::PolylineTopology ) const -> meshlib::VertId

returns valid vertex id if the point is in vertex, otherwise returns invalid id Generated from method MR::EdgePointd::inVertex.

Calls MR_EdgePointd_inVertex_1_MR_PolylineTopology().

◆ is_bd()

auto meshlib::EdgePointd::is_bd ( topology:&meshlib::MeshTopology ,
region:Option<&meshlib::FaceBitSet >  ) const -> bool

returns true if the point is on the boundary of the region (or for whole mesh if region is nullptr) Generated from method MR::EdgePointd::isBd.

Calls MR_EdgePointd_isBd().

◆ move_to_closest_vertex()

void meshlib::EdgePointd::move_to_closest_vertex ( )

sets this to the closest end of the edge Generated from method MR::EdgePointd::moveToClosestVertex.

Calls MR_EdgePointd_moveToClosestVertex().

◆ new()

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

Constructs an empty (default-constructed) instance.

Calls MR_EdgePointd_DefaultConstruct().

◆ op_equal()

auto meshlib::EdgePointd::op_equal ( rhs:&meshlib::EdgePointd ) const -> bool

returns true if two edge-points are equal including equal not-unique representation Generated from method MR::EdgePointd::operator==.

Calls MR_equal_MR_EdgePointd().

◆ op_not_equal()

auto meshlib::EdgePointd::op_not_equal ( rhs:&meshlib::EdgePointd ) const -> bool

returns true if two edge-points are equal including equal not-unique representation Generated from method MR::EdgePointd::operator!=.

Calls MR_not_equal_MR_EdgePointd().

◆ set_a()

void meshlib::EdgePointd::set_a ( value:&meshlib::SegmPointd )

< a in [0,1], a=0 => point is in org( e ), a=1 => point is in dest( e ) Modifies a member variable of class MR::EdgePointd named a.

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

◆ set_e()

void meshlib::EdgePointd::set_e ( value:meshlib::EdgeId )

Modifies a member variable of class MR::EdgePointd named e.

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

◆ sym()

auto meshlib::EdgePointd::sym ( ) const -> meshlib::Owned< meshlib::EdgePointd >

represents the same point relative to sym edge in Generated from method MR::EdgePointd::sym.

Calls MR_EdgePointd_sym().

◆ valid()

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

consider this valid if the edge ID is valid Generated from method MR::EdgePointd::valid.

Calls MR_EdgePointd_valid().


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