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

Public Member Functions

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

Static Public Member Functions

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

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

Member Function Documentation

◆ assign_from_another()

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

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

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

◆ construct_from()

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

Constructs MR::PolylineProjectionWithOffsetResult3 elementwise.

Calls MR_PolylineProjectionWithOffsetResult3_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::PolylineProjectionWithOffsetResult3::construct_from_another ( _other:&meshlib::PolylineProjectionWithOffsetResult3 ) -> meshlib::Owned< meshlib::PolylineProjectionWithOffsetResult3 >
static

Generated from constructor MR::PolylineProjectionWithOffsetResult3::PolylineProjectionWithOffsetResult3.

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

◆ dist()

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

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

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

◆ dist_mut()

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

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

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

◆ line()

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

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

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

◆ line_mut()

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

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

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

◆ new()

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

Constructs an empty (default-constructed) instance.

Calls MR_PolylineProjectionWithOffsetResult3_DefaultConstruct().

◆ point()

auto meshlib::PolylineProjectionWithOffsetResult3::point ( ) const -> &meshlib::Vector3f

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

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

◆ point_mut()

auto meshlib::PolylineProjectionWithOffsetResult3::point_mut ( ) -> &mut meshlib::Vector3f

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

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

◆ set_dist()

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

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

Calls MR_PolylineProjectionWithOffsetResult3_Set_dist().

◆ set_line()

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

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

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

◆ set_point()

void meshlib::PolylineProjectionWithOffsetResult3::set_point ( value:meshlib::Vector3f )

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

Calls MR_PolylineProjectionWithOffsetResult3_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: