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 homogenous c...
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:58
Basic namespace for all GEOS functionalities.
Definition: geos.h:39