Algorithmic Solutions > LEDA > LEDA Guide > Geometry > Data Types for 2-D Geometry


Data Types for Two-Dimensional Geometry

The kernels for two-dimensional geometry of LEDA provide points, lines, segments, rays, vectors, circles, polygons and generalized polygons. The following links lead to the corresponding manual pages for the floating point and the rational kernel.

Floating Point Kernel

Rational Kernel

Tip

Use the rational kernel exclusively !

Only when a program is stable and the rational kernel does not give the desired performance consider switching to the floating point kernel. A switch to the floating point kernel should be accompanied by a careful analysis of its limits.

See also:

Advanced Data types for 2-D Geometry

Data Types for 3-D Geometry


Geometry

Geometry Algorithms

GeoWin




Please send any suggestions, comments or questions to leda@algorithmic-solutions.com
© Copyright 2001-2003, Algorithmic Solutions Software GmbH