implicit-0.1.0: Math-inspired programmatic 2&3D CAD: CSG, bevels, and shells; gcode export..

Safe HaskellSafe
LanguageHaskell98

Graphics.Implicit.Definitions

Contents

Synopsis

Documentation

type ℝ2 = (, ) Source #

type ℝ3 = (, , ) Source #

(⋅) :: InnerSpace a => a -> a -> Scalar a Source #

(⋯*) :: ComponentWiseMultable a => a -> a -> a Source #

(⋯/) :: ComponentWiseMultable a => a -> a -> a Source #

type Polyline = [ℝ2] Source #

A chain of line segments, as in SVG eg. [(0,0), (0.5,1), (1,0)] ---> /\

type Triangle = (ℝ3, ℝ3, ℝ3) Source #

A triangle (a,b,c) = a triangle with vertices a, b and c

type NormedTriangle = ((ℝ3, ℝ3), (ℝ3, ℝ3), (ℝ3, ℝ3)) Source #

A triangle ((v1,n1),(v2,n2),(v3,n3)) has vertices v1, v2, v3 with corresponding normals n1, n2, and n3

type TriangleMesh = [Triangle] Source #

A triangle mesh is a bunch of triangles :)

type NormedTriangleMesh = [NormedTriangle] Source #

A normed triangle mesh is a bunch of normed trianlges!!

type Obj2 = ℝ2 -> Source #

A 2D object

type Obj3 = ℝ3 -> Source #

A 3D object

type Box2 = (ℝ2, ℝ2) Source #

A 2D box

type Box3 = (ℝ3, ℝ3) Source #

A 3D box

type Boxed2 a = (a, Box2) Source #

A Box for containing a 2D object

type Boxed3 a = (a, Box3) Source #

A Box for containing a 3D object

type BoxedObj2 = Boxed2 Obj2 Source #

A Boxed 2D object

type BoxedObj3 = Boxed3 Obj3 Source #

A Boxed 3D object

type Rectilinear2 = [Box2] Source #

Rectilinear 2D set

type Rectilinear3 = [Box3] Source #

Rectilinear 2D set

Orphan instances

Show (ℝ3 -> ) Source # 

Methods

showsPrec :: Int -> (ℝ3 -> ) -> ShowS #

show :: (ℝ3 -> ) -> String #

showList :: [ℝ3 -> ] -> ShowS #

Show (ℝ2 -> ) Source # 

Methods

showsPrec :: Int -> (ℝ2 -> ) -> ShowS #

show :: (ℝ2 -> ) -> String #

showList :: [ℝ2 -> ] -> ShowS #

Show ( -> ℝ2) Source # 

Methods

showsPrec :: Int -> ( -> ℝ2) -> ShowS #

show :: ( -> ℝ2) -> String #

showList :: [ -> ℝ2] -> ShowS #

Show ( -> ) Source # 

Methods

showsPrec :: Int -> ( -> ) -> ShowS #

show :: ( -> ) -> String #

showList :: [ -> ] -> ShowS #