23#include <geos/export.h>
43class GEOS_DLL HCoordinate {
47 friend std::ostream& operator<< (std::ostream& o,
const HCoordinate& c);
69 HCoordinate(
double _x,
double _y,
double _w);
86 HCoordinate(
const HCoordinate& p1,
const HCoordinate& p2);
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
Contains classes and interfaces implementing fundamental computational geometry algorithms.
Definition Angle.h:32
Basic namespace for all GEOS functionalities.
Definition geos.h:39