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

Public Member Functions

auto assign_from_another (_other:&meshlib::FewSmallest_MR_PointsProjectionResult) -> &mut meshlib::FewSmallest_MR_PointsProjectionResult
void reset (maxElms:usize)
auto max_elms () const -> usize
auto empty () const -> bool
auto size () const -> usize
auto full () const -> bool
auto get () const -> &meshlib::std_vector_MR_PointsProjectionResult
auto top () const -> &meshlib::PointsProjectionResult
auto top_or (emptyRes:&meshlib::PointsProjectionResult) const -> &meshlib::PointsProjectionResult
void push (t:&meshlib::PointsProjectionResult)
void clear ()

Static Public Member Functions

static auto new () -> meshlib::Owned< meshlib::FewSmallest_MR_PointsProjectionResult >
static auto construct_from_another (_other:&meshlib::FewSmallest_MR_PointsProjectionResult) -> meshlib::Owned< meshlib::FewSmallest_MR_PointsProjectionResult >
static auto construct (maxElms:usize) -> meshlib::Owned< meshlib::FewSmallest_MR_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

the class stores some number of smallest elements from a larger number of candidates Generated from class MR::FewSmallest<MR::PointsProjectionResult>.

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

Member Function Documentation

◆ assign_from_another()

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

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

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

◆ clear()

void meshlib::FewSmallest_MR_PointsProjectionResult::clear ( )

removes all stored elements Generated from method MR::FewSmallest<MR::PointsProjectionResult>::clear.

Calls MR_FewSmallest_MR_PointsProjectionResult_clear().

◆ construct()

auto meshlib::FewSmallest_MR_PointsProjectionResult::construct ( maxElms:usize ) -> meshlib::Owned< meshlib::FewSmallest_MR_PointsProjectionResult >
static

configure the object to store at most given number of elements Generated from constructor MR::FewSmallest<MR::PointsProjectionResult>::FewSmallest.

Calls MR_FewSmallest_MR_PointsProjectionResult_Construct(). The reference to the parameter maxElms might be preserved in the constructed object.

◆ construct_from_another()

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

Generated from constructor MR::FewSmallest<MR::PointsProjectionResult>::FewSmallest.

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

◆ empty()

auto meshlib::FewSmallest_MR_PointsProjectionResult::empty ( ) const -> bool

returns whether the container is currently empty Generated from method MR::FewSmallest<MR::PointsProjectionResult>::empty.

Calls MR_FewSmallest_MR_PointsProjectionResult_empty().

◆ full()

auto meshlib::FewSmallest_MR_PointsProjectionResult::full ( ) const -> bool

returns whether we have already maximum number of elements stored Generated from method MR::FewSmallest<MR::PointsProjectionResult>::full.

Calls MR_FewSmallest_MR_PointsProjectionResult_full().

◆ get()

auto meshlib::FewSmallest_MR_PointsProjectionResult::get ( ) const -> &meshlib::std_vector_MR_PointsProjectionResult

returns the smallest elements found so far Generated from method MR::FewSmallest<MR::PointsProjectionResult>::get.

Calls MR_FewSmallest_MR_PointsProjectionResult_get().

◆ max_elms()

auto meshlib::FewSmallest_MR_PointsProjectionResult::max_elms ( ) const -> usize

returns the maximum number of elements to be stored here Generated from method MR::FewSmallest<MR::PointsProjectionResult>::maxElms.

Calls MR_FewSmallest_MR_PointsProjectionResult_maxElms().

◆ new()

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

Constructs an empty (default-constructed) instance.

Calls MR_FewSmallest_MR_PointsProjectionResult_DefaultConstruct().

◆ push()

void meshlib::FewSmallest_MR_PointsProjectionResult::push ( t:&meshlib::PointsProjectionResult )

considers one more element, storing it if it is within the smallest Generated from method MR::FewSmallest<MR::PointsProjectionResult>::push.

Calls MR_FewSmallest_MR_PointsProjectionResult_push().

◆ reset()

void meshlib::FewSmallest_MR_PointsProjectionResult::reset ( maxElms:usize )

clears the content and reconfigure the object to store at most given number of elements Generated from method MR::FewSmallest<MR::PointsProjectionResult>::reset.

Calls MR_FewSmallest_MR_PointsProjectionResult_reset().

◆ size()

auto meshlib::FewSmallest_MR_PointsProjectionResult::size ( ) const -> usize

returns current number of stored element Generated from method MR::FewSmallest<MR::PointsProjectionResult>::size.

Calls MR_FewSmallest_MR_PointsProjectionResult_size().

◆ top()

auto meshlib::FewSmallest_MR_PointsProjectionResult::top ( ) const -> &meshlib::PointsProjectionResult

returns the largest among stored smallest elements Generated from method MR::FewSmallest<MR::PointsProjectionResult>::top.

Calls MR_FewSmallest_MR_PointsProjectionResult_top().

◆ top_or()

auto meshlib::FewSmallest_MR_PointsProjectionResult::top_or ( emptyRes:&meshlib::PointsProjectionResult ) const -> &meshlib::PointsProjectionResult

returns the largest among stored smallest elements or given element if this is empty Generated from method MR::FewSmallest<MR::PointsProjectionResult>::topOr.

Calls MR_FewSmallest_MR_PointsProjectionResult_topOr().


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