21#ifndef GEOS_ALGORITHM_HCOORDINATE_H
22#define GEOS_ALGORITHM_HCOORDINATE_H
24#include <geos/export.h>
44class GEOS_DLL HCoordinate {
48 friend std::ostream& operator<< (std::ostream& o,
const HCoordinate& c);
70 HCoordinate(
double _x,
double _y,
double _w);
87 HCoordinate(
const HCoordinate &p1,
const HCoordinate &p2);
97std::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
Contains classes and interfaces implementing fundamental computational geometry algorithms.
Definition Angle.h:33
Contains the Geometry interface hierarchy and supporting classes.
Definition IndexedNestedRingTester.h:26
Basic namespace for all GEOS functionalities.
Definition IndexedNestedRingTester.h:25