geos-0.1.0.0: Bindings for GEOS.

Safe HaskellNone
LanguageHaskell2010

Data.Geometry.Geos.Buffer

Synopsis

Documentation

buffer :: Geometry a -> Double -> Int -> Some Geometry

Returns a Geometry that represents all points whose distance from this geometry is less than or equal to the given width. The quadsegs argument sets the number of segments used to approximate a quarter circle.

data BufferParams

Constructors

BufferParams 

Fields

joinStyle :: BufferJoinStyle
 
capStyle :: BufferCapStyle
 
mitreLimit :: Double
 
quadrantSegments :: Int

The default number of facets into which to divide a fillet of 90 degrees.

singleSided :: Bool

True for single-sided, False otherwise