FullControl JS
    Preparing search index...

    Function circleXY

    • Generates an array of Points forming a 2D circle in the XY plane.

      Parameters

      • centre: Point

        The center point of the circle.

      • radius: number

        Spatial radius of the circle.

      • start_angle: number

        The starting polar angle in radians.

      • segments: number = 100

        Interpolation segments (default 100).

      • cw: boolean = false

        True for clockwise drawing.

      Returns Point[]

      Array of Points defining the circle perimeter.