Hoogle Search

Within LTS Haskell 24.52 (ghc-9.10.3)

Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.

  1. PolyPolar :: [Angle n] -> [n] -> PolyType n

    diagrams-lib Diagrams.TwoD.Polygons

    A "polar" polygon.

    • The first argument is a list of central angles from each vertex to the next.
    • The second argument is a list of radii from the origin to each successive vertex.
    To construct an n-gon, use a list of n-1 angles and n radii. Extra angles or radii are ignored. Cyclic polygons (with all vertices lying on a circle) can be constructed using a second argument of (repeat r).

  2. PolyRegular :: Int -> n -> PolyType n

    diagrams-lib Diagrams.TwoD.Polygons

    A regular polygon with the given number of sides (first argument) and the given radius (second argument).

  3. PolySides :: [Angle n] -> [n] -> PolyType n

    diagrams-lib Diagrams.TwoD.Polygons

    A polygon determined by the distance between successive vertices and the external angles formed by each three successive vertices. In other words, a polygon specified by "turtle graphics": go straight ahead x1 units; turn by external angle a1; go straight ahead x2 units; turn by external angle a2; etc. The polygon will be centered at the centroid of its vertices.

    • The first argument is a list of vertex angles, giving the external angle at each vertex from the previous vertex to the next. The first angle in the list is the external angle at the second vertex; the first edge always starts out heading in the positive y direction from the first vertex.
    • The second argument is a list of distances between successive vertices.
    To construct an n-gon, use a list of n-2 angles and n-1 edge lengths. Extra angles or lengths are ignored.

  4. data PolyType n

    diagrams-lib Diagrams.TwoD.Polygons

    Method used to determine the vertices of a polygon.

  5. data PolygonOpts n

    diagrams-lib Diagrams.TwoD.Polygons

    Options for specifying a polygon.

  6. PolygonOpts :: PolyType n -> PolyOrientation n -> Point V2 n -> PolygonOpts n

    diagrams-lib Diagrams.TwoD.Polygons

    No documentation available.

  7. type P2 = Point V2

    diagrams-lib Diagrams.TwoD.Types

    No documentation available.

  8. module Test.Syd.Validity.GenValidity.Property

    Tests for GenValidity instances

  9. module Test.Syd.Validity.Property

    No documentation available.

  10. module Test.Syd.Validity.Shrinking.Property

    Tests for shrinking functions

Page 294 of many | Previous | Next