Options
All
  • Public
  • Public/Protected
  • All
Menu

External module "2d/circle"

Index

Functions

areaByDiameter

  • areaByDiameter(diameter: number): number
  • Finds the area of a circle given the diameter.

    Parameters

    • diameter: number

      The diameter of the circle.

    Returns number

    The area of the circle.

areaByRadius

  • areaByRadius(radius: number): number
  • Finds the area of a circle given the radius.

    Parameters

    • radius: number

      The radius of the circle.

    Returns number

    The area of the circle.

circumferenceByDiameter

  • circumferenceByDiameter(diameter: number): number
  • Finds the circumference of the circle given the diameter.

    Parameters

    • diameter: number

      The diameter of the circle.

    Returns number

    The circumference of the circle.

circumferenceByRadius

  • circumferenceByRadius(radius: number): number
  • Finds the circumference of the circle given the radius.

    Parameters

    • radius: number

      The radius of the circle.

    Returns number

    The circumference of the circle.

diameterByRadius

  • diameterByRadius(radius: number): number
  • Finds the diameter given the radius.

    Parameters

    • radius: number

      The radius of the circle.

    Returns number

    The diameter of the circle.

radiusByArea

  • radiusByArea(area: number): number
  • Finds the radius given the diameter.

    Parameters

    • area: number

      The area of the circle.

    Returns number

    The radius of the circle.

Made by Horyus. Documentation generated by TypeDoc.