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

    Interface CutCylinderOptions

    Configuration options for cut cylinder geometry (Zylinderabschnitt / truncated cylinder with oblique top).

    interface CutCylinderOptions {
        heightMax?: number;
        heightMin?: number;
        heightSegments?: number;
        openEnded?: boolean;
        radialSegments?: number;
        radius?: number;
        thetaLength?: number;
        thetaStart?: number;
    }
    Index
    heightMax?: number

    Maximum height along the highest point of the cut top (h2). Defaults to 3.

    heightMin?: number

    Minimum height along the lowest point of the cut top (h1). Defaults to 1.

    heightSegments?: number

    Number of height subdivisions along vertical axis. Defaults to 1.

    openEnded?: boolean

    Whether the cylinder ends are open (no bottom and top caps). Defaults to false.

    radialSegments?: number

    Number of radial subdivisions around circumference. Defaults to 32.

    radius?: number

    Radius of the cylinder base (r). Defaults to 1.

    thetaLength?: number

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

    thetaStart?: number

    Start angle in radians. Defaults to 0.