Public Member Functions | |
| auto | assign_from_another (_other:&meshlib::Cone3f) -> &mut meshlib::Cone3f |
| auto | center_mut () -> &mut meshlib::Vector3f |
| auto | center () const -> &meshlib::Vector3f |
| auto | direction_mut () -> &mut meshlib::Vector3f |
| auto | direction () const -> &meshlib::Vector3f |
| auto | apex_mut () -> &mut meshlib::Vector3f |
| auto | apex () const -> &meshlib::Vector3f |
| auto | project_point (point:&meshlib::Vector3f) const -> meshlib::Vector3f |
| auto | axis () const -> &meshlib::Line3f |
| auto | axis_mut () -> &mut meshlib::Line3f |
| void | set_axis (value:&meshlib::Line3f) |
| auto | angle () const -> &f32 |
| auto | angle_mut () -> &mut f32 |
| void | set_angle (value:f32) |
| auto | height () const -> &f32 |
| auto | height_mut () -> &mut f32 |
| void | set_height (value:f32) |
Static Public Member Functions | |
| static auto | new () -> meshlib::Owned< meshlib::Cone3f > |
| static auto | construct_from_another (_other:&meshlib::Cone3f) -> meshlib::Owned< meshlib::Cone3f > |
| static auto | construct (inAxis:&meshlib::Line3f, inAngle:f32, inHeight:f32) -> meshlib::Owned< meshlib::Cone3f > |
| 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::Cone3f.
Generated from class MR::Cone3f. Heap-allocated instances are held in Owned<Cone3f>.
| auto meshlib::Cone3f::angle | ( | ) | const -> &f32 |
cone angle, main axis vs side Returns a pointer to a member variable of class MR::Cone3f named angle.
Calls MR_Cone3f_Get_angle(). The reference to this object might be preserved as the return value.
| auto meshlib::Cone3f::angle_mut | ( | ) | -> &mut f32 |
cone angle, main axis vs side Returns a mutable pointer to a member variable of class MR::Cone3f named angle.
Calls MR_Cone3f_GetMutable_angle(). The reference to this object might be preserved as the return value.
| auto meshlib::Cone3f::apex | ( | ) | const -> &meshlib::Vector3f |
return cone apex position Generated from method MR::Cone3f::apex.
Calls MR_Cone3f_apex().
| auto meshlib::Cone3f::apex_mut | ( | ) | -> &mut meshlib::Vector3f |
return cone apex position Generated from method MR::Cone3f::apex.
Calls MR_Cone3f_apex_mut().
| auto meshlib::Cone3f::assign_from_another | ( | _other:&meshlib::Cone3f | ) | -> &mut meshlib::Cone3f |
Generated from method MR::Cone3f::operator=.
Calls MR_Cone3f_AssignFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in this object.
| auto meshlib::Cone3f::axis | ( | ) | const -> &meshlib::Line3f |
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::Cone3f named axis.
Calls MR_Cone3f_Get_axis(). The reference to this object might be preserved as the return value.
| auto meshlib::Cone3f::axis_mut | ( | ) | -> &mut meshlib::Line3f |
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::Cone3f named axis.
Calls MR_Cone3f_GetMutable_axis(). The reference to this object might be preserved as the return value.
| auto meshlib::Cone3f::center | ( | ) | const -> &meshlib::Vector3f |
now we use an apex as center of the cone. Generated from method MR::Cone3f::center.
Calls MR_Cone3f_center().
| auto meshlib::Cone3f::center_mut | ( | ) | -> &mut meshlib::Vector3f |
now we use an apex as center of the cone. Generated from method MR::Cone3f::center.
Calls MR_Cone3f_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::Cone3f::Cone3f.
Calls MR_Cone3f_Construct(). The reference to the parameter inAxis might be preserved in the constructed object.
|
static |
Generated from constructor MR::Cone3f::Cone3f.
Calls MR_Cone3f_ConstructFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object.
| auto meshlib::Cone3f::direction | ( | ) | const -> &meshlib::Vector3f |
main axis direction. It could be non normalized. For any cone point dot( point , direction ) >=0 Generated from method MR::Cone3f::direction.
Calls MR_Cone3f_direction().
| auto meshlib::Cone3f::direction_mut | ( | ) | -> &mut meshlib::Vector3f |
main axis direction. It could be non normalized. For any cone point dot( point , direction ) >=0 Generated from method MR::Cone3f::direction.
Calls MR_Cone3f_direction_mut().
| auto meshlib::Cone3f::height | ( | ) | const -> &f32 |
cone height Returns a pointer to a member variable of class MR::Cone3f named height.
Calls MR_Cone3f_Get_height(). The reference to this object might be preserved as the return value.
| auto meshlib::Cone3f::height_mut | ( | ) | -> &mut f32 |
cone height Returns a mutable pointer to a member variable of class MR::Cone3f named height.
Calls MR_Cone3f_GetMutable_height(). The reference to this object might be preserved as the return value.
|
static |
Constructs an empty (default-constructed) instance.
Calls MR_Cone3f_DefaultConstruct().
| auto meshlib::Cone3f::project_point | ( | point:&meshlib::Vector3f | ) | const -> meshlib::Vector3f |
Generated from method MR::Cone3f::projectPoint.
Calls MR_Cone3f_projectPoint().
| void meshlib::Cone3f::set_angle | ( | value:f32 | ) |
cone angle, main axis vs side Modifies a member variable of class MR::Cone3f named angle.
Calls MR_Cone3f_Set_angle().
| void meshlib::Cone3f::set_axis | ( | value:&meshlib::Line3f | ) |
the combination of the apex of the cone and the direction of its main axis in space. Modifies a member variable of class MR::Cone3f named axis.
Calls MR_Cone3f_Set_axis(). The reference to the parameter value might be preserved in this object in element axis.
| void meshlib::Cone3f::set_height | ( | value:f32 | ) |
cone height Modifies a member variable of class MR::Cone3f named height.
Calls MR_Cone3f_Set_height().