@taylorhmorris/geometry
    Preparing search index...

    Class PointBeta

    A class for a Point

    Index

    Constructors

    Properties

    x: number

    The x coordinate of the Point

    y: number

    The y coordinate of the Point

    Accessors

    Methods

    • Alpha

      Rotates the given point by theta around a given origin

      Parameters

      • theta: number

        the amount in radians to rotate

      • origin: PointArray | Point = ...

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

      Returns void

    • Alpha

      Parameters

      • point: Point

        the point to rotate

      • theta: number

        the amount in radians to rotate

      • origin: Point = ...

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

      Returns Point

      a new Point rotated around the given Point