23#include <geos/export.h>
47 friend std::ostream& operator<< (std::ostream& o,
const HCoordinate& c);
96std::ostream& operator<< (std::ostream& o,
const HCoordinate& c);
Represents a homogeneous coordinate in a 2-D coordinate space.
Definition HCoordinate.h:43
HCoordinate(const geom::Coordinate &p1, const geom::Coordinate &p2)
Constructs a homogeneous coordinate which is the intersection of the lines define by the homogeneous ...
static void intersection(const geom::Coordinate &p1, const geom::Coordinate &p2, const geom::Coordinate &q1, const geom::Coordinate &q2, geom::Coordinate &ret)
Computes the (approximate) intersection point between two line segments using homogeneous coordinates...
Coordinate is the lightweight class used to store coordinates.
Definition Coordinate.h:217
Basic namespace for all GEOS functionalities.
Definition geos.h:39