Static Public Member Functions | |
| static auto | new () -> meshlib::Owned< meshlib::MeshTriPointd > |
| static auto | construct_from_another (_other:&meshlib::MeshTriPointd) -> meshlib::Owned< meshlib::MeshTriPointd > |
| static auto | construct_1_mr_no_init (_1:&meshlib::NoInit) -> meshlib::Owned< meshlib::MeshTriPointd > |
| static auto | construct_2_mr_edge_id (e:meshlib::EdgeId, bary:&meshlib::TriPointd) -> meshlib::Owned< meshlib::MeshTriPointd > |
| static auto | construct_1_mr_edge_pointd (ep:&meshlib::EdgePointd) -> meshlib::Owned< meshlib::MeshTriPointd > |
| static auto | construct_2_mr_mesh_topology (topology:&meshlib::MeshTopology, v:meshlib::VertId) -> meshlib::Owned< meshlib::MeshTriPointd > |
| 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 inside a triangular mesh face using barycentric coordinates
Notations used below:
v0 - the value in org( e )
v1 - the value in dest( e )
v2 - the value in dest( next( e ) ) Generated from class MR::MeshTriPointd.
Generated from class MR::MeshTriPointd. Heap-allocated instances are held in Owned<MeshTriPointd>.
| auto meshlib::MeshTriPointd::assign_from_another | ( | _other:&meshlib::MeshTriPointd | ) | -> &mut meshlib::MeshTriPointd |
Generated from method MR::MeshTriPointd::operator=.
Calls MR_MeshTriPointd_AssignFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in this object.
| auto meshlib::MeshTriPointd::bary | ( | ) | const -> &meshlib::TriPointd |
barycentric coordinates
a in [0,1], a=0 => point is on next( e ) edge, a=1 => point is in dest( e ) b in [0,1], b=0 => point is on e edge, b=1 => point is in dest( next( e ) ) a+b in [0,1], a+b=0 => point is in org( e ), a+b=1 => point is on prev( e.sym() ) edge Returns a pointer to a member variable of class MR::MeshTriPointd named bary.
Calls MR_MeshTriPointd_Get_bary(). The reference to this object might be preserved as the return value.
| auto meshlib::MeshTriPointd::bary_mut | ( | ) | -> &mut meshlib::TriPointd |
barycentric coordinates
a in [0,1], a=0 => point is on next( e ) edge, a=1 => point is in dest( e ) b in [0,1], b=0 => point is on e edge, b=1 => point is in dest( next( e ) ) a+b in [0,1], a+b=0 => point is in org( e ), a+b=1 => point is on prev( e.sym() ) edge Returns a mutable pointer to a member variable of class MR::MeshTriPointd named bary.
Calls MR_MeshTriPointd_GetMutable_bary(). The reference to this object might be preserved as the return value.
| auto meshlib::MeshTriPointd::canonical | ( | topology:&meshlib::MeshTopology | ) | const -> meshlib::Owned< meshlib::MeshTriPointd > |
represents the same point relative to the topology.edgeWithLeft( topology.left( e ) ) Generated from method MR::MeshTriPointd::canonical.
Calls MR_MeshTriPointd_canonical().
|
static |
Generated from constructor MR::MeshTriPointd::MeshTriPointd.
Calls MR_MeshTriPointd_Construct_1_MR_EdgePointd(). The reference to the parameter ep might be preserved in the constructed object.
|
static |
Generated from constructor MR::MeshTriPointd::MeshTriPointd.
Calls MR_MeshTriPointd_Construct_1_MR_NoInit(). The reference to the parameter _1 might be preserved in the constructed object.
|
static |
Generated from constructor MR::MeshTriPointd::MeshTriPointd.
Calls MR_MeshTriPointd_Construct_2_MR_EdgeId(). The reference to the parameter e might be preserved in the constructed object. The reference to the parameter bary might be preserved in the constructed object.
|
static |
Generated from constructor MR::MeshTriPointd::MeshTriPointd.
Calls MR_MeshTriPointd_Construct_2_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::MeshTriPointd::MeshTriPointd.
Calls MR_MeshTriPointd_ConstructFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object.
| auto meshlib::MeshTriPointd::convert_to_bool | ( | ) | const -> bool |
Generated from conversion operator MR::MeshTriPointd::operator bool.
Calls MR_MeshTriPointd_ConvertTo_bool().
| auto meshlib::MeshTriPointd::e | ( | ) | const -> &meshlib::EdgeId |
< left face of this edge is considered Returns a pointer to a member variable of class MR::MeshTriPointd named e.
Calls MR_MeshTriPointd_Get_e(). The reference to this object might be preserved as the return value.
| auto meshlib::MeshTriPointd::e_mut | ( | ) | -> &mut meshlib::EdgeId |
< left face of this edge is considered Returns a mutable pointer to a member variable of class MR::MeshTriPointd named e.
Calls MR_MeshTriPointd_GetMutable_e(). The reference to this object might be preserved as the return value.
| auto meshlib::MeshTriPointd::from_triangle | ( | topology:&meshlib::MeshTopology | , |
| f:meshlib::FaceId | ) const -> bool |
returns true if the point is inside or on the boundary of given triangular face Generated from method MR::MeshTriPointd::fromTriangle.
Calls MR_MeshTriPointd_fromTriangle().
| auto meshlib::MeshTriPointd::get_weighted_verts | ( | topology:&meshlib::MeshTopology | ) | const -> meshlib::Owned< meshlib::std_array_MR_WeightedVertexd_3 > |
returns three weighted triangle's vertices with the sum of not-negative weights equal to 1, and the largest weight in the closest vertex Generated from method MR::MeshTriPointd::getWeightedVerts.
Calls MR_MeshTriPointd_getWeightedVerts().
| auto meshlib::MeshTriPointd::in_vertex_0 | ( | ) | const -> bool |
returns true if the point is in a vertex Generated from method MR::MeshTriPointd::inVertex.
Calls MR_MeshTriPointd_inVertex_0().
| auto meshlib::MeshTriPointd::in_vertex_1 | ( | topology:&meshlib::MeshTopology | ) | const -> meshlib::VertId |
returns valid vertex id if the point is in vertex, otherwise returns invalid id Generated from method MR::MeshTriPointd::inVertex.
Calls MR_MeshTriPointd_inVertex_1().
| auto meshlib::MeshTriPointd::interpolate | ( | topology:&meshlib::MeshTopology | , |
| field:&meshlib::VertScalars | ) const -> f64 |
linearly interpolates the values given in vertices to find the field's value at this point Generated from method MR::MeshTriPointd::interpolate.
Calls MR_MeshTriPointd_interpolate().
| auto meshlib::MeshTriPointd::is_bd | ( | topology:&meshlib::MeshTopology | , |
| region:Option<&meshlib::FaceBitSet > | ) const -> bool |
returns true if the point is in vertex or on edge, and that location is on the boundary of the region Generated from method MR::MeshTriPointd::isBd.
Calls MR_MeshTriPointd_isBd().
| auto meshlib::MeshTriPointd::lnext | ( | topology:&meshlib::MeshTopology | ) | const -> meshlib::Owned< meshlib::MeshTriPointd > |
represents the same point relative to next edge in the same triangle Generated from method MR::MeshTriPointd::lnext.
Calls MR_MeshTriPointd_lnext().
|
static |
Constructs an empty (default-constructed) instance.
Calls MR_MeshTriPointd_DefaultConstruct().
| auto meshlib::MeshTriPointd::on_edge | ( | topology:&meshlib::MeshTopology | ) | const -> meshlib::Owned< meshlib::EdgePointd > |
returns valid value if the point is on edge and topology.left(result.e) == topology.left(this->e), otherwise returns invalid MeshEdgePointT Generated from method MR::MeshTriPointd::onEdge.
Calls MR_MeshTriPointd_onEdge().
| auto meshlib::MeshTriPointd::op_equal | ( | rhs:&meshlib::MeshTriPointd | ) | const -> bool |
returns true if two points are equal including equal not-unique representation Generated from method MR::MeshTriPointd::operator==.
Calls MR_equal_MR_MeshTriPointd().
| auto meshlib::MeshTriPointd::op_not_equal | ( | rhs:&meshlib::MeshTriPointd | ) | const -> bool |
returns true if two points are equal including equal not-unique representation Generated from method MR::MeshTriPointd::operator!=.
Calls MR_not_equal_MR_MeshTriPointd().
| void meshlib::MeshTriPointd::set_bary | ( | value:&meshlib::TriPointd | ) |
barycentric coordinates
a in [0,1], a=0 => point is on next( e ) edge, a=1 => point is in dest( e ) b in [0,1], b=0 => point is on e edge, b=1 => point is in dest( next( e ) ) a+b in [0,1], a+b=0 => point is in org( e ), a+b=1 => point is on prev( e.sym() ) edge Modifies a member variable of class MR::MeshTriPointd named bary.
Calls MR_MeshTriPointd_Set_bary(). The reference to the parameter value might be preserved in this object in element bary.
| void meshlib::MeshTriPointd::set_e | ( | value:meshlib::EdgeId | ) |
< left face of this edge is considered Modifies a member variable of class MR::MeshTriPointd named e.
Calls MR_MeshTriPointd_Set_e(). The reference to the parameter value might be preserved in this object in element e.
| auto meshlib::MeshTriPointd::valid | ( | ) | const -> bool |
consider this valid if the edge ID is valid Generated from method MR::MeshTriPointd::valid.
Calls MR_MeshTriPointd_valid().