UNPKG

@polygonjs/polygonjs

Version:

node-based WebGL 3D engine https://polygonjs.com

21 lines (20 loc) 729 B
import { BaseSopOperation } from './_Base'; import { CoreGroup } from '../../../core/geometry/Group'; import { Vector3 } from 'three'; import { DefaultOperationParams } from '../../../core/operations/_Base'; interface AddSopParams extends DefaultOperationParams { createPoint: boolean; pointsCount: number; position: Vector3; connectInputPoints: boolean; connectToLastPoint: boolean; } export declare class AddSopOperation extends BaseSopOperation { static readonly DEFAULT_PARAMS: AddSopParams; static type(): Readonly<'add'>; cook(input_contents: CoreGroup[], params: AddSopParams): CoreGroup; private _createPoint; private _createPolygon; private _create_polygon_open; } export {};