Struct SPARStwo::InterfaceData

Nested Relationships

This struct is a nested type of Class SPARStwo.

Struct Documentation

struct InterfaceData

Interface information storage class, which does bookkeeping for criterion four.

Public Functions

InterfaceData() = default

Constructor.

inline void clear(const base::SpaceInformationPtr &si)

Clears the given interface data.

inline void setFirst(const base::State *p, const base::State *s, const base::SpaceInformationPtr &si)

Sets information for the first interface (i.e. interface with smaller index vertex).

inline void setSecond(const base::State *p, const base::State *s, const base::SpaceInformationPtr &si)

Sets information for the second interface (i.e. interface with larger index vertex).

Public Members

base::State *pointA_ = {nullptr}

States which lie inside the visibility region of a vertex and support an interface.

base::State *pointB_ = {nullptr}
base::State *sigmaA_ = {nullptr}

States which lie just outside the visibility region of a vertex and support an interface.

base::State *sigmaB_ = {nullptr}
double d_ = {std::numeric_limits<double>::infinity()}

Last known distance between the two interfaces supported by points_ and sigmas.