Public Member Functions | |
| auto | convert_to_bool () const -> bool |
| auto | assign_from_another (_other:&meshlib::PolylineProjectionResult2) -> &mut meshlib::PolylineProjectionResult2 |
| auto | valid () const -> bool |
| 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_sq () const -> &f32 |
| auto | dist_sq_mut () -> &mut f32 |
| void | set_dist_sq (value:f32) |
Static Public Member Functions | |
| static auto | new () -> meshlib::Owned< meshlib::PolylineProjectionResult2 > |
| static auto | construct_from (line:meshlib::UndirectedEdgeId, point:meshlib::Vector2f, distSq:f32) -> meshlib::Owned< meshlib::PolylineProjectionResult2 > |
| static auto | construct_from_another (_other:&meshlib::PolylineProjectionResult2) -> meshlib::Owned< meshlib::PolylineProjectionResult2 > |
| 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 |
Generated from class MR::PolylineProjectionResult2.
Generated from class MR::PolylineProjectionResult2. Heap-allocated instances are held in Owned<PolylineProjectionResult2>.
| auto meshlib::PolylineProjectionResult2::assign_from_another | ( | _other:&meshlib::PolylineProjectionResult2 | ) | -> &mut meshlib::PolylineProjectionResult2 |
Generated from method MR::PolylineProjectionResult2::operator=.
Calls MR_PolylineProjectionResult2_AssignFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in this object.
|
static |
Constructs MR::PolylineProjectionResult2 elementwise.
Calls MR_PolylineProjectionResult2_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.
|
static |
Generated from constructor MR::PolylineProjectionResult2::PolylineProjectionResult2.
Calls MR_PolylineProjectionResult2_ConstructFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object.
| auto meshlib::PolylineProjectionResult2::convert_to_bool | ( | ) | const -> bool |
Generated from conversion operator MR::PolylineProjectionResult2::operator bool.
Calls MR_PolylineProjectionResult2_ConvertTo_bool().
| auto meshlib::PolylineProjectionResult2::dist_sq | ( | ) | const -> &f32 |
squared distance from pt to proj Returns a pointer to a member variable of class MR::PolylineProjectionResult2 named distSq.
Calls MR_PolylineProjectionResult2_Get_distSq(). The reference to this object might be preserved as the return value.
| auto meshlib::PolylineProjectionResult2::dist_sq_mut | ( | ) | -> &mut f32 |
squared distance from pt to proj Returns a mutable pointer to a member variable of class MR::PolylineProjectionResult2 named distSq.
Calls MR_PolylineProjectionResult2_GetMutable_distSq(). The reference to this object might be preserved as the return value.
| auto meshlib::PolylineProjectionResult2::line | ( | ) | const -> &meshlib::UndirectedEdgeId |
polyline's edge containing the closest point Returns a pointer to a member variable of class MR::PolylineProjectionResult2 named line.
Calls MR_PolylineProjectionResult2_Get_line(). The reference to this object might be preserved as the return value.
| auto meshlib::PolylineProjectionResult2::line_mut | ( | ) | -> &mut meshlib::UndirectedEdgeId |
polyline's edge containing the closest point Returns a mutable pointer to a member variable of class MR::PolylineProjectionResult2 named line.
Calls MR_PolylineProjectionResult2_GetMutable_line(). The reference to this object might be preserved as the return value.
|
static |
Constructs an empty (default-constructed) instance.
Calls MR_PolylineProjectionResult2_DefaultConstruct().
| auto meshlib::PolylineProjectionResult2::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::PolylineProjectionResult2 named point.
Calls MR_PolylineProjectionResult2_Get_point(). The reference to this object might be preserved as the return value.
| auto meshlib::PolylineProjectionResult2::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::PolylineProjectionResult2 named point.
Calls MR_PolylineProjectionResult2_GetMutable_point(). The reference to this object might be preserved as the return value.
| void meshlib::PolylineProjectionResult2::set_dist_sq | ( | value:f32 | ) |
squared distance from pt to proj Modifies a member variable of class MR::PolylineProjectionResult2 named distSq.
Calls MR_PolylineProjectionResult2_Set_distSq().
| void meshlib::PolylineProjectionResult2::set_line | ( | value:meshlib::UndirectedEdgeId | ) |
polyline's edge containing the closest point Modifies a member variable of class MR::PolylineProjectionResult2 named line.
Calls MR_PolylineProjectionResult2_Set_line(). The reference to the parameter value might be preserved in this object in element line.
| void meshlib::PolylineProjectionResult2::set_point | ( | value:meshlib::Vector2f | ) |
closest point on polyline, transformed by xf if it is given Modifies a member variable of class MR::PolylineProjectionResult2 named point.
Calls MR_PolylineProjectionResult2_Set_point(). The reference to the parameter value might be preserved in this object in element point.
| auto meshlib::PolylineProjectionResult2::valid | ( | ) | const -> bool |
check for validity, otherwise the projection was not found Generated from method MR::PolylineProjectionResult2::valid.
Calls MR_PolylineProjectionResult2_valid().