Copyright | (C) Frank Staals |
---|---|
License | see the LICENSE file |
Maintainer | Frank Staals |
Safe Haskell | None |
Language | Haskell2010 |
Data types that help encodedecode a planegraph as a JSONYAML file.
Documentation
data PlanarSD v e f r Source #
Specify the planar subdivison as a tree of components
Instances
Functor (PlanarSD v e f) Source # | |
(Eq f, Eq r, Eq e, Eq v) => Eq (PlanarSD v e f r) Source # | |
(Show f, Show r, Show e, Show v) => Show (PlanarSD v e f r) Source # | |
Generic (PlanarSD v e f r) Source # | |
(ToJSON r, ToJSON v, ToJSON e, ToJSON f) => ToJSON (PlanarSD v e f r) Source # | |
Defined in Data.Geometry.PlanarSubdivision.TreeRep | |
(FromJSON r, FromJSON v, FromJSON e, FromJSON f) => FromJSON (PlanarSD v e f r) Source # | |
type Rep (PlanarSD v e f r) Source # | |
Defined in Data.Geometry.PlanarSubdivision.TreeRep |
A vertex, represented by an id, location, its adjacencies, and its data.
Instances
Functor (Vtx v e) Source # | |
(Eq r, Eq e, Eq v) => Eq (Vtx v e r) Source # | |
(Show r, Show e, Show v) => Show (Vtx v e r) Source # | |
Generic (Vtx v e r) Source # | |
(ToJSON r, ToJSON v, ToJSON e) => ToJSON (Vtx v e r) Source # | |
Defined in Data.PlaneGraph.AdjRep | |
(FromJSON r, FromJSON v, FromJSON e) => FromJSON (Vtx v e r) Source # | |
type Rep (Vtx v e r) Source # | |
Defined in Data.PlaneGraph.AdjRep type Rep (Vtx v e r) = D1 ('MetaData "Vtx" "Data.PlaneGraph.AdjRep" "hgeometry-0.14-BBhGh1sNn85H5mfsjBn14s" 'False) (C1 ('MetaCons "Vtx" 'PrefixI 'True) ((S1 ('MetaSel ('Just "id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int) :*: S1 ('MetaSel ('Just "loc") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Point 2 r))) :*: (S1 ('MetaSel ('Just "adj") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [(Int, e)]) :*: S1 ('MetaSel ('Just "vData") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 v)))) |