Main Page | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | Related Pages

geos::HCoordinate Class Reference

Represents a homogeneous coordinate for 2-D coordinates. More...

#include <geosAlgorithm.h>

List of all members.

Static Public Member Functions

Coordinateintersection (Coordinate &p1, Coordinate &p2, Coordinate &q1, Coordinate &q2)


Detailed Description

Represents a homogeneous coordinate for 2-D coordinates.


Member Function Documentation

Coordinate * geos::HCoordinate::intersection Coordinate p1,
Coordinate p2,
Coordinate q1,
Coordinate q2
[static]
 

Computes the (approximate) intersection point between two line segments using homogeneous coordinates.

Note that this algorithm is not numerically stable; i.e. it can produce intersection points which lie outside the envelope of the line segments themselves. In order to increase the precision of the calculation input points should be normalized before passing them to this routine.


The documentation for this class was generated from the following files:
Generated on Fri Nov 26 21:30:45 2004 for GEOS by  doxygen 1.3.9.1