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 |
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>.
| 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.
| void meshlib::FewSmallest_MR_PointsProjectionResult::clear | ( | ) |
removes all stored elements Generated from method MR::FewSmallest<MR::PointsProjectionResult>::clear.
Calls MR_FewSmallest_MR_PointsProjectionResult_clear().
|
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.
|
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.
| 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().
| 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().
| 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().
| 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().
|
static |
Constructs an empty (default-constructed) instance.
Calls MR_FewSmallest_MR_PointsProjectionResult_DefaultConstruct().
| 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().
| 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().
| 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().
| 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().
| 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().