Public Member Functions | |
| auto | assign_from_another (_other:&meshlib::Ball3f) -> &mut meshlib::Ball3f |
| auto | inside (pt:&meshlib::Vector3f) const -> bool |
| auto | outside (pt:&meshlib::Vector3f) const -> bool |
| auto | center () const -> &meshlib::Vector3f |
| auto | center_mut () -> &mut meshlib::Vector3f |
| void | set_center (value:meshlib::Vector3f) |
| auto | radius_sq () const -> &f32 |
| auto | radius_sq_mut () -> &mut f32 |
| void | set_radius_sq (value:f32) |
Static Public Member Functions | |
| static auto | new () -> meshlib::Owned< meshlib::Ball3f > |
| static auto | construct_from (center:meshlib::Vector3f, radiusSq:f32) -> meshlib::Owned< meshlib::Ball3f > |
| static auto | construct_from_another (_other:&meshlib::Ball3f) -> meshlib::Owned< meshlib::Ball3f > |
| static auto | elements () -> *const core::ffi::c_int |
| 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 |
a ball = points surrounded by a sphere in arbitrary space with vector type V Generated from class MR::Ball3f.
Generated from class MR::Ball3f. Heap-allocated instances are held in Owned<Ball3f>.
| auto meshlib::Ball3f::assign_from_another | ( | _other:&meshlib::Ball3f | ) | -> &mut meshlib::Ball3f |
Generated from method MR::Ball3f::operator=.
Calls MR_Ball3f_AssignFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in this object.
| auto meshlib::Ball3f::center | ( | ) | const -> &meshlib::Vector3f |
< ball's center Returns a pointer to a member variable of class MR::Ball3f named center.
Calls MR_Ball3f_Get_center(). The reference to this object might be preserved as the return value.
| auto meshlib::Ball3f::center_mut | ( | ) | -> &mut meshlib::Vector3f |
< ball's center Returns a mutable pointer to a member variable of class MR::Ball3f named center.
Calls MR_Ball3f_GetMutable_center(). The reference to this object might be preserved as the return value.
|
static |
Constructs MR::Ball3f elementwise.
Calls MR_Ball3f_ConstructFrom(). The reference to the parameter center might be preserved in the constructed object.
|
static |
Generated from constructor MR::Ball3f::Ball3f.
Calls MR_Ball3f_ConstructFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object.
|
static |
Returns a pointer to a member variable of class MR::Ball3f named elements.
Calls MR_Ball3f_Get_elements().
| auto meshlib::Ball3f::inside | ( | pt:&meshlib::Vector3f | ) | const -> bool |
returns true if given point is strictly inside the ball (not on its spherical surface) Generated from method MR::Ball3f::inside.
Calls MR_Ball3f_inside().
|
static |
Constructs an empty (default-constructed) instance.
Calls MR_Ball3f_DefaultConstruct().
| auto meshlib::Ball3f::outside | ( | pt:&meshlib::Vector3f | ) | const -> bool |
returns true if given point is strictly outside the ball (not on its spherical surface) Generated from method MR::Ball3f::outside.
Calls MR_Ball3f_outside().
| auto meshlib::Ball3f::radius_sq | ( | ) | const -> &f32 |
< ball's squared radius Returns a pointer to a member variable of class MR::Ball3f named radiusSq.
Calls MR_Ball3f_Get_radiusSq(). The reference to this object might be preserved as the return value.
| auto meshlib::Ball3f::radius_sq_mut | ( | ) | -> &mut f32 |
< ball's squared radius Returns a mutable pointer to a member variable of class MR::Ball3f named radiusSq.
Calls MR_Ball3f_GetMutable_radiusSq(). The reference to this object might be preserved as the return value.
| void meshlib::Ball3f::set_center | ( | value:meshlib::Vector3f | ) |
< ball's center Modifies a member variable of class MR::Ball3f named center.
Calls MR_Ball3f_Set_center(). The reference to the parameter value might be preserved in this object in element center.
| void meshlib::Ball3f::set_radius_sq | ( | value:f32 | ) |
< ball's squared radius Modifies a member variable of class MR::Ball3f named radiusSq.
Calls MR_Ball3f_Set_radiusSq().