Algorithmic Solutions > LEDA > LEDA Guide > Geometry > Cartesian and Homogeneous Coordinates

## Cartesian and Homogeneous CoordinatesWe assume that the ambient space is equipped with the standard The The
The Cartesian coordinates of a point are of type double in the floating point kernel and of type rational in the rational kernel. The homogeneous coordinates of a point in the rational kernel are of type integer. Points in the floating point kernel are stored by their Cartesian coordinates. For points in the rational kernel it is more efficient to store them by their homogeneous coordinates, i.e., to use the same denominator for x- and y-coordinate. For compatibility also points in the floating point kernel have homogeneous coordinates (x,y,1.0). These homogeneous coordinates are of type double. |
## See also: |

Please send any suggestions, comments or questions to leda@algorithmic-solutions.com

© Copyright 2001-2003, Algorithmic Solutions Software GmbH