Copyright | (C) 2017 Maksymilian Owsianny |
---|---|
License | BSD-style (see LICENSE) |
Maintainer | Maksymilian.Owsianny@gmail.com |
Safe Haskell | None |
Language | Haskell2010 |
Boundary representations for conversion to and from BSP/Volumes.
Documentation
class FromPolytopeRep p b v n where Source #
Convert from polytope to a list of Facets.
fromPolytopeRep :: p v n -> [Facet b v n] Source #
class ToPolytopeRep p b v n where Source #
Convert from list of Facets to a polytope boundary representation.
toPolytopeRep :: [Facet b v n] -> p v n Source #
ToPolytopeRep PolyT3 (FB3 v n) v n Source # | |
Indexed 3-BRep as a list of convex polygons. Continent as a way to introduce new base shapes into the constructive geometry context.
Simple direct 3-BRep as a list of triangles. Useful as an output after performing specified set operations of the base shapes for rendering.
ToPolytopeRep PolyT3 (FB3 v n) v n Source # | |