hgeometric-0.0.1: A geometric library with bindings to GPC.

Algebra.Geometric.Contour

Contents

Description

Basic geometric types used by Algebra.Geometric.Polygon.Polygon and Algebra.Geometric.Strip.Strip.

Synopsis

Contour

newtype Contour Source

A list of 2D Points. A Contour is the border of a Algebra.Geometric.Polygon.Polygon or the internal border of a hole in a Algebra.Geometric.Polygon.Polygon. In a Algebra.Geometric.Strip.Strip, it is the border of each division of the Algebra.Geometric.Strip.Strip.

Constructors

ContourC 

Fields

contourList :: [Vertex]
 

Vertex

data Vertex Source

A 2D Point.

Constructors

VertexC 

Fields

vertexX :: Double
 
vertexY :: Double