Public Member Functions | |
| __init__ (self, *args, **kwargs) | |
| bool | empty (self) |
| bool | full (self) |
| Const_std_vector_PointsProjectionResult | get (self) |
| int | maxElms (self) |
| int | size (self) |
| ConstPointsProjectionResult | top (self) |
| ConstPointsProjectionResult | topOr (self, ConstPointsProjectionResult emptyRes) |
Generated from: MR::FewSmallest<MR::PointsProjectionResult> the class stores some number of smallest elements from a larger number of candidates
| mrmeshpy.ConstFewSmallest_PointsProjectionResult.__init__ | ( | self, | |
| * | args, | ||
| ** | kwargs ) |
__init__(*args, **kwargs) Overloaded function. 1. __init__(self: meshlib.mrmeshpy.ConstFewSmallest_PointsProjectionResult) -> None 2. __init__(self: meshlib.mrmeshpy.ConstFewSmallest_PointsProjectionResult, maxElms: int) -> None configure the object to store at most given number of elements 3. __init__(self: meshlib.mrmeshpy.ConstFewSmallest_PointsProjectionResult, arg0: meshlib.mrmeshpy.ConstFewSmallest_PointsProjectionResult) -> None Implicit copy constructor. 4. __init__(self: meshlib.mrmeshpy.ConstFewSmallest_PointsProjectionResult, : meshlib.mrmeshpy.ConstFewSmallest_PointsProjectionResult) -> None
| bool mrmeshpy.ConstFewSmallest_PointsProjectionResult.empty | ( | self | ) |
returns whether the container is currently empty
| bool mrmeshpy.ConstFewSmallest_PointsProjectionResult.full | ( | self | ) |
returns whether we have already maximum number of elements stored
| Const_std_vector_PointsProjectionResult mrmeshpy.ConstFewSmallest_PointsProjectionResult.get | ( | self | ) |
returns the smallest elements found so far
| int mrmeshpy.ConstFewSmallest_PointsProjectionResult.maxElms | ( | self | ) |
returns the maximum number of elements to be stored here
| int mrmeshpy.ConstFewSmallest_PointsProjectionResult.size | ( | self | ) |
returns current number of stored element
| ConstPointsProjectionResult mrmeshpy.ConstFewSmallest_PointsProjectionResult.top | ( | self | ) |
returns the largest among stored smallest elements
| ConstPointsProjectionResult mrmeshpy.ConstFewSmallest_PointsProjectionResult.topOr | ( | self, | |
| ConstPointsProjectionResult | emptyRes ) |
returns the largest among stored smallest elements or given element if this is empty