Public Member Functions | |
| auto | assign_from_another (_other:&meshlib::Cone3d) -> &mut meshlib::Cone3d |
| auto | center_mut () -> &mut meshlib::Vector3d |
| auto | center () const -> &meshlib::Vector3d |
| auto | direction_mut () -> &mut meshlib::Vector3d |
| auto | direction () const -> &meshlib::Vector3d |
| auto | apex_mut () -> &mut meshlib::Vector3d |
| auto | apex () const -> &meshlib::Vector3d |
| auto | project_point (point:&meshlib::Vector3d) const -> meshlib::Vector3d |
| auto | axis () const -> &meshlib::Line3d |
| auto | axis_mut () -> &mut meshlib::Line3d |
| void | set_axis (value:&meshlib::Line3d) |
| auto | angle () const -> &f64 |
| auto | angle_mut () -> &mut f64 |
| void | set_angle (value:f64) |
| auto | height () const -> &f64 |
| auto | height_mut () -> &mut f64 |
| void | set_height (value:f64) |
Static Public Member Functions | |
| static auto | new () -> meshlib::Owned< meshlib::Cone3d > |
| static auto | construct_from_another (_other:&meshlib::Cone3d) -> meshlib::Owned< meshlib::Cone3d > |
| static auto | construct (inAxis:&meshlib::Line3d, inAngle:f64, inHeight:f64) -> meshlib::Owned< meshlib::Cone3d > |
| 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 |
Base class for cone parameterization Generated from class MR::Cone3d.
Generated from class MR::Cone3d. Heap-allocated instances are held in Owned<Cone3d>.
| auto meshlib::Cone3d::angle | ( | ) | const -> &f64 |
cone angle, main axis vs side Returns a pointer to a member variable of class MR::Cone3d named angle.
Calls MR_Cone3d_Get_angle(). The reference to this object might be preserved as the return value.
| auto meshlib::Cone3d::angle_mut | ( | ) | -> &mut f64 |
cone angle, main axis vs side Returns a mutable pointer to a member variable of class MR::Cone3d named angle.
Calls MR_Cone3d_GetMutable_angle(). The reference to this object might be preserved as the return value.
| auto meshlib::Cone3d::apex | ( | ) | const -> &meshlib::Vector3d |
return cone apex position Generated from method MR::Cone3d::apex.
Calls MR_Cone3d_apex().
| auto meshlib::Cone3d::apex_mut | ( | ) | -> &mut meshlib::Vector3d |
return cone apex position Generated from method MR::Cone3d::apex.
Calls MR_Cone3d_apex_mut().
| auto meshlib::Cone3d::assign_from_another | ( | _other:&meshlib::Cone3d | ) | -> &mut meshlib::Cone3d |
Generated from method MR::Cone3d::operator=.
Calls MR_Cone3d_AssignFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in this object.
| auto meshlib::Cone3d::axis | ( | ) | const -> &meshlib::Line3d |
the combination of the apex of the cone and the direction of its main axis in space. Returns a pointer to a member variable of class MR::Cone3d named axis.
Calls MR_Cone3d_Get_axis(). The reference to this object might be preserved as the return value.
| auto meshlib::Cone3d::axis_mut | ( | ) | -> &mut meshlib::Line3d |
the combination of the apex of the cone and the direction of its main axis in space. Returns a mutable pointer to a member variable of class MR::Cone3d named axis.
Calls MR_Cone3d_GetMutable_axis(). The reference to this object might be preserved as the return value.
| auto meshlib::Cone3d::center | ( | ) | const -> &meshlib::Vector3d |
now we use an apex as center of the cone. Generated from method MR::Cone3d::center.
Calls MR_Cone3d_center().
| auto meshlib::Cone3d::center_mut | ( | ) | -> &mut meshlib::Vector3d |
now we use an apex as center of the cone. Generated from method MR::Cone3d::center.
Calls MR_Cone3d_center_mut().
|
static |
inAxis – apex position and main axis direction. For any cone point dot( point , direction ) >=0 inAngle – cone angle, main axis vs side inHeight – cone inHeight main axis direction could be non normalized. Generated from constructor MR::Cone3d::Cone3d.
Calls MR_Cone3d_Construct(). The reference to the parameter inAxis might be preserved in the constructed object.
|
static |
Generated from constructor MR::Cone3d::Cone3d.
Calls MR_Cone3d_ConstructFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object.
| auto meshlib::Cone3d::direction | ( | ) | const -> &meshlib::Vector3d |
main axis direction. It could be non normalized. For any cone point dot( point , direction ) >=0 Generated from method MR::Cone3d::direction.
Calls MR_Cone3d_direction().
| auto meshlib::Cone3d::direction_mut | ( | ) | -> &mut meshlib::Vector3d |
main axis direction. It could be non normalized. For any cone point dot( point , direction ) >=0 Generated from method MR::Cone3d::direction.
Calls MR_Cone3d_direction_mut().
| auto meshlib::Cone3d::height | ( | ) | const -> &f64 |
cone height Returns a pointer to a member variable of class MR::Cone3d named height.
Calls MR_Cone3d_Get_height(). The reference to this object might be preserved as the return value.
| auto meshlib::Cone3d::height_mut | ( | ) | -> &mut f64 |
cone height Returns a mutable pointer to a member variable of class MR::Cone3d named height.
Calls MR_Cone3d_GetMutable_height(). The reference to this object might be preserved as the return value.
|
static |
Constructs an empty (default-constructed) instance.
Calls MR_Cone3d_DefaultConstruct().
| auto meshlib::Cone3d::project_point | ( | point:&meshlib::Vector3d | ) | const -> meshlib::Vector3d |
Generated from method MR::Cone3d::projectPoint.
Calls MR_Cone3d_projectPoint().
| void meshlib::Cone3d::set_angle | ( | value:f64 | ) |
cone angle, main axis vs side Modifies a member variable of class MR::Cone3d named angle.
Calls MR_Cone3d_Set_angle().
| void meshlib::Cone3d::set_axis | ( | value:&meshlib::Line3d | ) |
the combination of the apex of the cone and the direction of its main axis in space. Modifies a member variable of class MR::Cone3d named axis.
Calls MR_Cone3d_Set_axis(). The reference to the parameter value might be preserved in this object in element axis.
| void meshlib::Cone3d::set_height | ( | value:f64 | ) |
cone height Modifies a member variable of class MR::Cone3d named height.
Calls MR_Cone3d_Set_height().