Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Arc2

This represents an arc in a 2d space.

Hierarchy

  • Arc2

Index

Constructors

constructor

  • Creates an Arc object from the three given points : start, middle and end.

    Parameters

    • startPoint: Vector2

      Defines the start point of the arc

    • midPoint: Vector2

      Defines the middle point of the arc

    • endPoint: Vector2

      Defines the end point of the arc

    Returns Arc2

Properties

angleSearch playground for angle

angle: Angle

Defines the angle of the arc (from mid point to end point).

centerPointSearch playground for centerPoint

centerPoint: Vector2

Defines the center point of the arc.

endPointSearch playground for endPoint

endPoint: Vector2

Defines the end point of the arc

midPointSearch playground for midPoint

midPoint: Vector2

Defines the mid point of the arc

orientationSearch playground for orientation

orientation: Orientation

Defines the orientation of the arc (clock wise/counter clock wise).

radiusSearch playground for radius

radius: number

Defines the radius of the arc.

startAngleSearch playground for startAngle

startAngle: Angle

Defines the start angle of the arc (from start point to middle point).

startPointSearch playground for startPoint

startPoint: Vector2

Defines the start point of the arc

Legend

  • Constructor
  • Property
  • Method
  • Property
  • Method
  • Inherited property
  • Inherited method
  • Static property
  • Static method