Public Member Functions | |
| auto | assign_from_another (_other:&meshlib::Plane3d) -> &mut meshlib::Plane3d |
| auto | distance (x:&meshlib::Vector3d) const -> f64 |
| auto | op_neg () const -> meshlib::Owned< meshlib::Plane3d > |
| auto | op_pos () const -> &meshlib::Plane3d |
| auto | normalized () const -> meshlib::Owned< meshlib::Plane3d > |
| auto | project (p:&meshlib::Vector3d) const -> meshlib::Vector3d |
| auto | n () const -> &meshlib::Vector3d |
| auto | n_mut () -> &mut meshlib::Vector3d |
| void | set_n (value:meshlib::Vector3d) |
| auto | d () const -> &f64 |
| auto | d_mut () -> &mut f64 |
| void | set_d (value:f64) |
Static Public Member Functions | |
| static auto | new () -> meshlib::Owned< meshlib::Plane3d > |
| static auto | construct_from_another (_other:&meshlib::Plane3d) -> meshlib::Owned< meshlib::Plane3d > |
| static auto | construct (n:&meshlib::Vector3d, d:f64) -> meshlib::Owned< meshlib::Plane3d > |
| static auto | construct_float (p:&meshlib::Plane3f) -> meshlib::Owned< meshlib::Plane3d > |
| static auto | from_dir_and_pt (n:&meshlib::Vector3d, p:&meshlib::Vector3d) -> meshlib::Owned< meshlib::Plane3d > |
| 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::Plane3d.
Generated from class MR::Plane3d. Heap-allocated instances are held in Owned<Plane3d>.
| auto meshlib::Plane3d::assign_from_another | ( | _other:&meshlib::Plane3d | ) | -> &mut meshlib::Plane3d |
Generated from method MR::Plane3d::operator=.
Calls MR_Plane3d_AssignFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in this object.
|
static |
Generated from constructor MR::Plane3d::Plane3d.
Calls MR_Plane3d_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::Plane3d::Plane3d.
Calls MR_Plane3d_Construct_float(). The reference to the parameter p might be preserved in the constructed object.
|
static |
Generated from constructor MR::Plane3d::Plane3d.
Calls MR_Plane3d_ConstructFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object.
| auto meshlib::Plane3d::d | ( | ) | const -> &f64 |
Returns a pointer to a member variable of class MR::Plane3d named d.
Calls MR_Plane3d_Get_d(). The reference to this object might be preserved as the return value.
| auto meshlib::Plane3d::d_mut | ( | ) | -> &mut f64 |
Returns a mutable pointer to a member variable of class MR::Plane3d named d.
Calls MR_Plane3d_GetMutable_d(). The reference to this object might be preserved as the return value.
| auto meshlib::Plane3d::distance | ( | x:&meshlib::Vector3d | ) | const -> f64 |
returns distance from given point to this plane (if n is a unit vector) Generated from method MR::Plane3d::distance.
Calls MR_Plane3d_distance().
|
static |
Generated from method MR::Plane3d::fromDirAndPt.
Calls MR_Plane3d_fromDirAndPt().
| auto meshlib::Plane3d::n | ( | ) | const -> &meshlib::Vector3d |
Returns a pointer to a member variable of class MR::Plane3d named n.
Calls MR_Plane3d_Get_n(). The reference to this object might be preserved as the return value.
| auto meshlib::Plane3d::n_mut | ( | ) | -> &mut meshlib::Vector3d |
Returns a mutable pointer to a member variable of class MR::Plane3d named n.
Calls MR_Plane3d_GetMutable_n(). The reference to this object might be preserved as the return value.
|
static |
Constructs an empty (default-constructed) instance.
Calls MR_Plane3d_DefaultConstruct().
| auto meshlib::Plane3d::normalized | ( | ) | const -> meshlib::Owned< meshlib::Plane3d > |
returns same plane represented with unit n-vector Generated from method MR::Plane3d::normalized.
Calls MR_Plane3d_normalized().
| auto meshlib::Plane3d::op_neg | ( | ) | const -> meshlib::Owned< meshlib::Plane3d > |
returns same plane represented with flipped direction of n-vector Generated from method MR::Plane3d::operator-.
Calls MR_neg_MR_Plane3d().
| auto meshlib::Plane3d::op_pos | ( | ) | const -> &meshlib::Plane3d |
returns same representation Generated from method MR::Plane3d::operator+.
Calls MR_pos_MR_Plane3d().
| auto meshlib::Plane3d::project | ( | p:&meshlib::Vector3d | ) | const -> meshlib::Vector3d |
finds the closest point on plane Generated from method MR::Plane3d::project.
Calls MR_Plane3d_project().
| void meshlib::Plane3d::set_d | ( | value:f64 | ) |
Modifies a member variable of class MR::Plane3d named d.
Calls MR_Plane3d_Set_d().
| void meshlib::Plane3d::set_n | ( | value:meshlib::Vector3d | ) |
Modifies a member variable of class MR::Plane3d named n.
Calls MR_Plane3d_Set_n(). The reference to the parameter value might be preserved in this object in element n.