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

Public Member Functions

auto per_edge_offset () const -> &meshlib::UndirectedEdgeScalars

Static Public Member Functions

static auto construct_from_another (_other:&meshlib::ContoursDistanceMapOffset) -> meshlib::Owned< meshlib::ContoursDistanceMapOffset >
static auto construct_from (perEdgeOffset:&meshlib::UndirectedEdgeScalars, type:meshlib::ContoursDistanceMapOffset_OffsetType) -> meshlib::Owned< meshlib::ContoursDistanceMapOffset >
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

Structure with parameters for optional offset in distanceMapFromContours function Generated from class MR::ContoursDistanceMapOffset.

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

Member Function Documentation

◆ construct_from()

auto meshlib::ContoursDistanceMapOffset::construct_from ( perEdgeOffset:&meshlib::UndirectedEdgeScalars ,
type:meshlib::ContoursDistanceMapOffset_OffsetType  ) -> meshlib::Owned< meshlib::ContoursDistanceMapOffset >
static

Constructs MR::ContoursDistanceMapOffset elementwise.

Calls MR_ContoursDistanceMapOffset_ConstructFrom(). The reference to the parameter perEdgeOffset might be preserved in the constructed object. The reference to the parameter type might be preserved in the constructed object.

◆ construct_from_another()

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

Generated from constructor MR::ContoursDistanceMapOffset::ContoursDistanceMapOffset.

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

◆ per_edge_offset()

auto meshlib::ContoursDistanceMapOffset::per_edge_offset ( ) const -> &meshlib::UndirectedEdgeScalars

offset values for each undirected edge of given polyline Returns a pointer to a member variable of class MR::ContoursDistanceMapOffset named perEdgeOffset.

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


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