15 #ifndef GEOS_GEOM_COORDINATE_H
16 #define GEOS_GEOM_COORDINATE_H
18 #include <geos/export.h>
19 #include <geos/platform.h>
20 #include <geos/inline.h>
29 #pragma warning(disable: 4251) // warning C4251: needs to have dll-interface to be used by clients of class
35 struct CoordinateLessThen;
68 typedef std::set<const Coordinate *, CoordinateLessThen>
ConstSet;
77 typedef std::vector<Coordinate>
Vect;
94 Coordinate(
double xNew=0.0,
double yNew=0.0,
double zNew=DoubleNotANumber);
108 std::string toString()
const;
116 int hashCode()
const;
122 static int hashCode(
double d);
140 GEOS_DLL std::ostream&
operator<< (std::ostream& os,
const Coordinate& c);
143 GEOS_DLL
bool operator==(
const Coordinate& a,
const Coordinate& b);
146 GEOS_DLL
bool operator!=(
const Coordinate& a,
const Coordinate& b);
158 # include "geos/geom/Coordinate.inl"
161 #endif // ndef GEOS_GEOM_COORDINATE_H