MeshLib Rust Docs
Loading...
Searching...
No Matches
meshlib::PointsProjectionResult Struct Reference
Inheritance diagram for meshlib::PointsProjectionResult:

Public Member Functions

auto assign_from_another (_other:&meshlib::PointsProjectionResult) -> &mut meshlib::PointsProjectionResult
auto op_compare_three_way (_1:&meshlib::PointsProjectionResult) const -> meshlib::std_partial_ordering
auto op_equal (_1:&meshlib::PointsProjectionResult) const -> bool
auto op_not_equal (_1:&meshlib::PointsProjectionResult) const -> bool
auto op_less (_1:&meshlib::PointsProjectionResult) const -> bool
auto op_greater (_1:&meshlib::PointsProjectionResult) const -> bool
auto op_less_equal (_1:&meshlib::PointsProjectionResult) const -> bool
auto op_greater_equal (_1:&meshlib::PointsProjectionResult) const -> bool
auto dist_sq () const -> &f32
auto dist_sq_mut () -> &mut f32
void set_dist_sq (value:f32)
auto v_id () const -> &meshlib::VertId
auto v_id_mut () -> &mut meshlib::VertId
void set_v_id (value:meshlib::VertId)

Static Public Member Functions

static auto new () -> meshlib::Owned< meshlib::PointsProjectionResult >
static auto construct_from (distSq:f32, vId:meshlib::VertId) -> meshlib::Owned< meshlib::PointsProjectionResult >
static auto construct_from_another (_other:&meshlib::PointsProjectionResult) -> meshlib::Owned< meshlib::PointsProjectionResult >
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

Generated from class MR::PointsProjectionResult.

Generated from class MR::PointsProjectionResult. Heap-allocated instances are held in Owned<PointsProjectionResult>.

Member Function Documentation

◆ assign_from_another()

auto meshlib::PointsProjectionResult::assign_from_another ( _other:&meshlib::PointsProjectionResult ) -> &mut meshlib::PointsProjectionResult

Generated from method MR::PointsProjectionResult::operator=.

Calls MR_PointsProjectionResult_AssignFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in this object.

◆ construct_from()

auto meshlib::PointsProjectionResult::construct_from ( distSq:f32 ,
vId:meshlib::VertId  ) -> meshlib::Owned< meshlib::PointsProjectionResult >
static

Constructs MR::PointsProjectionResult elementwise.

Calls MR_PointsProjectionResult_ConstructFrom(). The reference to the parameter vId might be preserved in the constructed object.

◆ construct_from_another()

auto meshlib::PointsProjectionResult::construct_from_another ( _other:&meshlib::PointsProjectionResult ) -> meshlib::Owned< meshlib::PointsProjectionResult >
static

Generated from constructor MR::PointsProjectionResult::PointsProjectionResult.

Calls MR_PointsProjectionResult_ConstructFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object.

◆ dist_sq()

auto meshlib::PointsProjectionResult::dist_sq ( ) const -> &f32

squared distance from pt to proj Returns a pointer to a member variable of class MR::PointsProjectionResult named distSq.

Calls MR_PointsProjectionResult_Get_distSq(). The reference to this object might be preserved as the return value.

◆ dist_sq_mut()

auto meshlib::PointsProjectionResult::dist_sq_mut ( ) -> &mut f32

squared distance from pt to proj Returns a mutable pointer to a member variable of class MR::PointsProjectionResult named distSq.

Calls MR_PointsProjectionResult_GetMutable_distSq(). The reference to this object might be preserved as the return value.

◆ new()

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

Constructs an empty (default-constructed) instance.

Calls MR_PointsProjectionResult_DefaultConstruct().

◆ op_compare_three_way()

auto meshlib::PointsProjectionResult::op_compare_three_way ( _1:&meshlib::PointsProjectionResult ) const -> meshlib::std_partial_ordering

Generated from method MR::PointsProjectionResult::operator<=>.

Calls MR_compare_three_way_MR_PointsProjectionResult().

◆ op_equal()

auto meshlib::PointsProjectionResult::op_equal ( _1:&meshlib::PointsProjectionResult ) const -> bool

Generated from method MR::PointsProjectionResult::operator==.

Calls MR_equal_MR_PointsProjectionResult().

◆ op_greater()

auto meshlib::PointsProjectionResult::op_greater ( _1:&meshlib::PointsProjectionResult ) const -> bool

Generated from method MR::PointsProjectionResult::operator>.

Calls MR_greater_MR_PointsProjectionResult().

◆ op_greater_equal()

auto meshlib::PointsProjectionResult::op_greater_equal ( _1:&meshlib::PointsProjectionResult ) const -> bool

Generated from method MR::PointsProjectionResult::operator>=.

Calls MR_greater_equal_MR_PointsProjectionResult().

◆ op_less()

auto meshlib::PointsProjectionResult::op_less ( _1:&meshlib::PointsProjectionResult ) const -> bool

Generated from method MR::PointsProjectionResult::operator<.

Calls MR_less_MR_PointsProjectionResult().

◆ op_less_equal()

auto meshlib::PointsProjectionResult::op_less_equal ( _1:&meshlib::PointsProjectionResult ) const -> bool

Generated from method MR::PointsProjectionResult::operator<=.

Calls MR_less_equal_MR_PointsProjectionResult().

◆ op_not_equal()

auto meshlib::PointsProjectionResult::op_not_equal ( _1:&meshlib::PointsProjectionResult ) const -> bool

Generated from method MR::PointsProjectionResult::operator!=.

Calls MR_not_equal_MR_PointsProjectionResult().

◆ set_dist_sq()

void meshlib::PointsProjectionResult::set_dist_sq ( value:f32 )

squared distance from pt to proj Modifies a member variable of class MR::PointsProjectionResult named distSq.

Calls MR_PointsProjectionResult_Set_distSq().

◆ set_v_id()

void meshlib::PointsProjectionResult::set_v_id ( value:meshlib::VertId )

the closest vertex in point cloud Modifies a member variable of class MR::PointsProjectionResult named vId.

Calls MR_PointsProjectionResult_Set_vId(). The reference to the parameter value might be preserved in this object in element vId.

◆ v_id()

auto meshlib::PointsProjectionResult::v_id ( ) const -> &meshlib::VertId

the closest vertex in point cloud Returns a pointer to a member variable of class MR::PointsProjectionResult named vId.

Calls MR_PointsProjectionResult_Get_vId(). The reference to this object might be preserved as the return value.

◆ v_id_mut()

auto meshlib::PointsProjectionResult::v_id_mut ( ) -> &mut meshlib::VertId

the closest vertex in point cloud Returns a mutable pointer to a member variable of class MR::PointsProjectionResult named vId.

Calls MR_PointsProjectionResult_GetMutable_vId(). The reference to this object might be preserved as the return value.


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