rfw2d
    Preparing search index...

    Function setPointsFromCircle

    • Build points for the described circle. Reuse points in results if already present.

      Parameters

      • circle: CircleLike

        Circle

      • interval: number

        Interval between points, see intervalKind

      • intervalKind: ArcIntervalKind

        Unit of interval (distance = a point every interval distance, segments = arc will be split into interval segments)

      • closed: boolean

        Generate an additional point closing the circle (equal to first point)

      • results: Vec2[]

        Array of points to reuse

      • Optionaloptions: EnsurePointsOptions

        Options describing how to reuse results

      Returns number

      Number of points added/changed