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 |
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>.
| 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.
| 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.
| 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.
|
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.
|
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.
|
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.
|
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.
| auto meshlib::EdgePointd::convert_to_bool | ( | ) | const -> bool |
Generated from conversion operator MR::EdgePointd::operator bool.
Calls MR_EdgePointd_ConvertTo_bool().
| 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.
| 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.
| 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().
| 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().
| 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().
| 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().
| 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().
| 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().
| 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().
|
static |
Constructs an empty (default-constructed) instance.
Calls MR_EdgePointd_DefaultConstruct().
| 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().
| 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().
| 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.
| 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.
| 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().
| 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().