Public Member Functions | |
| auto | assign_from_another (_other:&meshlib::GeodesicPath) -> &mut meshlib::GeodesicPath |
| auto | num_vertices () const -> usize |
| auto | index (i:usize) const -> meshlib::Owned< meshlib::MeshTriPoint > |
| auto | start () const -> &meshlib::MeshTriPoint |
| auto | start_mut () -> &mut meshlib::MeshTriPoint |
| void | set_start (value:&meshlib::MeshTriPoint) |
| auto | mids () const -> &meshlib::std_vector_MR_EdgePoint |
| auto | mids_mut () -> &mut meshlib::std_vector_MR_EdgePoint |
| void | set_mids (value:&meshlib::std_vector_MR_EdgePoint) |
| auto | end () const -> &meshlib::MeshTriPoint |
| auto | end_mut () -> &mut meshlib::MeshTriPoint |
| void | set_end (value:&meshlib::MeshTriPoint) |
Static Public Member Functions | |
| static auto | new () -> meshlib::Owned< meshlib::GeodesicPath > |
| static auto | construct_from (start:&meshlib::MeshTriPoint, mids:&meshlib::std_vector_MR_EdgePoint, end:&meshlib::MeshTriPoint) -> meshlib::Owned< meshlib::GeodesicPath > |
| static auto | construct_from_another (_other:&meshlib::GeodesicPath) -> meshlib::Owned< meshlib::GeodesicPath > |
| 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 |
in the most general form, geodesic path can start in any mesh location (MeshTriPoint), then pass triangles along straight lines, making turns on edges (MeshEdgePoint), and finish in any mesh location (MeshTriPoint) Generated from class MR::GeodesicPath.
Generated from class MR::GeodesicPath. Heap-allocated instances are held in Owned<GeodesicPath>.
| auto meshlib::GeodesicPath::assign_from_another | ( | _other:&meshlib::GeodesicPath | ) | -> &mut meshlib::GeodesicPath |
Generated from method MR::GeodesicPath::operator=.
Calls MR_GeodesicPath_AssignFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in this object.
|
static |
Constructs MR::GeodesicPath elementwise.
Calls MR_GeodesicPath_ConstructFrom(). The reference to the parameter start might be preserved in the constructed object. The reference to the parameter mids might be preserved in the constructed object. The reference to the parameter end might be preserved in the constructed object.
|
static |
Generated from constructor MR::GeodesicPath::GeodesicPath.
Calls MR_GeodesicPath_ConstructFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object.
| auto meshlib::GeodesicPath::end | ( | ) | const -> &meshlib::MeshTriPoint |
< can be invalid, then the path ends in mids.back() Returns a pointer to a member variable of class MR::GeodesicPath named end.
Calls MR_GeodesicPath_Get_end(). The reference to this object might be preserved as the return value.
| auto meshlib::GeodesicPath::end_mut | ( | ) | -> &mut meshlib::MeshTriPoint |
< can be invalid, then the path ends in mids.back() Returns a mutable pointer to a member variable of class MR::GeodesicPath named end.
Calls MR_GeodesicPath_GetMutable_end(). The reference to this object might be preserved as the return value.
| auto meshlib::GeodesicPath::index | ( | i:usize | ) | const -> meshlib::Owned< meshlib::MeshTriPoint > |
Generated from method MR::GeodesicPath::operator[].
Calls MR_GeodesicPath_index().
| auto meshlib::GeodesicPath::mids | ( | ) | const -> &meshlib::std_vector_MR_EdgePoint |
Returns a pointer to a member variable of class MR::GeodesicPath named mids.
Calls MR_GeodesicPath_Get_mids(). The reference to this object might be preserved as the return value.
| auto meshlib::GeodesicPath::mids_mut | ( | ) | -> &mut meshlib::std_vector_MR_EdgePoint |
Returns a mutable pointer to a member variable of class MR::GeodesicPath named mids.
Calls MR_GeodesicPath_GetMutable_mids(). The reference to this object might be preserved as the return value.
|
static |
Constructs an empty (default-constructed) instance.
Calls MR_GeodesicPath_DefaultConstruct().
| auto meshlib::GeodesicPath::num_vertices | ( | ) | const -> usize |
Generated from method MR::GeodesicPath::numVertices.
Calls MR_GeodesicPath_numVertices().
| void meshlib::GeodesicPath::set_end | ( | value:&meshlib::MeshTriPoint | ) |
< can be invalid, then the path ends in mids.back() Modifies a member variable of class MR::GeodesicPath named end.
Calls MR_GeodesicPath_Set_end(). The reference to the parameter value might be preserved in this object in element end.
| void meshlib::GeodesicPath::set_mids | ( | value:&meshlib::std_vector_MR_EdgePoint | ) |
Modifies a member variable of class MR::GeodesicPath named mids.
Calls MR_GeodesicPath_Set_mids(). The reference to the parameter value might be preserved in this object in element mids.
| void meshlib::GeodesicPath::set_start | ( | value:&meshlib::MeshTriPoint | ) |
< can be invalid, then the path starts in mids.front() Modifies a member variable of class MR::GeodesicPath named start.
Calls MR_GeodesicPath_Set_start(). The reference to the parameter value might be preserved in this object in element start.
| auto meshlib::GeodesicPath::start | ( | ) | const -> &meshlib::MeshTriPoint |
< can be invalid, then the path starts in mids.front() Returns a pointer to a member variable of class MR::GeodesicPath named start.
Calls MR_GeodesicPath_Get_start(). The reference to this object might be preserved as the return value.
| auto meshlib::GeodesicPath::start_mut | ( | ) | -> &mut meshlib::MeshTriPoint |
< can be invalid, then the path starts in mids.front() Returns a mutable pointer to a member variable of class MR::GeodesicPath named start.
Calls MR_GeodesicPath_GetMutable_start(). The reference to this object might be preserved as the return value.