hgeometry-0.12.0.2: Geometric Algorithms, Data structures, and Data types.
Copyright(C) David Himmelstrup
Licensesee the LICENSE file
MaintainerDavid Himmelstrup
Safe HaskellNone
LanguageHaskell2010

Data.Geometry.Polygon.Inflate

Description

 
Synopsis

Documentation

data Arc r Source #

Points annotated with an Arc indicate that the edge from this point to the next should not be a straight line but instead an arc with a given center and a given border edge.

Constructors

Arc 

Fields

Instances

Instances details
Show r => Show (Arc r) Source # 
Instance details

Defined in Data.Geometry.Polygon.Inflate

Methods

showsPrec :: Int -> Arc r -> ShowS #

show :: Arc r -> String #

showList :: [Arc r] -> ShowS #

inflate :: (Real r, Fractional r) => Double -> SimplePolygon () r -> SimplePolygon (Arc r) r Source #

\( O(n \log n) \)