Circle

constructor(origin: Point, radius: Double = 1.0, vertices: Int = 20)

Parameters

origin

Center point of the circle in world space.

radius

Radius of the circle in world units. Must be positive.

vertices

Number of sides in the polygon approximation. Must be >= 3.