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

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

Detailed Description

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>.

Member Function Documentation

◆ assign_from_another()

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.

◆ construct_from()

auto meshlib::GeodesicPath::construct_from ( start:&meshlib::MeshTriPoint ,
mids:&meshlib::std_vector_MR_EdgePoint ,
end:&meshlib::MeshTriPoint  ) -> meshlib::Owned< meshlib::GeodesicPath >
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.

◆ construct_from_another()

auto meshlib::GeodesicPath::construct_from_another ( _other:&meshlib::GeodesicPath ) -> meshlib::Owned< meshlib::GeodesicPath >
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.

◆ end()

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.

◆ end_mut()

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.

◆ index()

auto meshlib::GeodesicPath::index ( i:usize ) const -> meshlib::Owned< meshlib::MeshTriPoint >

Generated from method MR::GeodesicPath::operator[].

Calls MR_GeodesicPath_index().

◆ mids()

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.

◆ mids_mut()

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.

◆ new()

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

Constructs an empty (default-constructed) instance.

Calls MR_GeodesicPath_DefaultConstruct().

◆ num_vertices()

auto meshlib::GeodesicPath::num_vertices ( ) const -> usize

Generated from method MR::GeodesicPath::numVertices.

Calls MR_GeodesicPath_numVertices().

◆ set_end()

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.

◆ set_mids()

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.

◆ set_start()

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.

◆ 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.

◆ start_mut()

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.


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