MeshLib Java Docs
Loading...
Searching...
No Matches
meshlib.FewSmallest_MR_PointsProjectionResult Class Reference
Inheritance diagram for meshlib.FewSmallest_MR_PointsProjectionResult:

Public Member Functions

 FewSmallest_MR_PointsProjectionResult (java.lang.foreign.MemorySegment ptr, boolean owned, java.lang.Object owner)
 FewSmallest_MR_PointsProjectionResult ()
 FewSmallest_MR_PointsProjectionResult (meshlib.FewSmallest_MR_PointsProjectionResult _other)
 FewSmallest_MR_PointsProjectionResult (long maxElms)
meshlib.FewSmallest_MR_PointsProjectionResult assignFromAnother (meshlib.FewSmallest_MR_PointsProjectionResult _other)
void reset (long maxElms)
long maxElms ()
boolean empty ()
long size ()
boolean full ()
meshlib.std_vector_MR_PointsProjectionResult get ()
meshlib.PointsProjectionResult top ()
meshlib.PointsProjectionResult topOr (meshlib.PointsProjectionResult emptyRes)
void push (meshlib.PointsProjectionResult t)
void clear ()
Public Member Functions inherited from meshlib.CppObject
final java.lang.foreign.MemorySegment rawPointer ()
final boolean isOwned ()
final void close ()
final java.lang.foreign.MemorySegment release ()

Additional Inherited Members

Protected Member Functions inherited from meshlib.CppObject
 CppObject (java.lang.foreign.MemorySegment ptr, java.util.function.Consumer< java.lang.foreign.MemorySegment > destroy, java.lang.Object owner)

Detailed Description

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

Instances created here own their C++ objects, see CppObject.

Constructor & Destructor Documentation

◆ FewSmallest_MR_PointsProjectionResult() [1/4]

meshlib.FewSmallest_MR_PointsProjectionResult.FewSmallest_MR_PointsProjectionResult ( java.lang.foreign.MemorySegment ptr,
boolean owned,
java.lang.Object owner )

Wraps a pointer from the C bindings. If owned, the object is destroyed when the wrapper dies. owner is kept alive as long as this wrapper is. Not for normal use.

◆ FewSmallest_MR_PointsProjectionResult() [2/4]

meshlib.FewSmallest_MR_PointsProjectionResult.FewSmallest_MR_PointsProjectionResult ( )

Constructs an empty (default-constructed) instance.

Calls MR_FewSmallest_MR_PointsProjectionResult_DefaultConstruct().

◆ FewSmallest_MR_PointsProjectionResult() [3/4]

meshlib.FewSmallest_MR_PointsProjectionResult.FewSmallest_MR_PointsProjectionResult ( meshlib.FewSmallest_MR_PointsProjectionResult _other)

Generated from constructor MR::FewSmallest<MR::PointsProjectionResult>::FewSmallest. The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object.

Calls MR_FewSmallest_MR_PointsProjectionResult_ConstructFromAnother().

◆ FewSmallest_MR_PointsProjectionResult() [4/4]

meshlib.FewSmallest_MR_PointsProjectionResult.FewSmallest_MR_PointsProjectionResult ( long maxElms)

configure the object to store at most given number of elements Generated from constructor MR::FewSmallest<MR::PointsProjectionResult>::FewSmallest. The reference to the parameter maxElms might be preserved in the constructed object.

Calls MR_FewSmallest_MR_PointsProjectionResult_Construct().

Member Function Documentation

◆ assignFromAnother()

meshlib.FewSmallest_MR_PointsProjectionResult meshlib.FewSmallest_MR_PointsProjectionResult.assignFromAnother ( meshlib.FewSmallest_MR_PointsProjectionResult _other)

Generated from method MR::FewSmallest<MR::PointsProjectionResult>::operator=. The reference to things referred to by the parameter _other (if any) might be preserved in this object.

Calls MR_FewSmallest_MR_PointsProjectionResult_AssignFromAnother().

◆ 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().

◆ empty()

boolean meshlib.FewSmallest_MR_PointsProjectionResult.empty ( )

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

Calls MR_FewSmallest_MR_PointsProjectionResult_empty().

◆ full()

boolean meshlib.FewSmallest_MR_PointsProjectionResult.full ( )

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()

meshlib.std_vector_MR_PointsProjectionResult meshlib.FewSmallest_MR_PointsProjectionResult.get ( )

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

Calls MR_FewSmallest_MR_PointsProjectionResult_get().

◆ maxElms()

long meshlib.FewSmallest_MR_PointsProjectionResult.maxElms ( )

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

Calls MR_FewSmallest_MR_PointsProjectionResult_maxElms().

◆ push()

void meshlib.FewSmallest_MR_PointsProjectionResult.push ( meshlib.PointsProjectionResult t)

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 ( long maxElms)

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()

long meshlib.FewSmallest_MR_PointsProjectionResult.size ( )

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

Calls MR_FewSmallest_MR_PointsProjectionResult_size().

◆ top()

meshlib.PointsProjectionResult meshlib.FewSmallest_MR_PointsProjectionResult.top ( )

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

Calls MR_FewSmallest_MR_PointsProjectionResult_top().

◆ topOr()

meshlib.PointsProjectionResult meshlib.FewSmallest_MR_PointsProjectionResult.topOr ( meshlib.PointsProjectionResult emptyRes)

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 class was generated from the following file: