hgeometry:quickcheck
Copyright(C) Frank Staals
Licensesee the LICENSE file
MaintainerFrank Staals
Safe HaskellNone
LanguageGHC2024

HGeometry.Polygon.Convex.Instances

Description

Arbitrary instances for the convex polygon types in hgeometry

Orphan instances

(Arbitrary point, Point_ point 2 r, Ord r, Num r, Eq point) => Arbitrary (ConvexPolygon point) Source # 
Instance details

Methods

arbitrary :: Gen (ConvexPolygon point) Source #

shrink :: ConvexPolygon point -> [ConvexPolygon point] Source #

(Arbitrary point, Point_ point 2 r, Ord r, Num r, Eq point) => Arbitrary (UnboundedConvexRegionF r NonEmpty point) Source # 
Instance details

Methods

arbitrary :: Gen (UnboundedConvexRegionF r NonEmpty point) Source #

shrink :: UnboundedConvexRegionF r NonEmpty point -> [UnboundedConvexRegionF r NonEmpty point] Source #