/*---------------------------------------------------------------------------------------------
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
* See LICENSE.md in the project root for license terms and full copyright notice.
*--------------------------------------------------------------------------------------------*/
/** @packageDocumentation
 * @module Rendering
 */
/** @internal */
export class StrokesPrimitivePointList {
    constructor(points = []) { this.points = [...points]; }
}
/** @internal */
export class StrokesPrimitivePointLists extends Array {
    constructor(...args) {
        super(...args);
    }
}
/** @internal */
export class StrokesPrimitive {
    static create(params, isDisjoint, isPlanar) {
        return new StrokesPrimitive(params, isDisjoint, isPlanar);
    }
    constructor(params, isDisjoint, isPlanar) {
        this.displayParams = params;
        this.strokes = new StrokesPrimitivePointLists();
        this.isDisjoint = isDisjoint;
        this.isPlanar = isPlanar;
    }
    transform(trans) {
        for (const strk of this.strokes) {
            trans.multiplyPoint3dArrayInPlace(strk.points);
        }
    }
}
/** @internal */
export class StrokesPrimitiveList extends Array {
    constructor(...args) {
        super(...args);
    }
}
//# sourceMappingURL=Strokes.js.map