computational-geometry-0.1.0: Collection of algorithms in Computational Geometry.

Copyright(C) 2017 Maksymilian Owsianny
LicenseBSD-style (see LICENSE)
MaintainerMaksymilian.Owsianny@gmail.com
Safe HaskellNone
LanguageHaskell2010

Geometry.SetOperations.Volume

Description

Set Operations of Polytopes by Boundary Filtering.

Synopsis

Documentation

data Volume b v n Source #

Volume, currently represented as a list of Facets and a BSP Tree.

Constructors

Volume 

Fields

makeVolume :: Clip b v n => [Facet b v n] -> Volume b v n Source #

Construct Volume from a list of Facets representing it's boundary.

emptyVolume :: Volume b v n Source #

Empty volume.

mergeVolumes :: (Clip b v n, Functor v, Num n) => SetOperation -> Volume b v n -> Volume b v n -> Volume b v n Source #

Merge two Volumes under a specified Set Operation.