Public Member Functions | |
| auto | assign_from_another (_other:&meshlib::features::primitives::Plane) -> &mut meshlib::features::primitives::Plane |
| auto | intersect_with_plane (other:&meshlib::features::primitives::Plane) const -> meshlib::Owned< meshlib::features::primitives::ConeSegment > |
| auto | intersect_with_line (line:&meshlib::features::primitives::ConeSegment) const -> meshlib::Owned< meshlib::Sphere3f > |
| auto | center () const -> &meshlib::Vector3f |
| auto | center_mut () -> &mut meshlib::Vector3f |
| void | set_center (value:meshlib::Vector3f) |
| auto | normal () const -> &meshlib::Vector3f |
| auto | normal_mut () -> &mut meshlib::Vector3f |
| void | set_normal (value:meshlib::Vector3f) |
Static Public Member Functions | |
| static auto | new () -> meshlib::Owned< meshlib::features::primitives::Plane > |
| static auto | construct_from (center:meshlib::Vector3f, normal:meshlib::Vector3f) -> meshlib::Owned< meshlib::features::primitives::Plane > |
| static auto | construct_from_another (_other:&meshlib::features::primitives::Plane) -> meshlib::Owned< meshlib::features::primitives::Plane > |
| 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::Features::Primitives::Plane.
Generated from class MR::Features::Primitives::Plane. Heap-allocated instances are held in Owned<Plane>.
| auto meshlib::features::primitives::Plane::assign_from_another | ( | _other:&meshlib::features::primitives::Plane | ) | -> &mut meshlib::features::primitives::Plane |
Generated from method MR::Features::Primitives::Plane::operator=.
Calls MR_Features_Primitives_Plane_AssignFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in this object.
| auto meshlib::features::primitives::Plane::center | ( | ) | const -> &meshlib::Vector3f |
Returns a pointer to a member variable of class MR::Features::Primitives::Plane named center.
Calls MR_Features_Primitives_Plane_Get_center(). The reference to this object might be preserved as the return value.
| auto meshlib::features::primitives::Plane::center_mut | ( | ) | -> &mut meshlib::Vector3f |
Returns a mutable pointer to a member variable of class MR::Features::Primitives::Plane named center.
Calls MR_Features_Primitives_Plane_GetMutable_center(). The reference to this object might be preserved as the return value.
|
static |
Constructs MR::Features::Primitives::Plane elementwise.
Calls MR_Features_Primitives_Plane_ConstructFrom(). The reference to the parameter center might be preserved in the constructed object. The reference to the parameter normal might be preserved in the constructed object.
|
static |
Generated from constructor MR::Features::Primitives::Plane::Plane.
Calls MR_Features_Primitives_Plane_ConstructFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object.
| auto meshlib::features::primitives::Plane::intersect_with_line | ( | line:&meshlib::features::primitives::ConeSegment | ) | const -> meshlib::Owned< meshlib::Sphere3f > |
Intersects the plane with a line, returns a point (zero radius sphere). Only center and dir are used from line (so if line is a cone/cylinder, its axis is used, and the line is extended to infinity). Generated from method MR::Features::Primitives::Plane::intersectWithLine.
Calls MR_Features_Primitives_Plane_intersectWithLine().
| auto meshlib::features::primitives::Plane::intersect_with_plane | ( | other:&meshlib::features::primitives::Plane | ) | const -> meshlib::Owned< meshlib::features::primitives::ConeSegment > |
Returns an infinite line, with the center in a sane location. Generated from method MR::Features::Primitives::Plane::intersectWithPlane.
Calls MR_Features_Primitives_Plane_intersectWithPlane().
|
static |
Constructs an empty (default-constructed) instance.
Calls MR_Features_Primitives_Plane_DefaultConstruct().
| auto meshlib::features::primitives::Plane::normal | ( | ) | const -> &meshlib::Vector3f |
This must be normalized. The sign doesn't matter. Returns a pointer to a member variable of class MR::Features::Primitives::Plane named normal.
Calls MR_Features_Primitives_Plane_Get_normal(). The reference to this object might be preserved as the return value.
| auto meshlib::features::primitives::Plane::normal_mut | ( | ) | -> &mut meshlib::Vector3f |
This must be normalized. The sign doesn't matter. Returns a mutable pointer to a member variable of class MR::Features::Primitives::Plane named normal.
Calls MR_Features_Primitives_Plane_GetMutable_normal(). The reference to this object might be preserved as the return value.
| void meshlib::features::primitives::Plane::set_center | ( | value:meshlib::Vector3f | ) |
Modifies a member variable of class MR::Features::Primitives::Plane named center.
Calls MR_Features_Primitives_Plane_Set_center(). The reference to the parameter value might be preserved in this object in element center.
| void meshlib::features::primitives::Plane::set_normal | ( | value:meshlib::Vector3f | ) |
This must be normalized. The sign doesn't matter. Modifies a member variable of class MR::Features::Primitives::Plane named normal.
Calls MR_Features_Primitives_Plane_Set_normal(). The reference to the parameter value might be preserved in this object in element normal.