21 #ifndef GEOS_ALGORITHM_HCOORDINATE_H
22 #define GEOS_ALGORITHM_HCOORDINATE_H
24 #include <geos/export.h>
48 friend std::ostream& operator<< (std::ostream& o,
const HCoordinate& c);
97 std::ostream& operator<< (std::ostream& o,
const HCoordinate& c);
Represents a homogeneous coordinate in a 2-D coordinate space.
Definition: HCoordinate.h:44
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:60
Basic namespace for all GEOS functionalities.
Definition: IndexedNestedRingTester.h:26