On this page:


 (require euclid) package: euclid

The Euclid package provides data structures and algorithms related to Euclidian geometry. Specifically, this package provides tools for working with plane geometry, which is two-dimensional, and solid geometry, which is three-dimensional. Rather than being generic in the number of dimensions, modules and data types in this package are instead specific to either plane or solid geometry.

    1 Plane Geometry

      1.1 2D Points

        1.1.1 2D Polar Coordinates

      1.2 Angles

        1.2.1 Trigonometric Functions

      1.3 2D Rays

    2 Solid Geometry

      2.1 3D Points