struct geode::SurfacePath

#include <surface_path_finder.h>

struct SurfacePath
{
    // fields

    PolygonEdge edge;
    Position position { Position::outside };
    index_t vertex_id { NO_ID };
    bool opposite_side { true };

    // construction

    SurfacePath(PolygonEdge edge_in, Position position_in);
    SurfacePath(index_t vertex_in);
    SurfacePath();

    // methods

    bool operator == (const SurfacePath& rhs) const;
    bool is_vertex() const;
};