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

Public Member Functions

auto assign_from_another (_other:&meshlib::Polyline2ProjectionWithOffsetResult) -> &mut meshlib::Polyline2ProjectionWithOffsetResult
auto line () const -> &meshlib::UndirectedEdgeId
auto line_mut () -> &mut meshlib::UndirectedEdgeId
void set_line (value:meshlib::UndirectedEdgeId)
auto point () const -> &meshlib::Vector2f
auto point_mut () -> &mut meshlib::Vector2f
void set_point (value:meshlib::Vector2f)
auto dist () const -> &f32
auto dist_mut () -> &mut f32
void set_dist (value:f32)

Static Public Member Functions

static auto new () -> meshlib::Owned< meshlib::Polyline2ProjectionWithOffsetResult >
static auto construct_from (line:meshlib::UndirectedEdgeId, point:meshlib::Vector2f, dist:f32) -> meshlib::Owned< meshlib::Polyline2ProjectionWithOffsetResult >
static auto construct_from_another (_other:&meshlib::Polyline2ProjectionWithOffsetResult) -> meshlib::Owned< meshlib::Polyline2ProjectionWithOffsetResult >
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

Generated from class MR::Polyline2ProjectionWithOffsetResult.

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

Member Function Documentation

◆ assign_from_another()

auto meshlib::Polyline2ProjectionWithOffsetResult::assign_from_another ( _other:&meshlib::Polyline2ProjectionWithOffsetResult ) -> &mut meshlib::Polyline2ProjectionWithOffsetResult

Generated from method MR::Polyline2ProjectionWithOffsetResult::operator=.

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

◆ construct_from()

auto meshlib::Polyline2ProjectionWithOffsetResult::construct_from ( line:meshlib::UndirectedEdgeId ,
point:meshlib::Vector2f ,
dist:f32  ) -> meshlib::Owned< meshlib::Polyline2ProjectionWithOffsetResult >
static

Constructs MR::Polyline2ProjectionWithOffsetResult elementwise.

Calls MR_Polyline2ProjectionWithOffsetResult_ConstructFrom(). The reference to the parameter line might be preserved in the constructed object. The reference to the parameter point might be preserved in the constructed object.

◆ construct_from_another()

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

Generated from constructor MR::Polyline2ProjectionWithOffsetResult::Polyline2ProjectionWithOffsetResult.

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

◆ dist()

auto meshlib::Polyline2ProjectionWithOffsetResult::dist ( ) const -> &f32

distance from offset point to proj Returns a pointer to a member variable of class MR::Polyline2ProjectionWithOffsetResult named dist.

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

◆ dist_mut()

auto meshlib::Polyline2ProjectionWithOffsetResult::dist_mut ( ) -> &mut f32

distance from offset point to proj Returns a mutable pointer to a member variable of class MR::Polyline2ProjectionWithOffsetResult named dist.

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

◆ line()

auto meshlib::Polyline2ProjectionWithOffsetResult::line ( ) const -> &meshlib::UndirectedEdgeId

closest line id on polyline Returns a pointer to a member variable of class MR::Polyline2ProjectionWithOffsetResult named line.

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

◆ line_mut()

auto meshlib::Polyline2ProjectionWithOffsetResult::line_mut ( ) -> &mut meshlib::UndirectedEdgeId

closest line id on polyline Returns a mutable pointer to a member variable of class MR::Polyline2ProjectionWithOffsetResult named line.

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

◆ new()

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

Constructs an empty (default-constructed) instance.

Calls MR_Polyline2ProjectionWithOffsetResult_DefaultConstruct().

◆ point()

auto meshlib::Polyline2ProjectionWithOffsetResult::point ( ) const -> &meshlib::Vector2f

closest point on polyline, transformed by xf if it is given Returns a pointer to a member variable of class MR::Polyline2ProjectionWithOffsetResult named point.

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

◆ point_mut()

auto meshlib::Polyline2ProjectionWithOffsetResult::point_mut ( ) -> &mut meshlib::Vector2f

closest point on polyline, transformed by xf if it is given Returns a mutable pointer to a member variable of class MR::Polyline2ProjectionWithOffsetResult named point.

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

◆ set_dist()

void meshlib::Polyline2ProjectionWithOffsetResult::set_dist ( value:f32 )

distance from offset point to proj Modifies a member variable of class MR::Polyline2ProjectionWithOffsetResult named dist.

Calls MR_Polyline2ProjectionWithOffsetResult_Set_dist().

◆ set_line()

void meshlib::Polyline2ProjectionWithOffsetResult::set_line ( value:meshlib::UndirectedEdgeId )

closest line id on polyline Modifies a member variable of class MR::Polyline2ProjectionWithOffsetResult named line.

Calls MR_Polyline2ProjectionWithOffsetResult_Set_line(). The reference to the parameter value might be preserved in this object in element line.

◆ set_point()

void meshlib::Polyline2ProjectionWithOffsetResult::set_point ( value:meshlib::Vector2f )

closest point on polyline, transformed by xf if it is given Modifies a member variable of class MR::Polyline2ProjectionWithOffsetResult named point.

Calls MR_Polyline2ProjectionWithOffsetResult_Set_point(). The reference to the parameter value might be preserved in this object in element point.


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