next up previous contents index
Next: Triples and Frames Up: Reference Manual Previous: Path-Like Objects   Contents   Index

Geometric Data Structures

Figure elements have an abstract description and a typographical appearance. This section describes the former. ePiX provides classes, P, segment, circle, plane, and sphere, that can be used for Euclidean geometry constructions. Each class is specified by a small amount of data (e.g., a center, radius, and unit normal vector for a circle) and provides constructors, intersection operators, affine transformations, and a draw() function.

ePiX also provides features for spherical and hyperbolic geometry, especially the ability to draw lines in the half-plane and Poincaré disk models of the hyperbolic plane, and to draw latitudes, longitudes, and parametrized curves on a sphere.



Subsections

Andrew D. Hwang 2004-09-04