18#include <geos/export.h>
19#include <geos/geom/Coordinate.h>
32using geos::geom::CoordinateXY;
65 bool m_isNodeAtVertex;
66 const CoordinateXY* m_v0;
67 const CoordinateXY m_nodePt;
68 const CoordinateXY* m_v1;
72 static int compareWithNull(
const CoordinateXY* v0,
const CoordinateXY* v1);
74 static int compare(
int a,
int b);
85 const CoordinateXY* v0,
86 const CoordinateXY nodePt,
87 const CoordinateXY* v1)
93 , m_isNodeAtVertex(isNodeAtVertex)
101 , m_dim(ns->dimension())
103 , m_ringId(ns->ringId())
105 , m_isNodeAtVertex(ns->isNodeAtVertex())
106 , m_v0(ns->getVertex(0))
107 , m_nodePt(ns->nodePt())
108 , m_v1(ns->getVertex(1))
111 const CoordinateXY* getVertex(
int i)
const;
113 const CoordinateXY& nodePt()
const;
115 int dimension()
const;
129 bool isShell()
const;
141 bool isNodeAtVertex()
const;
143 bool isProper()
const;
147 std::string toString()
const;
149 static std::string edgeRep(
const CoordinateXY* p0,
const CoordinateXY* p1);
151 friend std::ostream& operator<<(std::ostream& os,
const NodeSection& ns);
Basic implementation of Geometry, constructed and destructed by GeometryFactory.
Definition Geometry.h:197
Definition NodeSection.h:55
const Geometry * getPolygonal() const
int compareTo(const NodeSection &o) const
Basic namespace for all GEOS functionalities.
Definition geos.h:39