STL-0.3.0.6: STL 3D geometry format parsing and pretty-printing

Safe HaskellNone
LanguageHaskell2010

Graphics.Formats.STL.Types

Synopsis

Documentation

data STL Source #

A representation of an STL file, consisting of a (possibly empty) object name, and a list of triangles.

Constructors

STL 

Fields

Instances
Serialize STL Source # 
Instance details

Defined in Graphics.Formats.STL.Types

Methods

put :: Putter STL #

get :: Get STL #

data Triangle Source #

A single triangle in STL is represented by a normal vector and three vertices.

Constructors

Triangle 
Instances
Serialize Triangle Source # 
Instance details

Defined in Graphics.Formats.STL.Types

triple :: a -> a -> a -> (a, a, a) Source #