playrho::d2::DistanceOutput Struct Reference

Distance Output. More...

#include <Distance.hpp>

Public Types

enum  State : std::uint8_t {
  Unknown, MaxPoints, UnfitSearchDir, DuplicateIndexPair,
  HitMaxIters
}
 State of the distance output. More...
 
using iteration_type = std::remove_const< decltype(DefaultMaxDistanceIters)>::type
 Iteration type. More...
 

Public Attributes

Simplex simplex
 Simplex. More...
 
iteration_type iterations = 0
 Count of iterations performed to return result. More...
 
State state = Unknown
 Termination state. More...
 

Detailed Description

Distance Output.

Definition at line 63 of file Distance.hpp.

Member Typedef Documentation

◆ iteration_type

using playrho::d2::DistanceOutput::iteration_type = std::remove_const<decltype(DefaultMaxDistanceIters)>::type

Iteration type.

Definition at line 76 of file Distance.hpp.

Member Enumeration Documentation

◆ State

State of the distance output.

Enumerator
Unknown 
MaxPoints 
UnfitSearchDir 
DuplicateIndexPair 
HitMaxIters 

Definition at line 66 of file Distance.hpp.

Member Data Documentation

◆ simplex

Simplex playrho::d2::DistanceOutput::simplex

Simplex.

Definition at line 78 of file Distance.hpp.

◆ iterations

iteration_type playrho::d2::DistanceOutput::iterations = 0

Count of iterations performed to return result.

Definition at line 79 of file Distance.hpp.

◆ state

State playrho::d2::DistanceOutput::state = Unknown

Termination state.

Definition at line 80 of file Distance.hpp.


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