hgeometry-0.12.0.4: Geometric Algorithms, Data structures, and Data types.
Copyright (C) David Himmelstrup see the LICENSE file David Himmelstrup None Haskell2010

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 FieldsarcCenter :: Point 2 r arcEdge :: (Point 2 r, Point 2 r)

#### Instances

Instances details
 Show r => Show (Arc r) Source # Instance detailsDefined in Data.Geometry.Polygon.Inflate MethodsshowsPrec :: 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)$$