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

Algebra.Geometric.Polygon

Description

Polygon data type.

Synopsis

Documentation

newtype Polygon Source

A Polygon, which support holes and disjoint areas. Each Bool in the tuple tells if the Contour is the border of a hole (True) or of a Polygon (False).

Constructors

PolygonC 

Fields

polygonSet :: Set (Bool, Contour)