MeshLib Python Docs
Loading...
Searching...
No Matches
mrmeshpy.ConstFewSmallest_PointsProjectionResult Class Reference
Inheritance diagram for mrmeshpy.ConstFewSmallest_PointsProjectionResult:

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)

Detailed Description

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

the class stores some number of smallest elements from a larger number of candidates

Constructor & Destructor Documentation

◆ __init__()

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

Member Function Documentation

◆ empty()

bool mrmeshpy.ConstFewSmallest_PointsProjectionResult.empty ( self)
returns whether the container is currently empty

◆ full()

bool mrmeshpy.ConstFewSmallest_PointsProjectionResult.full ( self)
returns whether we have already maximum number of elements stored

◆ get()

Const_std_vector_PointsProjectionResult mrmeshpy.ConstFewSmallest_PointsProjectionResult.get ( self)
returns the smallest elements found so far

◆ maxElms()

int mrmeshpy.ConstFewSmallest_PointsProjectionResult.maxElms ( self)
returns the maximum number of elements to be stored here

◆ size()

int mrmeshpy.ConstFewSmallest_PointsProjectionResult.size ( self)
returns current number of stored element

◆ top()

ConstPointsProjectionResult mrmeshpy.ConstFewSmallest_PointsProjectionResult.top ( self)
returns the largest among stored smallest elements

◆ topOr()

ConstPointsProjectionResult mrmeshpy.ConstFewSmallest_PointsProjectionResult.topOr ( self,
ConstPointsProjectionResult emptyRes )
returns the largest among stored smallest elements or given element if this is empty

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