geos-0.1.0.0: Bindings for GEOS.

Safe HaskellNone
LanguageHaskell2010

Data.Geometry.Geos.Raw.Buffer

Synopsis

Documentation

buffer :: Geometry -> Double -> Int -> Geos Geometry

Create a buffer around a geometry, where quadsegs is the number of line segments to use to approximate a quarter of a circle.

offsetCurve :: Geometry -> Double -> Int -> BufferJoinStyle -> Double -> Geos Geometry

Will only accept LineString geometries. For the width parameter, negative doubles represent a right-side offset, and positive doubles represent a left-side offset.