Public Member Functions | |
| auto | assign_from_another (_other:&meshlib::Ball1d) -> &mut meshlib::Ball1d |
| auto | inside (pt:&f64) const -> bool |
| auto | outside (pt:&f64) const -> bool |
| auto | center () const -> &f64 |
| auto | center_mut () -> &mut f64 |
| void | set_center (value:f64) |
| auto | radius_sq () const -> &f64 |
| auto | radius_sq_mut () -> &mut f64 |
| void | set_radius_sq (value:f64) |
Static Public Member Functions | |
| static auto | new () -> meshlib::Owned< meshlib::Ball1d > |
| static auto | construct_from (center:f64, radiusSq:f64) -> meshlib::Owned< meshlib::Ball1d > |
| static auto | construct_from_another (_other:&meshlib::Ball1d) -> meshlib::Owned< meshlib::Ball1d > |
| 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::Ball1d.
Generated from class MR::Ball1d. Heap-allocated instances are held in Owned<Ball1d>.
| auto meshlib::Ball1d::assign_from_another | ( | _other:&meshlib::Ball1d | ) | -> &mut meshlib::Ball1d |
Generated from method MR::Ball1d::operator=.
Calls MR_Ball1d_AssignFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in this object.
| auto meshlib::Ball1d::center | ( | ) | const -> &f64 |
< ball's center Returns a pointer to a member variable of class MR::Ball1d named center.
Calls MR_Ball1d_Get_center(). The reference to this object might be preserved as the return value.
| auto meshlib::Ball1d::center_mut | ( | ) | -> &mut f64 |
< ball's center Returns a mutable pointer to a member variable of class MR::Ball1d named center.
Calls MR_Ball1d_GetMutable_center(). The reference to this object might be preserved as the return value.
|
static |
Constructs MR::Ball1d elementwise.
Calls MR_Ball1d_ConstructFrom().
|
static |
Generated from constructor MR::Ball1d::Ball1d.
Calls MR_Ball1d_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::Ball1d named elements.
Calls MR_Ball1d_Get_elements().
| auto meshlib::Ball1d::inside | ( | pt:& | f64 | ) | const -> bool |
returns true if given point is strictly inside the ball (not on its spherical surface) Generated from method MR::Ball1d::inside.
Calls MR_Ball1d_inside().
|
static |
Constructs an empty (default-constructed) instance.
Calls MR_Ball1d_DefaultConstruct().
| auto meshlib::Ball1d::outside | ( | pt:& | f64 | ) | const -> bool |
returns true if given point is strictly outside the ball (not on its spherical surface) Generated from method MR::Ball1d::outside.
Calls MR_Ball1d_outside().
| auto meshlib::Ball1d::radius_sq | ( | ) | const -> &f64 |
< ball's squared radius Returns a pointer to a member variable of class MR::Ball1d named radiusSq.
Calls MR_Ball1d_Get_radiusSq(). The reference to this object might be preserved as the return value.
| auto meshlib::Ball1d::radius_sq_mut | ( | ) | -> &mut f64 |
< ball's squared radius Returns a mutable pointer to a member variable of class MR::Ball1d named radiusSq.
Calls MR_Ball1d_GetMutable_radiusSq(). The reference to this object might be preserved as the return value.
| void meshlib::Ball1d::set_center | ( | value:f64 | ) |
< ball's center Modifies a member variable of class MR::Ball1d named center.
Calls MR_Ball1d_Set_center().
| void meshlib::Ball1d::set_radius_sq | ( | value:f64 | ) |
< ball's squared radius Modifies a member variable of class MR::Ball1d named radiusSq.
Calls MR_Ball1d_Set_radiusSq().