Small World Engine API Reference - v0.78.00
    Preparing search index...

    Interface AnnulusOptions

    Configuration options for annulus geometry (Kreisring / flat circular ring).

    interface AnnulusOptions {
        innerRadius?: number;
        outerRadius?: number;
        phiSegments?: number;
        thetaLength?: number;
        thetaSegments?: number;
        thetaStart?: number;
    }
    Index
    innerRadius?: number

    Inner radius of the annulus (r). Defaults to 0.5.

    outerRadius?: number

    Outer radius of the annulus (R). Defaults to 1.

    phiSegments?: number

    Number of concentric subdivisions along width between inner and outer radius. Defaults to 1.

    thetaLength?: number

    Central angle in radians (2π for full ring). Defaults to 2π.

    thetaSegments?: number

    Number of radial subdivisions around circumference. Defaults to 32.

    thetaStart?: number

    Start angle in radians. Defaults to 0.