generatePointsOnCircle

generatePointsOnCircle()
generatePointsOnCircle(out_points: Point3[], center: Point3, radius: number, numPoints: number, axisVector: Point3): void

Generates tessellated points suitable for mesh creation for a given circle.

Parameters

out_points: Point3[]

The out parameter for the generated points.

center: Point3

The center of the circle.

radius: number

The radius of the circle.

numPoints: number

The number of points to use for the tesesselated circle.

axisVector: Point3

The axis to orient the circle against.

Returns: void