Result of extrema computation containing all found extrema. Non-copyable to enforce use of const reference from Perform().
More...
#include <ExtremaPC.hxx>
Result of extrema computation containing all found extrema. Non-copyable to enforce use of const reference from Perform().
◆ Result() [1/3]
| ExtremaPC::Result::Result |
( |
| ) |
|
|
default |
◆ Result() [2/3]
| ExtremaPC::Result::Result |
( |
const Result & | | ) |
|
|
delete |
Copy constructor is deleted.
◆ Result() [3/3]
| ExtremaPC::Result::Result |
( |
Result && | | ) |
|
|
default |
◆ Clear()
| void ExtremaPC::Result::Clear |
( |
| ) |
|
|
inline |
Clear the result for reuse. Preserves allocated memory in Extrema vector.
◆ IsDone()
| bool ExtremaPC::Result::IsDone |
( |
| ) |
const |
|
inline |
Returns true if computation succeeded with finite number of extrema.
◆ IsInfinite()
| bool ExtremaPC::Result::IsInfinite |
( |
| ) |
const |
|
inline |
Returns true if there are infinite solutions.
◆ MaxIndex()
| int ExtremaPC::Result::MaxIndex |
( |
| ) |
const |
|
inline |
Returns the index of the farthest extremum (0-based). Returns -1 if no extrema found.
◆ MaxSquareDistance()
| double ExtremaPC::Result::MaxSquareDistance |
( |
| ) |
const |
|
inline |
Returns the squared distance of the farthest extremum. Returns 0 if no extrema found.
◆ MinIndex()
| int ExtremaPC::Result::MinIndex |
( |
| ) |
const |
|
inline |
Returns the index of the closest extremum (0-based). Returns -1 if no extrema found.
◆ MinSquareDistance()
| double ExtremaPC::Result::MinSquareDistance |
( |
| ) |
const |
|
inline |
Returns the squared distance of the closest extremum. Returns infinity if no extrema found.
◆ NbExt()
| int ExtremaPC::Result::NbExt |
( |
| ) |
const |
|
inline |
Returns number of extrema found (0 if infinite or failed).
◆ operator=() [1/2]
Copy assignment is deleted.
◆ operator=() [2/2]
◆ operator[]()
Access extremum by 0-based index.
◆ Extrema
Collection of found extrema.
◆ InfiniteSquareDistance
| double ExtremaPC::Result::InfiniteSquareDistance = 0.0 |
◆ Status
The documentation for this struct was generated from the following file: