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

Public Member Functions

auto assign_from_another (_other:&meshlib::PolylineIntersectionResult2) -> &mut meshlib::PolylineIntersectionResult2
auto edge_point () const -> &meshlib::EdgePoint
auto edge_point_mut () -> &mut meshlib::EdgePoint
void set_edge_point (value:&meshlib::EdgePoint)
auto distance_along_line () const -> &f32
auto distance_along_line_mut () -> &mut f32
void set_distance_along_line (value:f32)

Static Public Member Functions

static auto new () -> meshlib::Owned< meshlib::PolylineIntersectionResult2 >
static auto construct_from (edgePoint:&meshlib::EdgePoint, distanceAlongLine:f32) -> meshlib::Owned< meshlib::PolylineIntersectionResult2 >
static auto construct_from_another (_other:&meshlib::PolylineIntersectionResult2) -> meshlib::Owned< meshlib::PolylineIntersectionResult2 >
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::PolylineIntersectionResult2.

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

Member Function Documentation

◆ assign_from_another()

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

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

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

◆ construct_from()

auto meshlib::PolylineIntersectionResult2::construct_from ( edgePoint:&meshlib::EdgePoint ,
distanceAlongLine:f32  ) -> meshlib::Owned< meshlib::PolylineIntersectionResult2 >
static

Constructs MR::PolylineIntersectionResult2 elementwise.

Calls MR_PolylineIntersectionResult2_ConstructFrom(). The reference to the parameter edgePoint might be preserved in the constructed object.

◆ construct_from_another()

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

Generated from constructor MR::PolylineIntersectionResult2::PolylineIntersectionResult2.

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

◆ distance_along_line()

auto meshlib::PolylineIntersectionResult2::distance_along_line ( ) const -> &f32

stores the distance from ray origin to the intersection point in direction units Returns a pointer to a member variable of class MR::PolylineIntersectionResult2 named distanceAlongLine.

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

◆ distance_along_line_mut()

auto meshlib::PolylineIntersectionResult2::distance_along_line_mut ( ) -> &mut f32

stores the distance from ray origin to the intersection point in direction units Returns a mutable pointer to a member variable of class MR::PolylineIntersectionResult2 named distanceAlongLine.

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

◆ edge_point()

auto meshlib::PolylineIntersectionResult2::edge_point ( ) const -> &meshlib::EdgePoint

intersection point in polyline Returns a pointer to a member variable of class MR::PolylineIntersectionResult2 named edgePoint.

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

◆ edge_point_mut()

auto meshlib::PolylineIntersectionResult2::edge_point_mut ( ) -> &mut meshlib::EdgePoint

intersection point in polyline Returns a mutable pointer to a member variable of class MR::PolylineIntersectionResult2 named edgePoint.

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

◆ new()

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

Constructs an empty (default-constructed) instance.

Calls MR_PolylineIntersectionResult2_DefaultConstruct().

◆ set_distance_along_line()

void meshlib::PolylineIntersectionResult2::set_distance_along_line ( value:f32 )

stores the distance from ray origin to the intersection point in direction units Modifies a member variable of class MR::PolylineIntersectionResult2 named distanceAlongLine.

Calls MR_PolylineIntersectionResult2_Set_distanceAlongLine().

◆ set_edge_point()

void meshlib::PolylineIntersectionResult2::set_edge_point ( value:&meshlib::EdgePoint )

intersection point in polyline Modifies a member variable of class MR::PolylineIntersectionResult2 named edgePoint.

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


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