cnc-pattern-lib-0.1.0.0: Haskell library for creating SVG patterns for CNC routers

Safe HaskellNone
LanguageHaskell2010

Hexagon

Description

A type representing a hexagon.

Synopsis

Documentation

data Hexagon Source #

Constructors

Hexagon 

Fields

Instances
Eq Hexagon Source # 
Instance details

Defined in Hexagon

Methods

(==) :: Hexagon -> Hexagon -> Bool #

(/=) :: Hexagon -> Hexagon -> Bool #

Ord Hexagon Source # 
Instance details

Defined in Hexagon

Show Hexagon Source # 
Instance details

Defined in Hexagon

ApproxEq Hexagon Source # 
Instance details

Defined in Hexagon

Mergable Hexagon Source # 
Instance details

Defined in Hexagon

Transformable Hexagon Source # 
Instance details

Defined in Hexagon

SvgShape Hexagon Source # 
Instance details

Defined in Hexagon

Methods

toSvg :: Hexagon -> Svg Source #

hexagonAsTuple :: Hexagon -> ((Float, Float), Float) Source #

Convert a circle to a 2-tuple representation.