Public Member Functions | |
| auto | assign_from_another (_other:&meshlib::InSphere) -> &mut meshlib::InSphere |
| auto | center () const -> &meshlib::Vector3f |
| auto | center_mut () -> &mut meshlib::Vector3f |
| void | set_center (value:meshlib::Vector3f) |
| auto | radius () const -> &f32 |
| auto | radius_mut () -> &mut f32 |
| void | set_radius (value:f32) |
| auto | opposite_touch_point () const -> &meshlib::MeshProjectionResult |
| auto | opposite_touch_point_mut () -> &mut meshlib::MeshProjectionResult |
| void | set_opposite_touch_point (value:&meshlib::MeshProjectionResult) |
Static Public Member Functions | |
| static auto | new () -> meshlib::Owned< meshlib::InSphere > |
| static auto | construct_from (center:meshlib::Vector3f, radius:f32, oppositeTouchPoint:&meshlib::MeshProjectionResult) -> meshlib::Owned< meshlib::InSphere > |
| static auto | construct_from_another (_other:&meshlib::InSphere) -> meshlib::Owned< meshlib::InSphere > |
| 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 |
found maximal inscribed sphere touching input point with center along given direction Generated from class MR::InSphere.
Generated from class MR::InSphere. Heap-allocated instances are held in Owned<InSphere>.
| auto meshlib::InSphere::assign_from_another | ( | _other:&meshlib::InSphere | ) | -> &mut meshlib::InSphere |
Generated from method MR::InSphere::operator=.
Calls MR_InSphere_AssignFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in this object.
| auto meshlib::InSphere::center | ( | ) | const -> &meshlib::Vector3f |
Returns a pointer to a member variable of class MR::InSphere named center.
Calls MR_InSphere_Get_center(). The reference to this object might be preserved as the return value.
| auto meshlib::InSphere::center_mut | ( | ) | -> &mut meshlib::Vector3f |
Returns a mutable pointer to a member variable of class MR::InSphere named center.
Calls MR_InSphere_GetMutable_center(). The reference to this object might be preserved as the return value.
|
static |
Constructs MR::InSphere elementwise.
Calls MR_InSphere_ConstructFrom(). The reference to the parameter center might be preserved in the constructed object. The reference to the parameter oppositeTouchPoint might be preserved in the constructed object.
|
static |
Generated from constructor MR::InSphere::InSphere.
Calls MR_InSphere_ConstructFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object.
|
static |
Constructs an empty (default-constructed) instance.
Calls MR_InSphere_DefaultConstruct().
| auto meshlib::InSphere::opposite_touch_point | ( | ) | const -> &meshlib::MeshProjectionResult |
< excluding input point and incident triangles, distSq - squared distance to sphere's center Returns a pointer to a member variable of class MR::InSphere named oppositeTouchPoint.
Calls MR_InSphere_Get_oppositeTouchPoint(). The reference to this object might be preserved as the return value.
| auto meshlib::InSphere::opposite_touch_point_mut | ( | ) | -> &mut meshlib::MeshProjectionResult |
< excluding input point and incident triangles, distSq - squared distance to sphere's center Returns a mutable pointer to a member variable of class MR::InSphere named oppositeTouchPoint.
Calls MR_InSphere_GetMutable_oppositeTouchPoint(). The reference to this object might be preserved as the return value.
| auto meshlib::InSphere::radius | ( | ) | const -> &f32 |
Returns a pointer to a member variable of class MR::InSphere named radius.
Calls MR_InSphere_Get_radius(). The reference to this object might be preserved as the return value.
| auto meshlib::InSphere::radius_mut | ( | ) | -> &mut f32 |
Returns a mutable pointer to a member variable of class MR::InSphere named radius.
Calls MR_InSphere_GetMutable_radius(). The reference to this object might be preserved as the return value.
| void meshlib::InSphere::set_center | ( | value:meshlib::Vector3f | ) |
Modifies a member variable of class MR::InSphere named center.
Calls MR_InSphere_Set_center(). The reference to the parameter value might be preserved in this object in element center.
| void meshlib::InSphere::set_opposite_touch_point | ( | value:&meshlib::MeshProjectionResult | ) |
< excluding input point and incident triangles, distSq - squared distance to sphere's center Modifies a member variable of class MR::InSphere named oppositeTouchPoint.
Calls MR_InSphere_Set_oppositeTouchPoint(). The reference to the parameter value might be preserved in this object in element oppositeTouchPoint.
| void meshlib::InSphere::set_radius | ( | value:f32 | ) |
Modifies a member variable of class MR::InSphere named radius.
Calls MR_InSphere_Set_radius().