@taylorhmorris/geometry
    Preparing search index...

    Class CircleBeta

    A class for Circles

    Index

    Constructors

    Accessors

    • get circumference(): number
      Beta

      Calculates the circumference of the Circle

      Returns number

      the circumference

    Methods

    • Beta

      Checks if an x coordinate crosses the Circle

      Parameters

      • x: number

        an x coordinate

      Returns boolean

      true or false

    • Beta

      Checks if an x, y coordinate touches the Circle

      Parameters

      • x: number

        the x coordinate to check

      • y: number

        the y coordinate to check

      Returns boolean

      true or false

    • Beta

      Checks if an y coordinate crosses the Circle

      Parameters

      • y: number

        an y coordinate

      Returns boolean

      true or false

    • Alpha

      Rotates the circle by theta 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