MeshLib Rust Docs
Loading...
Searching...
No Matches
meshlib::PolylineMaker Struct Reference
Inheritance diagram for meshlib::PolylineMaker:

Public Member Functions

auto start (v:meshlib::VertId) -> meshlib::EdgeId
auto proceed (v:meshlib::VertId) -> meshlib::EdgeId
void close ()
void finish_open (v:meshlib::VertId)
auto topology () const -> &mut meshlib::PolylineTopology

Static Public Member Functions

static auto construct_from_another (_other:&meshlib::PolylineMaker) -> meshlib::Owned< meshlib::PolylineMaker >
static auto construct (t:&mut meshlib::PolylineTopology) -> meshlib::Owned< meshlib::PolylineMaker >
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

simplifies construction of connected polyline in the topology Generated from class MR::PolylineMaker.

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

Member Function Documentation

◆ close()

void meshlib::PolylineMaker::close ( )

closes the polyline Generated from method MR::PolylineMaker::close.

Calls MR_PolylineMaker_close().

◆ construct()

auto meshlib::PolylineMaker::construct ( t:&mut meshlib::PolylineTopology ) -> meshlib::Owned< meshlib::PolylineMaker >
static

Generated from constructor MR::PolylineMaker::PolylineMaker.

Calls MR_PolylineMaker_Construct(). The reference to the parameter t might be preserved in the constructed object.

◆ construct_from_another()

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

Generated from constructor MR::PolylineMaker::PolylineMaker.

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

◆ finish_open()

void meshlib::PolylineMaker::finish_open ( v:meshlib::VertId )

finishes the polyline adding final vertex in it Generated from method MR::PolylineMaker::finishOpen.

Calls MR_PolylineMaker_finishOpen().

◆ proceed()

auto meshlib::PolylineMaker::proceed ( v:meshlib::VertId ) -> meshlib::EdgeId

makes next edge of polyline

Parameters
vnext vertex of the polyline Generated from method MR::PolylineMaker::proceed.

Calls MR_PolylineMaker_proceed().

◆ start()

auto meshlib::PolylineMaker::start ( v:meshlib::VertId ) -> meshlib::EdgeId

creates first edge of polyline

Parameters
vfirst vertex of the polyline Generated from method MR::PolylineMaker::start.

Calls MR_PolylineMaker_start().

◆ topology()

auto meshlib::PolylineMaker::topology ( ) const -> &mut meshlib::PolylineTopology

Returns a pointer to a member variable of class MR::PolylineMaker named topology.

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


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