Public Member Functions | |
| auto | assign_from_another (_other:&meshlib::Plane3f) -> &mut meshlib::Plane3f |
| auto | distance (x:&meshlib::Vector3f) const -> f32 |
| auto | op_neg () const -> meshlib::Owned< meshlib::Plane3f > |
| auto | op_pos () const -> &meshlib::Plane3f |
| auto | normalized () const -> meshlib::Owned< meshlib::Plane3f > |
| auto | project (p:&meshlib::Vector3f) const -> meshlib::Vector3f |
| auto | n () const -> &meshlib::Vector3f |
| auto | n_mut () -> &mut meshlib::Vector3f |
| void | set_n (value:meshlib::Vector3f) |
| auto | d () const -> &f32 |
| auto | d_mut () -> &mut f32 |
| void | set_d (value:f32) |
Static Public Member Functions | |
| static auto | new () -> meshlib::Owned< meshlib::Plane3f > |
| static auto | construct_from_another (_other:&meshlib::Plane3f) -> meshlib::Owned< meshlib::Plane3f > |
| static auto | construct (n:&meshlib::Vector3f, d:f32) -> meshlib::Owned< meshlib::Plane3f > |
| static auto | construct_double (p:&meshlib::Plane3d) -> meshlib::Owned< meshlib::Plane3f > |
| static auto | from_dir_and_pt (n:&meshlib::Vector3f, p:&meshlib::Vector3f) -> meshlib::Owned< meshlib::Plane3f > |
| 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 |
3-dimensional plane: dot(n,x) - d = 0 Generated from class MR::Plane3f.
Generated from class MR::Plane3f. Heap-allocated instances are held in Owned<Plane3f>.
| auto meshlib::Plane3f::assign_from_another | ( | _other:&meshlib::Plane3f | ) | -> &mut meshlib::Plane3f |
Generated from method MR::Plane3f::operator=.
Calls MR_Plane3f_AssignFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in this object.
|
static |
Generated from constructor MR::Plane3f::Plane3f.
Calls MR_Plane3f_Construct(). The reference to the parameter n might be preserved in the constructed object.
|
static |
Here T == U doesn't seem to cause any issues in the C++ code, but we're still disabling it because it somehow gets emitted when generating the bindings, and results in duplicate functions in C#. Generated from constructor MR::Plane3f::Plane3f.
Calls MR_Plane3f_Construct_double(). The reference to the parameter p might be preserved in the constructed object.
|
static |
Generated from constructor MR::Plane3f::Plane3f.
Calls MR_Plane3f_ConstructFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object.
| auto meshlib::Plane3f::d | ( | ) | const -> &f32 |
Returns a pointer to a member variable of class MR::Plane3f named d.
Calls MR_Plane3f_Get_d(). The reference to this object might be preserved as the return value.
| auto meshlib::Plane3f::d_mut | ( | ) | -> &mut f32 |
Returns a mutable pointer to a member variable of class MR::Plane3f named d.
Calls MR_Plane3f_GetMutable_d(). The reference to this object might be preserved as the return value.
| auto meshlib::Plane3f::distance | ( | x:&meshlib::Vector3f | ) | const -> f32 |
returns distance from given point to this plane (if n is a unit vector) Generated from method MR::Plane3f::distance.
Calls MR_Plane3f_distance().
|
static |
Generated from method MR::Plane3f::fromDirAndPt.
Calls MR_Plane3f_fromDirAndPt().
| auto meshlib::Plane3f::n | ( | ) | const -> &meshlib::Vector3f |
Returns a pointer to a member variable of class MR::Plane3f named n.
Calls MR_Plane3f_Get_n(). The reference to this object might be preserved as the return value.
| auto meshlib::Plane3f::n_mut | ( | ) | -> &mut meshlib::Vector3f |
Returns a mutable pointer to a member variable of class MR::Plane3f named n.
Calls MR_Plane3f_GetMutable_n(). The reference to this object might be preserved as the return value.
|
static |
Constructs an empty (default-constructed) instance.
Calls MR_Plane3f_DefaultConstruct().
| auto meshlib::Plane3f::normalized | ( | ) | const -> meshlib::Owned< meshlib::Plane3f > |
returns same plane represented with unit n-vector Generated from method MR::Plane3f::normalized.
Calls MR_Plane3f_normalized().
| auto meshlib::Plane3f::op_neg | ( | ) | const -> meshlib::Owned< meshlib::Plane3f > |
returns same plane represented with flipped direction of n-vector Generated from method MR::Plane3f::operator-.
Calls MR_neg_MR_Plane3f().
| auto meshlib::Plane3f::op_pos | ( | ) | const -> &meshlib::Plane3f |
returns same representation Generated from method MR::Plane3f::operator+.
Calls MR_pos_MR_Plane3f().
| auto meshlib::Plane3f::project | ( | p:&meshlib::Vector3f | ) | const -> meshlib::Vector3f |
finds the closest point on plane Generated from method MR::Plane3f::project.
Calls MR_Plane3f_project().
| void meshlib::Plane3f::set_d | ( | value:f32 | ) |
Modifies a member variable of class MR::Plane3f named d.
Calls MR_Plane3f_Set_d().
| void meshlib::Plane3f::set_n | ( | value:meshlib::Vector3f | ) |
Modifies a member variable of class MR::Plane3f named n.
Calls MR_Plane3f_Set_n(). The reference to the parameter value might be preserved in this object in element n.