@taylorhmorris/geometry
    Preparing search index...

    Class PolygonAlpha

    Polygon class Represents a polygon with a list of points.

    Index

    Constructors

    Accessors

    Methods

    • Alpha

      Rotates the Polygon by a given angle around a given origin

      Parameters

      • theta: number

        the amount in radians to rotate

      • origin: Point = ...

        the origin to rotate around (default: (0, 0))

      Returns void