hgeometry-0.5.0.0: Geometric Algorithms, Data structures, and Data types.

Safe HaskellNone
LanguageHaskell2010

Data.PlaneGraph

Synopsis

Documentation

type PlaneGraph s w v e f r = PlanarGraph s w (Point 2 r :+ v) e f Source

withEdgeDistances :: (Point 2 r -> Point 2 r -> a) -> PlaneGraph s w p e f r -> PlaneGraph s w p (a :+ e) f r Source

Labels the edges of a plane graph with their distances, as specified by the distance function.