encodes a point inside a line segment using relative distance in [0,1] Generated from class MR::SegmPointf. More...
Public Member Functions | |
| auto | convert_to_float () const -> f32 |
| auto | convert_to_float_ref () -> &mut f32 |
| auto | assign_from_another (_other:&meshlib::SegmPointf) -> &mut meshlib::SegmPointf |
| auto | in_vertex () const -> core::ffi::c_int |
| auto | sym () const -> meshlib::Owned< meshlib::SegmPointf > |
| auto | op_equal (rhs:&meshlib::SegmPointf) const -> bool |
| auto | op_not_equal (rhs:&meshlib::SegmPointf) const -> bool |
| auto | op_equal_float (rhs:f32) const -> bool |
| auto | op_not_equal_float (rhs:f32) const -> bool |
| auto | a () const -> &f32 |
| auto | a_mut () -> &mut f32 |
| void | set_a (value:f32) |
Static Public Member Functions | |
| static auto | new () -> meshlib::Owned< meshlib::SegmPointf > |
| static auto | construct_from_another (_other:&meshlib::SegmPointf) -> meshlib::Owned< meshlib::SegmPointf > |
| static auto | construct (a:f32) -> meshlib::Owned< meshlib::SegmPointf > |
| static auto | eps () -> *const f32 |
| 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 |
encodes a point inside a line segment using relative distance in [0,1] Generated from class MR::SegmPointf.
Generated from class MR::SegmPointf. Heap-allocated instances are held in Owned<SegmPointf>.
| auto meshlib::SegmPointf::a | ( | ) | const -> &f32 |
< a in [0,1], a=0 => point is in v0, a=1 => point is in v1 Returns a pointer to a member variable of class MR::SegmPointf named a.
Calls MR_SegmPointf_Get_a(). The reference to this object might be preserved as the return value.
| auto meshlib::SegmPointf::a_mut | ( | ) | -> &mut f32 |
< a in [0,1], a=0 => point is in v0, a=1 => point is in v1 Returns a mutable pointer to a member variable of class MR::SegmPointf named a.
Calls MR_SegmPointf_GetMutable_a(). The reference to this object might be preserved as the return value.
| auto meshlib::SegmPointf::assign_from_another | ( | _other:&meshlib::SegmPointf | ) | -> &mut meshlib::SegmPointf |
Generated from method MR::SegmPointf::operator=.
Calls MR_SegmPointf_AssignFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in this object.
|
static |
Generated from constructor MR::SegmPointf::SegmPointf.
Calls MR_SegmPointf_Construct().
|
static |
Generated from constructor MR::SegmPointf::SegmPointf.
Calls MR_SegmPointf_ConstructFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object.
| auto meshlib::SegmPointf::convert_to_float | ( | ) | const -> f32 |
Generated from conversion operator MR::SegmPointf::operator float.
Calls MR_SegmPointf_ConvertTo_float().
| auto meshlib::SegmPointf::convert_to_float_ref | ( | ) | -> &mut f32 |
Generated from conversion operator MR::SegmPointf::operator float &.
Calls MR_SegmPointf_ConvertTo_float_ref().
|
static |
Returns a pointer to a member variable of class MR::SegmPointf named eps.
Calls MR_SegmPointf_Get_eps().
| auto meshlib::SegmPointf::in_vertex | ( | ) | const -> core::ffi::c_int |
returns [0,1] if the point is in a vertex or -1 otherwise Generated from method MR::SegmPointf::inVertex.
Calls MR_SegmPointf_inVertex().
|
static |
Constructs an empty (default-constructed) instance.
Calls MR_SegmPointf_DefaultConstruct().
| auto meshlib::SegmPointf::op_equal | ( | rhs:&meshlib::SegmPointf | ) | const -> bool |
returns true if two points have equal (a) representation Generated from method MR::SegmPointf::operator==.
Calls MR_equal_MR_SegmPointf().
| auto meshlib::SegmPointf::op_equal_float | ( | rhs:f32 | ) | const -> bool |
Generated from method MR::SegmPointf::operator==.
Calls MR_equal_MR_SegmPointf_float().
| auto meshlib::SegmPointf::op_not_equal | ( | rhs:&meshlib::SegmPointf | ) | const -> bool |
returns true if two points have equal (a) representation Generated from method MR::SegmPointf::operator!=.
Calls MR_not_equal_MR_SegmPointf().
| auto meshlib::SegmPointf::op_not_equal_float | ( | rhs:f32 | ) | const -> bool |
Generated from method MR::SegmPointf::operator!=.
Calls MR_not_equal_MR_SegmPointf_float().
| void meshlib::SegmPointf::set_a | ( | value:f32 | ) |
< a in [0,1], a=0 => point is in v0, a=1 => point is in v1 Modifies a member variable of class MR::SegmPointf named a.
Calls MR_SegmPointf_Set_a().
| auto meshlib::SegmPointf::sym | ( | ) | const -> meshlib::Owned< meshlib::SegmPointf > |
represents the same point relative to oppositely directed segment Generated from method MR::SegmPointf::sym.
Calls MR_SegmPointf_sym().