MeshLib Rust Docs
Loading...
Searching...
No Matches
Inheritance diagram for meshlib::InSphere:

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

Detailed Description

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>.

Member Function Documentation

◆ assign_from_another()

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.

◆ center()

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.

◆ center_mut()

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.

◆ construct_from()

auto meshlib::InSphere::construct_from ( center:meshlib::Vector3f ,
radius:f32 ,
oppositeTouchPoint:&meshlib::MeshProjectionResult  ) -> meshlib::Owned< meshlib::InSphere >
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.

◆ construct_from_another()

auto meshlib::InSphere::construct_from_another ( _other:&meshlib::InSphere ) -> meshlib::Owned< meshlib::InSphere >
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.

◆ new()

auto meshlib::InSphere::new ( ) -> meshlib::Owned< meshlib::InSphere >
static

Constructs an empty (default-constructed) instance.

Calls MR_InSphere_DefaultConstruct().

◆ opposite_touch_point()

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.

◆ opposite_touch_point_mut()

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.

◆ radius()

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.

◆ radius_mut()

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.

◆ set_center()

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.

◆ set_opposite_touch_point()

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.

◆ set_radius()

void meshlib::InSphere::set_radius ( value:f32 )

Modifies a member variable of class MR::InSphere named radius.

Calls MR_InSphere_Set_radius().


The documentation for this struct was generated from the following file: