Public Member Functions | |
None | __init__ (self, int maxElms=0) |
None | __init__ (self, FewSmallest_PointsProjectionResult arg0) |
None | clear (self) |
bool | empty (self) |
bool | full (self) |
std_vector_PointsProjectionResult | get (self) |
int | maxElms (self) |
None | push (self, PointsProjectionResult t) |
None | reset (self, int maxElms) |
int | size (self) |
PointsProjectionResult | top (self) |
PointsProjectionResult | topOr (self, PointsProjectionResult emptyRes) |
Static Protected Member Functions | |
_pybind11_conduit_v1_ (*args, **kwargs) | |
Generated from: MR::FewSmallest<MR::PointsProjectionResult> the class stores some number of smallest elements from a larger number of candidates
None mrmeshpy.FewSmallest_PointsProjectionResult.__init__ | ( | self, | |
int | maxElms = 0 ) |
configure the object to store at most given number of elements
None mrmeshpy.FewSmallest_PointsProjectionResult.__init__ | ( | self, | |
FewSmallest_PointsProjectionResult | arg0 ) |
Implicit copy constructor.
|
staticprotected |
None mrmeshpy.FewSmallest_PointsProjectionResult.clear | ( | self | ) |
removes all stored elements
bool mrmeshpy.FewSmallest_PointsProjectionResult.empty | ( | self | ) |
returns whether the container is currently empty
bool mrmeshpy.FewSmallest_PointsProjectionResult.full | ( | self | ) |
returns whether we have already maximum number of elements stored
std_vector_PointsProjectionResult mrmeshpy.FewSmallest_PointsProjectionResult.get | ( | self | ) |
returns the smallest elements found so far
int mrmeshpy.FewSmallest_PointsProjectionResult.maxElms | ( | self | ) |
returns the maximum number of elements to be stored here
None mrmeshpy.FewSmallest_PointsProjectionResult.push | ( | self, | |
PointsProjectionResult | t ) |
considers one more element, storing it if it is within the smallest
None mrmeshpy.FewSmallest_PointsProjectionResult.reset | ( | self, | |
int | maxElms ) |
clears the content and reconfigure the object to store at most given number of elements
int mrmeshpy.FewSmallest_PointsProjectionResult.size | ( | self | ) |
returns current number of stored element
PointsProjectionResult mrmeshpy.FewSmallest_PointsProjectionResult.top | ( | self | ) |
returns the largest among stored smallest elements
PointsProjectionResult mrmeshpy.FewSmallest_PointsProjectionResult.topOr | ( | self, | |
PointsProjectionResult | emptyRes ) |
returns the largest among stored smallest elements or given element if this is empty