Public function

Get a point on the perimeter of a circle.

Signature
function getPointOnCircle(center: VecLike, r: number, a: number): Vec
Parameters
NameDescription

center

VecLike

The center of the circle.

r

number

The radius of the circle.

a

number

The angle in radians.

Returns
Vec
References

VecLike, Vec

Source

packages/editor/src/lib/primitives/utils.ts

getPointerInfogetPolygonVertices