/// /// /// declare module "copyright" { export class FoundationRuntimeGraphicsCopyright { static toString(): string; } } declare module "foundation/runtime/graphics/shape/brep/Curve" { import { InstanceObject } from 'cross/runtime/lang/InstanceObject'; export abstract class Curve extends InstanceObject { needsUpdate: boolean; __arcLengthDivisions: any; cacheArcLengths: any; constructor(); abstract getPoint(step: any): any; getPointAt(u: any): any; getPoints(divisions?: number): Array; getSpacedPoints(divisions?: number): Array; getLength(): number; getLengths(divisions?: any): any; updateArcLengths(): void; getUtoTmapping(u: any, distance?: any): number; getTangent(t: any): any; getTangentAt(u: any): any; } } declare module "foundation/runtime/graphics/core/GraphicEventEnum" { export class GraphicEventEnum { static Added: string; static Dispose: string; static Update: string; static Removed: string; } } declare module "foundation/runtime/graphics/core/Actor" { import { Node } from 'cross/runtime/framework/node/Node'; import { Euler } from 'foundation/runtime/math/Euler'; import { Matrix3 } from 'foundation/runtime/math/Matrix3'; import { Matrix4 } from 'foundation/runtime/math/Matrix4'; import { Quaternion } from 'foundation/runtime/math/Quaternion'; import { Value3 } from 'foundation/runtime/math/Value3'; import { Vector3 } from 'foundation/runtime/math/Vector3'; export class Actor extends Node { static DefaultMatrixAutoUpdate: boolean; parent: Actor; typeName: string; label: string; visible: boolean; position: Vector3; rotation: Euler; quaternion: Quaternion; scale: Vector3; matrixAutoUpdate: boolean; matrix: Matrix4; normalMatrix: Matrix3; modelViewMatrix: Matrix4; matrixWorld: Matrix4; matrixWorldNeedsUpdate: boolean; renderOrder: number; receiveShadow: boolean; castShadow: boolean; up: Vector3; children: Array; frustumCulled: any; constructor(); getWorldPosition(target?: Vector3): Vector3; getWorldRotation(target: Euler): Euler; getWorldQuaternion(target: Quaternion): Quaternion; getWorldDirection(target?: Vector3): Vector3; getWorldScale(target: any): any; getObjectByProperty(name: string, value: any): Actor; getObjectById(id: number): Actor; getObjectByName(name: string): Actor; contains(value: Actor): boolean; localToWorld(value: Vector3): Vector3; worldToLocal(value: Vector3): Vector3; translateOnAxis(axis: Value3, distance: number): Actor; translateX(distance: number): Actor; translateY(distance: number): Actor; translateZ(distance: number): Actor; rotateOnAxis(axis: Vector3, rad: number): Actor; rotateX(rad: number): Actor; rotateY(rad: number): Actor; rotateZ(rad: number): Actor; setRotationFromAxisAngle(axis: Vector3, angle: number): void; setRotationFromEuler(value: Euler): void; setRotationFromQuaternion(value: Quaternion): void; setRotationFromMatrix(value: Matrix4): void; applyMatrix(matrix: Matrix4): void; updateMatrix(): void; updateMatrixWorld(force?: boolean): void; lookAt(position: Vector3): void; raycast(v1?: any, v2?: any): any; add(actor: Actor, v1?: any, v2?: any, v3?: any, v4?: any, v5?: any, v6?: any): any; remove(actor: Actor, v1?: any, v2?: any, v3?: any, v4?: any, v5?: any, v6?: any): void; removeChildren(): void; traverse(callback: any): void; traverseVisible(callback: any): void; traverseAncestors(callback: any): void; copy(source: Actor, recursive?: boolean): any; clone(recursive?: boolean): any; dispose(): void; } export type ActorMap = { [key: string]: Actor; }; } declare module "foundation/runtime/graphics/core/BlendingEnum" { export class BlendingEnum { static NoBlending: number; static NormalBlending: number; static AdditiveBlending: number; static SubtractiveBlending: number; static MultiplyBlending: number; static CustomBlending: number; static AddEquation: number; static SubtractEquation: number; static ReverseSubtractEquation: number; static MinEquation: number; static MaxEquation: number; static ZeroFactor: number; static OneFactor: number; static SrcColorFactor: number; static OneMinusSrcColorFactor: number; static SrcAlphaFactor: number; static OneMinusSrcAlphaFactor: number; static DstAlphaFactor: number; static OneMinusDstAlphaFactor: number; static DstColorFactor: number; static OneMinusDstColorFactor: number; static SrcAlphaSaturateFactor: number; } } declare module "foundation/runtime/graphics/core/ColorEnum" { export class ColorEnum { static NoColors: number; static FaceColors: number; static VertexColors: number; } } declare module "foundation/runtime/graphics/core/Component" { import { Dispatcher } from 'cross/runtime/lang/Dispatcher'; export class Component extends Dispatcher { typeName: string; id: string; name: string; label: string; constructor(); } } declare module "foundation/runtime/graphics/core/DepthModeEnum" { export class DepthModeEnum { static NeverDepth: number; static AlwaysDepth: number; static LessDepth: number; static LessEqualDepth: number; static EqualDepth: number; static GreaterEqualDepth: number; static GreaterDepth: number; static NotEqualDepth: number; } } declare module "foundation/runtime/graphics/core/ShadingEnum" { export class ShadingEnum { static FlatShading: number; static SmoothShading: number; } } declare module "foundation/runtime/graphics/core/SideEnum" { export class SideEnum { static FrontSide: number; static BackSide: number; static DoubleSide: number; } } declare module "foundation/runtime/graphics/core/FilterEnum" { export class FilterEnum { static NearestFilter: number; static NearestMipMapNearestFilter: number; static NearestMipMapLinearFilter: number; static LinearFilter: number; static LinearMipMapNearestFilter: number; static LinearMipMapLinearFilter: number; } } declare module "foundation/runtime/graphics/core/GraphicDataEnum" { export class GraphicDataEnum { static UnsignedByteType: number; static ByteType: number; static ShortType: number; static UnsignedShortType: number; static IntType: number; static UnsignedIntType: number; static FloatType: number; static HalfFloatType: number; } } declare module "foundation/runtime/graphics/core/MappingModeEnum" { export class MappingModeEnum { static UVMapping: number; static CubeReflectionMapping: number; static CubeRefractionMapping: number; static EquirectangularReflectionMapping: number; static EquirectangularRefractionMapping: number; static SphericalReflectionMapping: number; static CubeUVReflectionMapping: number; static CubeUVRefractionMapping: number; } } declare module "foundation/runtime/graphics/core/PixelFormatEnum" { export class PixelFormatEnum { static AlphaFormat: number; static RGBFormat: number; static RGBEFormat: number; static RGBAFormat: number; static LuminanceFormat: number; static LuminanceAlphaFormat: number; static DepthFormat: number; static UnsignedShort4444Type: number; static UnsignedShort5551Type: number; static UnsignedShort565Type: number; } } declare module "foundation/runtime/graphics/core/TextureEncodingEnum" { export class TextureEncodingEnum { static LinearEncoding: number; static sRGBEncoding: number; static GammaEncoding: number; static RGBEEncoding: number; static LogLuvEncoding: number; static RGBM7Encoding: number; static RGBM16Encoding: number; static RGBDEncoding: number; } } declare module "foundation/runtime/graphics/core/WrappingModeEnum" { export class WrappingModeEnum { static RepeatWrapping: number; static ClampToEdgeWrapping: number; static MirroredRepeatWrapping: number; } } declare module "foundation/runtime/graphics/texture/Texture" { import { Vector2 } from 'foundation/runtime/math/Vector2'; import { Component } from "foundation/runtime/graphics/core/Component"; import { FilterEnum } from "foundation/runtime/graphics/core/FilterEnum"; import { GraphicDataEnum } from "foundation/runtime/graphics/core/GraphicDataEnum"; import { PixelFormatEnum } from "foundation/runtime/graphics/core/PixelFormatEnum"; import { TextureEncodingEnum } from "foundation/runtime/graphics/core/TextureEncodingEnum"; import { WrappingModeEnum } from "foundation/runtime/graphics/core/WrappingModeEnum"; export class Texture extends Component { static DEFAULT_IMAGE: any; static DEFAULT_MAPPING: number; offset: Vector2; repeat: Vector2; minFilter: FilterEnum; magFilter: FilterEnum; wrapS: WrappingModeEnum; wrapT: WrappingModeEnum; format: PixelFormatEnum; typeCd: GraphicDataEnum; anisotropy: number; generateMipmaps: boolean; premultiplyAlpha: boolean; encoding: TextureEncodingEnum; sourceFile: any; image: any; mipmaps: any; mapping: any; flipY: any; unpackAlignment: any; onUpdate: any; constructor(image?: any, mapping?: any, wrapS?: any, wrapT?: any, magFilter?: any, minFilter?: any, format?: any, typeCd?: any, anisotropy?: any, encoding?: any); setFilterCd(minCd: FilterEnum, magCd: FilterEnum): void; setWrapCd(wrapS: WrappingModeEnum, wrapT: WrappingModeEnum): void; transformUv(uv: any): void; copy(source: Texture): any; clone(): any; dispose(): void; } } declare module "foundation/runtime/graphics/material/Material" { import { Dictionary } from 'cross/runtime/lang/collection/Dictionary'; import { Color } from 'foundation/runtime/math/Color'; import { BlendingEnum } from "foundation/runtime/graphics/core/BlendingEnum"; import { ColorEnum } from "foundation/runtime/graphics/core/ColorEnum"; import { Component } from "foundation/runtime/graphics/core/Component"; import { DepthModeEnum } from "foundation/runtime/graphics/core/DepthModeEnum"; import { ShadingEnum } from "foundation/runtime/graphics/core/ShadingEnum"; import { SideEnum } from "foundation/runtime/graphics/core/SideEnum"; import { Texture } from "foundation/runtime/graphics/texture/Texture"; export interface MaterialParameters { name?: string; side?: any; opacity?: number; transparent?: boolean; blending?: any; blendSrc?: any; blendDst?: any; blendEquation?: any; depthTest?: boolean; depthWrite?: boolean; polygonOffset?: boolean; polygonOffsetFactor?: number; polygonOffsetUnits?: number; alphaTest?: number; overdraw?: number; visible?: boolean; needsUpdate?: boolean; } export class Material extends Component { effectCode: string; visible: boolean; sortLevel: number; transparent: boolean; opacityBase: number; opacity: number; ambientColor: Color; diffuseColor: Color; specularColor: Color; emissiveColor: Color; shininess: number; shading: ShadingEnum; side: SideEnum; vertexColors: ColorEnum; depthFunc: DepthModeEnum; depthTest: boolean; depthWrite: boolean; blending: BlendingEnum; blendSrc: BlendingEnum; blendSrcAlpha: number; blendDst: BlendingEnum; blendDstAlpha: number; blendEquation: any; blendEquationAlpha: any; polygonOffset: boolean; polygonOffsetFactor: number; polygonOffsetUnits: number; textures: Dictionary; version: number; type: string; map: any; emissiveIntensity: number; fog: any; lights: any; clipping: boolean; clippingPlanes: any; clipShadows: any; colorWrite: any; precision: any; alphaTest: any; premultipliedAlpha: any; overdraw: any; _needsUpdate: any; roughness: any; metalness: any; alphaMap: any; lightMap: any; bumpMap: any; bumpScale: any; normalMap: any; displacementMap: any; roughnessMap: any; metalnessMap: any; emissiveMap: any; specularMap: any; envMap: any; size: any; sizeAttenuation: any; wireframe: any; wireframeLinewidth: any; normalScale: any; displacementScale: any; displacementBias: any; aoMap: any; aoMapIntensity: any; reflectivity: any; refractionRatio: any; combine: any; skinning: any; morphTargets: any; morphNormals: any; depthPacking: any; constructor(); findTexture(code: string): Texture; setTexture(code: string, texture: Texture): void; setValues(values: any): void; reset(): void; update(): void; dirty(): void; dispose(): void; get color(): Color; get specular(): Color; get emissive(): Color; get needsUpdate(): boolean; set needsUpdate(value: boolean); copy(source: any): any; clone(): any; } export class MaterialMap { [key: string]: Material; } } declare module "foundation/runtime/graphics/actor/CurveActor" { import { Curve } from "foundation/runtime/graphics/shape/brep/Curve"; import { Actor } from "foundation/runtime/graphics/core/Actor"; import { Material } from "foundation/runtime/graphics/material/Material"; export class CurveActor extends Actor { curve: Curve; material: Material; constructor(curve?: Curve, material?: Material); } } declare module "foundation/runtime/graphics/data/BufferAttribute" { import { DataTypeEnum } from 'cross/runtime/lang/DataTypeEnum'; import { InstanceObject } from 'cross/runtime/lang/InstanceObject'; import { Value2 } from 'foundation/runtime/math/Value2'; import { Value3 } from 'foundation/runtime/math/Value3'; import { Value4 } from 'foundation/runtime/math/Value4'; export class BufferAttribute extends InstanceObject { dataCd: DataTypeEnum; dataClazz: Function; array: any; stride: number; normalized: boolean; protected _position: number; constructor(clazz?: any, array?: any, stride?: number, normalized?: boolean, dynamic?: boolean); get count(): number; set(value: number, offset?: number): BufferAttribute; getX(index: number): number; setX(index: number, value: number): BufferAttribute; getY(index: number): number; setY(index: number, value: number): BufferAttribute; getZ(index: number): number; setZ(index: number, value: number): BufferAttribute; getW(index: number): number; setW(index: number, value: number): BufferAttribute; setXY(index: number, x: number, y: number): BufferAttribute; setXYZ(index: number, x: number, y: number, z: number): BufferAttribute; setXYZW(index: number, x: number, y: number, z: number, w: number): BufferAttribute; setData1(index: number, v1: number): BufferAttribute; setData2(index: number, v1: number, v2: number): BufferAttribute; setData3(index: number, v1: number, v2: number, v3: number): BufferAttribute; setData4(index: number, v1: number, v2: number, v3: number, v4: number): BufferAttribute; getValue2(index: number, target?: Value2): Value2; setValue2(index: number, value: Value2): BufferAttribute; getValue3(index: number, target?: Value3): Value3; setValue3(index: number, value: Value3): BufferAttribute; getValue4(index: number, target?: Value4): Value4; setValue4(index: number, value: Value4): BufferAttribute; setColor(index: number, color: number, alpha?: number): BufferAttribute; setColor4(index: number, color: number): BufferAttribute; setArray(array: Array): void; copy(source: BufferAttribute): BufferAttribute; copyAt(index1: number, attribute: any, index2: number): BufferAttribute; copyArray(array: any): BufferAttribute; copyColorsArray(colors: Array): BufferAttribute; copyColorValueArray(colors: Array): BufferAttribute; copyIndicesArray(indices: Array): BufferAttribute; copyVector2sArray(vectors: Array): BufferAttribute; copyVector3sArray(vectors: Array): BufferAttribute; copyVector4sArray(vectors: Array): BufferAttribute; resize(length: number): void; write1(v1: number): any; write2(v1: number, v2: number): any; write3(v1: number, v2: number, v3: number): any; write4(v1: number, v2: number, v3: number, v4: number): any; writeByte4Color(color: number): any; writeFloatColor(color: number): any; writeValue3(value: Value3): any; writes(v1?: number, v2?: number, v3?: number, v4?: number, v5?: number, v6?: number, v7?: number, v8?: number): any; clear(): void; reset(): void; clone(): any; dispose(): void; } export class Int8Attribute extends BufferAttribute { constructor(array: any, stride?: number); } export class Uint8Attribute extends BufferAttribute { constructor(array: any, stride?: number); } export class Uint8ClampedAttribute extends BufferAttribute { constructor(array: any, stride?: number); } export class Int16Attribute extends BufferAttribute { constructor(array: any, stride?: number); } export class Uint16Attribute extends BufferAttribute { constructor(array: any, stride?: number); } export class Int32Attribute extends BufferAttribute { constructor(array: any, stride?: number); } export class Uint32Attribute extends BufferAttribute { constructor(array: any, stride?: number); } export class Float32Attribute extends BufferAttribute { constructor(array: any, stride?: number); } export class Float64Attribute extends BufferAttribute { constructor(array: any, stride?: number); } export type BufferAttributeMap = { [key: string]: BufferAttribute; }; } declare module "foundation/runtime/graphics/data/IndexBuffer" { import { BufferAttribute } from "foundation/runtime/graphics/data/BufferAttribute"; export class IndexBuffer extends BufferAttribute { } } declare module "foundation/runtime/graphics/data/BufferComponent" { import { InstanceObject } from 'cross/runtime/lang/InstanceObject'; import { BufferGeometry } from "foundation/runtime/graphics/data/BufferGeometry"; export class BufferComponent extends InstanceObject { static IdCounter: number; typeName: string; uniqueId: number; constructor(); makeBufferGeometry(geometry: BufferGeometry): BufferGeometry; } } declare module "foundation/runtime/graphics/data/Lines" { import { Box3 } from 'foundation/runtime/math/Box3'; import { Matrix4 } from 'foundation/runtime/math/Matrix4'; import { Sphere } from 'foundation/runtime/math/Sphere'; import { Vector3 } from 'foundation/runtime/math/Vector3'; import { BufferComponent } from "foundation/runtime/graphics/data/BufferComponent"; import { BufferGeometry } from "foundation/runtime/graphics/data/BufferGeometry"; export class Lines extends BufferComponent { matrix: Matrix4; boundingBox: Box3; boundingSphere: Sphere; needUpdate: boolean; protected _positions: Array; protected _colors: Array; protected _indexes: Array; protected _dirty: boolean; constructor(); setData(count: number, positions?: Array, color?: Array, indexes?: Array): void; setCircleData(count: number, positions?: Array, color?: Array, indexes?: Array): void; initCircleSegment(segmentCount: number, color: number): void; initSegment(segmentCount: number, color: number): void; setAllColor(color: number): void; get positions(): Array; hasColor(): boolean; get colors(): Array; hasIndexes(): boolean; get indexes(): Array; testDirty(): boolean; computeBoundingBox(): Box3; computeBoundingSphere(): Sphere; updateData(precision?: number): void; update(flag?: boolean): void; merge(geometry: Lines, faceOffset?: number, faceCount?: number): void; makeBufferGeometry(geometry?: BufferGeometry, segmentsMode?: boolean): BufferGeometry; dirty(): void; reset(): void; dispose(): void; } } declare module "foundation/runtime/graphics/data/Uint16IndexBuffer" { import { IndexBuffer } from "foundation/runtime/graphics/data/IndexBuffer"; export class Uint16IndexBuffer extends IndexBuffer { constructor(stride?: number, count?: number); } } declare module "foundation/runtime/graphics/data/Uint32IndexBuffer" { import { IndexBuffer } from "foundation/runtime/graphics/data/IndexBuffer"; export class Uint32IndexBuffer extends IndexBuffer { constructor(stride?: number, count?: number); } } declare module "foundation/runtime/graphics/data/BufferGeometry" { import { DataStream } from 'cross/runtime/lang/stream/DataStream'; import { InstanceObject } from 'cross/runtime/lang/InstanceObject'; import { Matrix4 } from 'foundation/runtime/math/Matrix4'; import { BrepBody } from 'foundation/runtime/geometry/brep/BrepBody'; import { BoxSolid } from 'foundation/runtime/geometry/solid/BoxSolid'; import { SphereSolid } from 'foundation/runtime/geometry/solid/SphereSolid'; import { BufferAttribute, BufferAttributeMap } from "foundation/runtime/graphics/data/BufferAttribute"; import { IndexBuffer } from "foundation/runtime/graphics/data/IndexBuffer"; import { Lines } from "foundation/runtime/graphics/data/Lines"; export class BufferGeometryEnum { static POINT: string; static LINE: string; static FACE: string; } export class BufferGeometry extends InstanceObject { typeName: string; uniqueNumber: number; id: string; name: string; attributes: BufferAttributeMap; index: IndexBuffer; boundingBox: BoxSolid; boundingSphere: SphereSolid; static MAX_UNDIGEND_SHORT: number; static MAX_UNDIGEND_INT: number; constructor(); get vertexCount(): number; testValid(): boolean; flipX(): BufferGeometry; flipY(): BufferGeometry; flipZ(): BufferGeometry; flipFace(): BufferGeometry; flipNormal(): void; static lineStrip(indexs: Array, flag: number): Array; static triangleStrip(indexs: Array, flag: number): Array; indexStrip(): BufferGeometry; applyMatrix(matrix: Matrix4): BufferGeometry; isBufferNeedCompress(): boolean; compressBuffer(): void; translate(x: number, y: number, z: number): BufferGeometry; rotateX(angle: number): BufferGeometry; rotateY(angle: number): BufferGeometry; rotateZ(angle: any): BufferGeometry; scale(x: number, y: number, z: number): BufferGeometry; getAttribute(name: string): BufferAttribute; getData(name: string): any; addAttribute(name: string, attribute: BufferAttribute): BufferGeometry; defineAttribute(name: string, type: Function, itemSize: number, count: number, normalize?: boolean): void; syncAttribute(name: string, clazz: Function, itemSize: number, count?: number, normalize?: boolean): BufferAttribute; removeAttribute(name: string): BufferGeometry; syncIndex(clazz: Function, itemSize: number, count?: number): BufferAttribute; computeBoundingBox(): BoxSolid; computeBoundingSphere(): any; mergeGeometries(geometries: Array, matrixs?: Array, isCheckUV?: boolean): BufferGeometry; mergeInstanceGeometries(geometries: Array, matrixs?: Array, isCheckUV?: boolean): BufferGeometry; setIntColor(color: number): void; setColor(r: number, g: number, b: number, a: number): void; mergeLines(geometries: Array, matrixs?: Array): BufferGeometry; normalizeNormals(): void; computeVertexNormals(): void; center(): any; toNonIndexed(): BufferGeometry; fromDirectGeometry(geometry: any): BufferGeometry; checkValid(typeCd?: BufferGeometryEnum, isCheckUV?: boolean): boolean; private checkCommonValid; private checkFaceValid; private checkLineValid; faceReverse(): boolean; private checkPointValid; copy(source: any): any; serialize(output: DataStream): void; unserialize(input: DataStream): void; clone(): any; dispose(): void; toBrepBody(data?: any, tolerance?: number): BrepBody; static generateBufferGeometry(indices: Array, positions: Array, normals: Array, uvs: Array, isFloat64?: boolean): BufferGeometry; } export class BufferGeometry64 extends BufferGeometry { computeVertexNormals(): void; fromDirectGeometry(geometry: any): BufferGeometry; serialize(output: DataStream): void; unserialize(input: DataStream): void; } } declare module "foundation/runtime/graphics/actor/DynamicMeshDisplay" { import { Types } from 'cross/runtime/lang/collection/Types'; import { InstanceObject } from 'cross/runtime/lang/InstanceObject'; import { Matrix4 } from 'foundation/runtime/math/Matrix4'; import { BufferGeometry } from "foundation/runtime/graphics/data/BufferGeometry"; export class DynamicMeshDisplay extends InstanceObject { materialCode: string; material: any; mergeGeometry: BufferGeometry; mergeGeometries: Types; mergeMatrixs: Types; constructor(); merge(): void; reset(): void; } export type DynamicMeshDisplayMap = { [key: string]: DynamicMeshDisplay; }; } declare module "foundation/runtime/graphics/actor/DynamicMeshMerger" { import { Dictionary } from 'cross/runtime/lang/collection/Dictionary'; import { Types } from 'cross/runtime/lang/collection/Types'; import { InstanceObject } from 'cross/runtime/lang/InstanceObject'; import { DynamicMesh } from "foundation/runtime/graphics/actor/DynamicMesh"; import { DynamicMeshDisplay } from "foundation/runtime/graphics/actor/DynamicMeshDisplay"; export class DynamicMeshMerger extends InstanceObject { name: string; meshs: Types; displays: Dictionary; constructor(name?: string); add(mesh: DynamicMesh): void; remove(mesh: DynamicMesh): void; getDisplay(materialCode: string, material?: any): DynamicMeshDisplay; removeDisplay(display: DynamicMeshDisplay): void; update(): void; } export type DynamicMeshMergerMap = { [key: string]: DynamicMeshMerger; }; } declare module "foundation/runtime/graphics/actor/DynamicMesh" { import { InstanceObject } from 'cross/runtime/lang/InstanceObject'; import { Matrix4 } from 'foundation/runtime/math/Matrix4'; import { BufferGeometry } from "foundation/runtime/graphics/data/BufferGeometry"; import { DynamicMeshMerger } from "foundation/runtime/graphics/actor/DynamicMeshMerger"; export class DynamicMesh extends InstanceObject { merger: DynamicMeshMerger; code: string; materialCode: string; material: any; geometry: BufferGeometry; matrix: Matrix4; constructor(); dispose(): void; } export type DynamicMeshMap = { [key: string]: DynamicMesh; }; } declare module "foundation/runtime/graphics/camera/Projection" { import { InstanceObject } from 'cross/runtime/lang/InstanceObject'; import { Matrix4 } from 'foundation/runtime/math/Matrix4'; import { Size2 } from 'foundation/runtime/math/Size2'; export class Projection extends InstanceObject { matrix: Matrix4; znear: number; zfar: number; size: Size2; left: number; right: number; top: number; bottom: number; _angle: number; fieldOfView: number; zoom: number; constructor(); get angle(): number; set angle(value: number); get distance(): number; update(): void; dispose(): void; } } declare module "foundation/runtime/graphics/camera/Camera" { import { Vector3 } from 'foundation/runtime/math/Vector3'; import { Actor } from "foundation/runtime/graphics/core/Actor"; import { Projection } from "foundation/runtime/graphics/camera/Projection"; export class Camera extends Actor { axisX: Vector3; axisY: Vector3; axisZ: Vector3; axisUp: Vector3; target: Vector3; direction: Vector3; zoom: number; _fov: number; near: number; far: number; left: number; right: number; top: number; bottom: number; projection: Projection; constructor(); get fov(): number; set fov(value: number); setPosition(x: number, y: number, z: number): void; lookAtValue(x: number, y: number, z: number): void; lookAt(direction: Vector3): void; updateCameraMatrix(): void; updateProjectionMatrix(): void; } } declare module "foundation/runtime/graphics/camera/OrthoProjection" { import { Projection } from "foundation/runtime/graphics/camera/Projection"; export class OrthoProjection extends Projection { update(): void; } } declare module "foundation/runtime/graphics/camera/OrthographicCamera" { import { Camera } from "foundation/runtime/graphics/camera/Camera"; export class OrthographicCamera extends Camera { constructor(left?: number, right?: number, top?: number, bottom?: number, near?: number, far?: number); updateProjectionMatrix(): void; } } declare module "foundation/runtime/graphics/camera/PerspectiveProjection" { import { Projection } from "foundation/runtime/graphics/camera/Projection"; export class PerspectiveProjection extends Projection { update(): void; } } declare module "foundation/runtime/graphics/camera/PerspectiveCamera" { import { Camera } from "foundation/runtime/graphics/camera/Camera"; export class PerspectiveCamera extends Camera { focus: number; aspect: number; view: any; filmGauge: number; filmOffset: number; constructor(fov?: number, aspect?: number, near?: number, far?: number); setFocalLength(focalLength: number): void; getFocalLength(): any; getEffectiveFOV(): any; getFilmWidth(): any; getFilmHeight(): any; setViewOffset(fullWidth: number, fullHeight: number, x: number, y: number, width: number, height: number): void; clearViewOffset(): void; copy(source: any): any; } } declare module "foundation/runtime/graphics/core/Raycaster" { import { InstanceObject } from 'cross/runtime/lang/InstanceObject'; import { Vector3 } from 'foundation/runtime/math/Vector3'; import { Ray } from 'foundation/runtime/geometry/Ray'; import { Actor } from "foundation/runtime/graphics/core/Actor"; export class RayParamPoints { threshold: number; } export class RayParams { mesh: {}; line: {}; lod: {}; points: RayParamPoints; sprite: {}; } export class Raycaster extends InstanceObject { ray: Ray; near: number; far: number; params: RayParams; linePrecision: number; constructor(origin?: Vector3, direction?: Vector3, near?: number, far?: number); set(origin: any, direction: any): void; setFromCamera(coords: any, camera: any): void; intersectObject(object: any, recursive?: any): any; intersectObjects(objects: Array, recursive?: boolean, force?: boolean): any; static ascSort(a: any, b: any): number; static intersectObject(object: Actor, raycaster: Raycaster, intersects: Array, recursive?: boolean, force?: boolean): void; } } declare module "foundation/runtime/graphics/core/DrawModeEnum" { export class DrawModeEnum { static Unknown: string; static Points: string; static Lines: string; static Triangle: string; } } declare module "foundation/runtime/graphics/core/Face" { import { Vector3 } from 'foundation/runtime/math/Vector3'; export class Face { geometryId: number; indexs: Array; coordIndexs: Array; normal: Vector3; normalIndexes: Array; binormalIndexes: Array; tangentsIndexes: Array; color: number; direction: Vector3; smooth: number; materialIndex: number; constructor(); } } declare module "foundation/runtime/graphics/core/Vertex" { import { Vector2 } from 'foundation/runtime/math/Vector2'; import { Vector3 } from 'foundation/runtime/math/Vector3'; export class Vertex { index: number; position: Vector3; normal: Vector3; binormal: Vector3; tangent: Vector3; color: number; coord1: Vector2; coord2: Vector2; static create(x: number, y: number, z: number): Vertex; } } declare module "foundation/runtime/graphics/core/VertexGeometry" { import { Box3 } from 'foundation/runtime/math/Box3'; import { Matrix4 } from 'foundation/runtime/math/Matrix4'; import { Sphere } from 'foundation/runtime/math/Sphere'; import { Vector2 } from 'foundation/runtime/math/Vector2'; import { Vector3 } from 'foundation/runtime/math/Vector3'; import { Vector4 } from 'foundation/runtime/math/Vector4'; import { BufferComponent } from "foundation/runtime/graphics/data/BufferComponent"; import { BufferGeometry } from "foundation/runtime/graphics/data/BufferGeometry"; import { DrawModeEnum } from "foundation/runtime/graphics/core/DrawModeEnum"; import { Face } from "foundation/runtime/graphics/core/Face"; import { Vertex } from "foundation/runtime/graphics/core/Vertex"; export class GeometryOptions { drawModeCd: DrawModeEnum; clockWise: boolean; constructor(); } export class VertexGeometry extends BufferComponent { options: GeometryOptions; matrix: Matrix4; boundingBox: Box3; boundingSphere: Sphere; needUpdate: boolean; protected _vertices: Array; protected _positions: Array; protected _coords: Array>; protected _colors: Array; protected _normals: Array; protected _binormals: Array; protected _tangents: Array; protected _skinWeights: Array; protected _skinIndices: Array; protected _faces: Array; protected _faceIndexs: Array; protected _dirty: boolean; constructor(options?: GeometryOptions); protected createOptions(): GeometryOptions; get vertices(): Array; get positions(): Array; hasColor(): boolean; get colors(): Array; get coordsCount(): number; get coords(): Array>; syncCoord(layer?: number): Array; hasNormal(): boolean; get normals(): Array; get binormals(): Array; get tangents(): Array; get faces(): Array; get faceIndexs(): Array; pushFace(face: Face): void; testDirty(): boolean; computeBoundingBox(): Box3; computeBoundingSphere(): Sphere; updatePointData(precision?: number): void; updateLineData(precision?: number): void; updateTriangleData(precision?: number): void; update(flag?: boolean): void; merge(geometry: VertexGeometry, faceOffset?: number, faceCount?: number): void; makeBufferGeometry(geometry: BufferGeometry, precision?: number): BufferGeometry; dirty(): void; reset(): void; computeFaceNormals(): void; } } declare module "foundation/runtime/graphics/material/LineBasicMaterial" { import { Material, MaterialParameters } from "foundation/runtime/graphics/material/Material"; export interface LineBasicMaterialParameters extends MaterialParameters { color?: number; linewidth?: number; linecap?: string; linejoin?: string; vertexColors?: any; fog?: boolean; } export class LineBasicMaterial extends Material { width: number; linewidth: any; linecap: any; linejoin: any; constructor(parameters?: any); copy(source: any): any; } } declare module "foundation/runtime/graphics/actor/Line" { import { Matrix4 } from 'foundation/runtime/math/Matrix4'; import { Sphere } from 'foundation/runtime/math/Sphere'; import { Ray } from 'foundation/runtime/geometry/Ray'; import { Actor } from "foundation/runtime/graphics/core/Actor"; import { Raycaster } from "foundation/runtime/graphics/core/Raycaster"; export class Line extends Actor { geometry: any; material: any; protected _step: number; protected raycast_inverseMatrix: Matrix4; protected raycast_ray: Ray; protected raycast_sphere: Sphere; constructor(geometry?: any, material?: any); raycast(raycaster: Raycaster, intersects: Array): void; clone(): any; dispose(): void; } } declare module "foundation/runtime/graphics/actor/LinesActor" { import { Actor } from "foundation/runtime/graphics/core/Actor"; import { Lines } from "foundation/runtime/graphics/data/Lines"; import { Material } from "foundation/runtime/graphics/material/Material"; export class LinesActor extends Actor { lines: Lines; material: Material; } } declare module "foundation/runtime/graphics/actor/LineSegments" { import { Line } from "foundation/runtime/graphics/actor/Line"; export class LineSegments extends Line { constructor(geometry?: any, material?: any); } } declare module "foundation/runtime/graphics/core/TriangleDrawModeEnum" { export class TriangleDrawModeEnum { static TrianglesDrawMode: number; static TriangleStripDrawMode: number; static TriangleFanDrawMode: number; } } declare module "foundation/runtime/graphics/data/Face3" { import { Color } from 'foundation/runtime/math/Color'; import { Vector3 } from 'foundation/runtime/math/Vector3'; export class Face3 { a: number; b: number; c: number; normal: Vector3; vertexNormals: Vector3[]; color: Color; vertexColors: Color[]; materialIndex: number; constructor(a?: any, b?: any, c?: any, normal?: any, color?: any, materialIndex?: any); clone(): any; copy(source: any): any; } } declare module "foundation/runtime/graphics/data/Geometry" { import { Box3 } from 'foundation/runtime/math/Box3'; import { Color } from 'foundation/runtime/math/Color'; import { Sphere } from 'foundation/runtime/math/Sphere'; import { BufferComponent } from "foundation/runtime/graphics/data/BufferComponent"; import { BufferGeometry } from "foundation/runtime/graphics/data/BufferGeometry"; import { Face3 } from "foundation/runtime/graphics/data/Face3"; export class Geometry extends BufferComponent { vertices: Array; colors: Array; faces: Array; faceVertexUvs: any; morphTargets: any; morphNormals: any; skinWeights: any; skinIndices: any; lineDistances: any; boundingBox: any; boundingSphere: any; verticesNeedUpdate: any; elementsNeedUpdate: any; uvsNeedUpdate: any; normalsNeedUpdateany: boolean; colorsNeedUpdate: any; lineDistancesNeedUpdate: any; groupsNeedUpdate: any; normalsNeedUpdate: any; constructor(); applyMatrix(matrix: any): Geometry; rotateX(angle: number): Geometry; rotateY(angle: number): Geometry; rotateZ(angle: number): Geometry; translate(x: number, y: number, z: number): Geometry; scale(x: number, y: number, z: number): Geometry; fromBufferGeometry(geometry: BufferGeometry): Geometry; center(): any; normalize(): Geometry; computeFaceNormals(): void; computeVertexNormals(areaWeighted?: any): void; computeMorphNormals(): void; computeLineDistances(): void; computeBoundingBox(): Box3; computeBoundingSphere(): Sphere; mergeVertices(): number; sortFacesByMaterialIndex(): void; clone(): any; copy(source: any): any; } } declare module "foundation/runtime/graphics/core/TextureConstans" { export class TextureConstans { static MultiplyOperation: number; static MixOperation: number; static AddOperation: number; } } declare module "foundation/runtime/graphics/material/MeshBasicMaterial" { import { Material } from "foundation/runtime/graphics/material/Material"; export class MeshBasicMaterial extends Material { wireframeLinecap: any; wireframeLinejoin: any; constructor(parameters?: any); copy(source: MeshBasicMaterial): any; } } declare module "foundation/runtime/graphics/actor/Mesh" { import { Vector2 } from 'foundation/runtime/math/Vector2'; import { Vector3 } from 'foundation/runtime/math/Vector3'; import { Ray } from 'foundation/runtime/geometry/Ray'; import { Actor } from "foundation/runtime/graphics/core/Actor"; import { Raycaster } from "foundation/runtime/graphics/core/Raycaster"; export class Mesh extends Actor { geometry: any; material: any; morphTargetBase: any; morphTargetInfluences: any; morphTargetDictionary: any; drawMode: any; isNotComputeIntersectPoint: boolean; constructor(geometry?: any, material?: any); setDrawMode(value: any): void; copy(source: any): any; updateMorphTargets(): void; getMorphTargetIndexByName(name: string): number; protected raycast_ray: Ray; protected raycast_vA: Vector3; protected raycast_vB: Vector3; protected raycast_vC: Vector3; protected raycast_tempA: Vector3; protected raycast_tempB: Vector3; protected raycast_tempC: Vector3; protected raycast_uvA: Vector2; protected raycast_uvB: Vector2; protected raycast_uvC: Vector2; protected raycast_barycoord: Vector3; protected raycast_intersectionPoint: Vector3; protected raycast_intersectionPointWorld: Vector3; protected uvIntersection(point: any, p1: any, p2: any, p3: any, uv1: any, uv2: any, uv3: any): void; protected checkIntersection(object: any, raycaster: any, ray: any, pA: any, pB: any, pC: any, point: any): any; protected checkBufferGeometryIntersection(object: any, raycaster: any, ray: any, positions: any, uvs: any, a: any, b: any, c: any): any; raycast(raycaster: Raycaster, intersects: Array): void; clone(): any; dispose(): void; } } declare module "foundation/runtime/graphics/actor/MeshActor" { import { Actor } from "foundation/runtime/graphics/core/Actor"; import { VertexGeometry } from "foundation/runtime/graphics/core/VertexGeometry"; import { Material } from "foundation/runtime/graphics/material/Material"; export class MeshActor extends Actor { geometry: VertexGeometry; material: Material; constructor(geometry?: VertexGeometry, material?: Material); } } declare module "foundation/runtime/graphics/material/PointsMaterial" { import { Material } from "foundation/runtime/graphics/material/Material"; export class PointsMaterial extends Material { constructor(parameters?: any); copy(source: any): any; } } declare module "foundation/runtime/graphics/actor/Points" { import { Matrix4 } from 'foundation/runtime/math/Matrix4'; import { Sphere } from 'foundation/runtime/math/Sphere'; import { Ray } from 'foundation/runtime/geometry/Ray'; import { Actor } from "foundation/runtime/graphics/core/Actor"; import { Raycaster } from "foundation/runtime/graphics/core/Raycaster"; export class Points extends Actor { geometry: any; material: any; protected raycast_inverseMatrix: Matrix4; protected raycast_ray: Ray; protected raycast_sphere: Sphere; constructor(geometry?: any, material?: any); raycast(raycaster: Raycaster, intersects: Array): void; clone(): any; } } declare module "foundation/runtime/graphics/actor/PointsActor" { import { Actor } from "foundation/runtime/graphics/core/Actor"; import { Material } from "foundation/runtime/graphics/material/Material"; import { Points } from "foundation/runtime/graphics/actor/Points"; export class PointsActor extends Actor { line: Points; material: Material; } } declare module "foundation/runtime/graphics/actor/SpriteActor" { export class SpriteActor { } } declare module "foundation/runtime/graphics/camera/CubeCamera" { import { Actor } from "foundation/runtime/graphics/core/Actor"; export class CubeCamera extends Actor { renderTarget: any; updateCubeMap: any; constructor(near: any, far: any, cubeResolution: any); } } declare module "foundation/runtime/graphics/camera/StereoCamera" { export class StereoCamera { typeName: any; aspect: any; cameraL: any; cameraR: any; constructor(); update(camera: any): void; } } declare module "foundation/runtime/graphics/camera/Viewport" { import { InstanceObject } from 'cross/runtime/lang/InstanceObject'; export class Viewport extends InstanceObject { left: number; top: number; width: number; height: number; set(left: number, top: number, width: number, height: number): void; } } declare module "foundation/runtime/graphics/collision/clipper/ClipTypeEnum" { export class ClipTypeEnum { static Union: string; static Diff: string; static Inter: string; static Xor: string; } } declare module "foundation/runtime/graphics/collision/clipper/EndTypeEnum" { export class EndTypeEnum { static OpenSquare: string; static OpenRound: string; static OpenButt: string; static ClosedLine: string; static ClosedPolygon: string; } } declare module "foundation/runtime/graphics/collision/clipper/JoinTypeEnum" { export class JoinTypeEnum { static Miter: string; static Square: string; static Round: string; } } declare module "foundation/runtime/graphics/collision/clipper/PolyFillTypeEnum" { export class PolyFillTypeEnum { static EvenOdd: string; static NonZero: string; static Positive: string; static Negative: string; } } declare module "foundation/runtime/graphics/collision/clipper/CollisionUtil" { import { Value2 } from 'foundation/runtime/math/Value2'; import { Vector2 } from 'foundation/runtime/math/Vector2'; import { ClipTypeEnum } from "foundation/runtime/graphics/collision/clipper/ClipTypeEnum"; import { EndTypeEnum } from "foundation/runtime/graphics/collision/clipper/EndTypeEnum"; import { JoinTypeEnum } from "foundation/runtime/graphics/collision/clipper/JoinTypeEnum"; import { PolyFillTypeEnum } from "foundation/runtime/graphics/collision/clipper/PolyFillTypeEnum"; export class CollisionOption { scale: number; closed: boolean; subject_fillType: PolyFillTypeEnum; clip_fillType: PolyFillTypeEnum; clipClosed: boolean; operation: ClipTypeEnum; overlap: number; overlapN: Vector2; overlapV: Vector2; miterLimit: number; arcTolerance: number; joinType: JoinTypeEnum; endType: EndTypeEnum; } export class CollisionUtil { protected static convertPolyFillType(typeCd: PolyFillTypeEnum): any; protected static convertClipType(typeCd: ClipTypeEnum): any; protected static convertJoinType(typeCd: JoinTypeEnum): any; protected static convertEndType(typeCd: EndTypeEnum): any; protected static convertInputData(data: Array>, scale?: number): Array>; protected static convertInputArray(data: Array, scale?: number): Array; protected static convertOutputArray(data: Array, scale?: number): Array; protected static convertOutputData(data: Array>, scale?: number): Array>; protected static aabbIntersectAdd(rect: any, margin: number): any; static aabbIntersect(rect1: any, rect2: any, margin?: number): boolean; static outlineIntersect(polygon1: Array, polygon2: Array, options?: CollisionOption): boolean; static simplifyPolygons(data: Array, scale?: number): Array>; static cleanPolygon(path: Array, distance: number): Array; static clipPolygon(data1: Array>, data2: Array>, operationCd: ClipTypeEnum, options?: CollisionOption): Array>; static clipPolygonTree(data1: Array>, data2: Array>, operationCd: ClipTypeEnum, options?: CollisionOption): Array>; static clipPolygonTrees(data1: Array>, data2s: Array>>, operationCd: ClipTypeEnum, options?: CollisionOption): Array>; static offsetPolygon(data: Array>, scale: number, options?: CollisionOption): Array; static offsetPolygonPrecision(data: Array>, scale: number): any; static orientation(data: any): any; } } declare module "foundation/runtime/graphics/collision/CollisionUtil" { import { Box3 } from 'foundation/runtime/math/Box3'; import { Matrix3d } from 'foundation/runtime/math/Matrix3d'; import { VertexGeometry } from "foundation/runtime/graphics/core/VertexGeometry"; export class CollisionUtil { static vertexHitTest(a: VertexGeometry, b: VertexGeometry): boolean; static boxHitTest(a: Box3, b: Box3): boolean; static boxHitIntersect(a: Box3, b: Box3): Box3; static boxSphereHitTest(a: Box3, b: Box3): boolean; static boxRotationHitTest(ra: Box3, rb: Box3, am: Matrix3d, bm: Matrix3d): boolean; } } declare module "foundation/runtime/graphics/collision/CollisionUtility" { import { Matrix4 } from 'foundation/runtime/math/Matrix4'; import { BoxSolid } from 'foundation/runtime/geometry/solid/BoxSolid'; import { SphereSolid } from 'foundation/runtime/geometry/solid/SphereSolid'; import { Geometric } from 'foundation/runtime/geometry/Geometric'; import { BufferGeometry } from "foundation/runtime/graphics/data/BufferGeometry"; export class CollisionUtility { static geometricEntityIntersect(entityA: BufferGeometry, entityB: BufferGeometry, matrixA: Matrix4, matrixB: Matrix4): boolean; static sphereHitTest(a: SphereSolid, b: SphereSolid, tolerance?: number): boolean; static boxRotationHitTest(ra: BoxSolid, rb: BoxSolid, am?: Matrix4, bm?: Matrix4, tolerance?: number): boolean; static vertexHitTest(a: BufferGeometry, b: BufferGeometry, am?: Matrix4, bm?: Matrix4, tolerance?: number): boolean; static geometricHitTest(a: Geometric, b: Geometric, tolerance?: number): boolean; static contactTest(a: BufferGeometry, b: BufferGeometry, am?: Matrix4, bm?: Matrix4, tolerance?: number): boolean; private static saveobj; } } declare module "foundation/runtime/graphics/collision/CSGUtility" { import { CSG } from 'foundation/runtime/math/csg/meshes/csg'; import { Matrix4 } from 'foundation/runtime/math/Matrix4'; import { BufferGeometry } from "foundation/runtime/graphics/data/BufferGeometry"; export class CSGUtility { static geometryToCsg(g: BufferGeometry, name: string, am?: Matrix4): CSG; static geometryFromCsg(csg: CSG): BufferGeometry; static intersection(a: BufferGeometry, b: BufferGeometry, am?: Matrix4, bm?: Matrix4): BufferGeometry; static union(a: BufferGeometry, b: BufferGeometry, am?: Matrix4, bm?: Matrix4): BufferGeometry; static subtraction(a: BufferGeometry, b: BufferGeometry, am?: Matrix4, bm?: Matrix4): BufferGeometry; } } declare module "foundation/runtime/graphics/core/Bone" { import { Actor } from "foundation/runtime/graphics/core/Actor"; export class Bone extends Actor { skin: any; constructor(skin: any); copy(source: any): any; } } declare module "foundation/runtime/graphics/core/Clock" { export class Clock { autoStart: boolean; startTime: number; oldTime: number; elapsedTime: number; running: boolean; constructor(autoStart: boolean); start(): void; stop(): void; getElapsedTime(): number; getDelta(): number; } } declare module "foundation/runtime/graphics/core/ColorTypeEnum" { export class ColorTypeEnum { static NoColors: number; static FaceColors: number; static VertexColors: number; } } declare module "foundation/runtime/graphics/core/CompressedFormatEnum" { export class CompressedFormatEnum { static RGB_S3TC_DXT1_Format: number; static RGBA_S3TC_DXT1_Format: number; static RGBA_S3TC_DXT3_Format: number; static RGBA_S3TC_DXT5_Format: number; static RGB_PVRTC_4BPPV1_Format: number; static RGB_PVRTC_2BPPV1_Format: number; static RGBA_PVRTC_4BPPV1_Format: number; static RGBA_PVRTC_2BPPV1_Format: number; static RGB_ETC1_Format: number; } } declare module "foundation/runtime/graphics/core/Context" { export class Context { } } declare module "foundation/runtime/graphics/core/CullFaceEnum" { export class CullFaceEnum { static CullFaceNone: number; static CullFaceBack: number; static CullFaceFront: number; static CullFaceFrontBack: number; } } declare module "foundation/runtime/graphics/core/DepthPackingEnum" { export class DepthPackingEnum { static BasicDepthPacking: number; static RGBADepthPacking: number; } } declare module "foundation/runtime/graphics/core/DirectGeometry" { import { Box3 } from 'foundation/runtime/math/Box3'; import { Sphere } from 'foundation/runtime/math/Sphere'; import { Component } from "foundation/runtime/graphics/core/Component"; export class DirectGeometry extends Component { indices: any; vertices: any; normals: any; colors: any; uvs: any; uvs2: any; groups: any; morphTargets: any; skinWeights: any; skinIndices: any; boundingBox: any; boundingSphere: any; verticesNeedUpdate: any; normalsNeedUpdate: any; colorsNeedUpdate: any; uvsNeedUpdate: any; groupsNeedUpdate: any; constructor(); computeBoundingBox(): Box3; computeBoundingSphere(): Sphere; computeFaceNormals(): void; computeVertexNormals(): void; computeGroups(geometry: any): void; fromGeometry(geometry: any): void; dispose(): void; } } declare module "foundation/runtime/graphics/core/Face4" { import { Vector3 } from 'foundation/runtime/math/Vector3'; import { Face } from "foundation/runtime/graphics/core/Face"; export class Face4 extends Face { constructor(index1: number, index2: number, index3: number, index4: number, normal?: Vector3, color?: number, materialIndex?: number); } } declare module "foundation/runtime/graphics/core/FaceUtil" { import { Face } from "foundation/runtime/graphics/core/Face"; export class FaceUtil extends Face { static append(faces: Array>, input: Array>, offset?: number): void; } } declare module "foundation/runtime/graphics/core/FaceV3" { import { Vector3 } from 'foundation/runtime/math/Vector3'; import { Face } from "foundation/runtime/graphics/core/Face"; export class FaceV3 extends Face { constructor(index1: number, index2: number, index3: number, normal?: Vector3, color?: number, materialIndex?: number); } } declare module "foundation/runtime/graphics/core/FillModeEnum" { export enum FillModeEnum { Unknown = 0, Points = 1, Lines = 2, Face = 3 } } declare module "foundation/runtime/graphics/core/Fog" { export class Fog { name: any; color: any; near: any; far: any; constructor(color: any, near: any, far: any); clone(): any; } } declare module "foundation/runtime/graphics/core/FogExp2" { import { Color } from 'foundation/runtime/math/Color'; export class FogExp2 { name: string; color: Color; density: number; constructor(color: any, density: number); clone(): any; } } declare module "foundation/runtime/graphics/core/FrontFaceEnum" { export class FrontFaceEnum { static FrontFaceDirectionCW: number; static FrontFaceDirectionCCW: number; } } declare module "foundation/runtime/graphics/core/GeometryUtil" { import { BufferGeometry } from "foundation/runtime/graphics/data/BufferGeometry"; import { Geometry } from "foundation/runtime/graphics/data/Geometry"; export class GeometryUtil { static updateBufferGeometry(bufferGeometry: BufferGeometry, geometry: Geometry): void; static updateBufferGeometryPosition(bufferGeometry: BufferGeometry, geometry: Geometry): void; } } declare module "foundation/runtime/graphics/core/Group" { import { Actor } from "foundation/runtime/graphics/core/Actor"; export class Group extends Actor { constructor(); } } declare module "foundation/runtime/graphics/core/ImmediateRenderObject" { export class ImmediateRenderObject { } } declare module "foundation/runtime/graphics/core/InstancedBufferAttribute" { import { BufferAttribute } from "foundation/runtime/graphics/data/BufferAttribute"; export class InstancedBufferAttribute extends BufferAttribute { meshPerAttribute: any; constructor(array: any, itemSize: any, meshPerAttribute: any); copy(source: any): any; } } declare module "foundation/runtime/graphics/core/InterleavedBufferAttribute" { export class InterleavedBufferAttribute { uuid: string; data: any; itemSize: number; offset: number; array: any; constructor(interleavedBuffer: any, itemSize: any, offset: any); get count(): number; setX(index: any, x: any): InterleavedBufferAttribute; setY(index: any, y: any): InterleavedBufferAttribute; setZ(index: any, z: any): InterleavedBufferAttribute; setW(index: any, w: any): InterleavedBufferAttribute; getX(index: any): InterleavedBufferAttribute; getY(index: any): InterleavedBufferAttribute; getZ(index: any): InterleavedBufferAttribute; getW(index: any): InterleavedBufferAttribute; setXY(index: any, x: any, y: any): any; setXYZ(index: any, x: any, y: any, z: any): any; setXYZW(index: any, x: any, y: any, z: any, w: any): any; } } declare module "foundation/runtime/graphics/core/InterpolantEndingModes" { export class InterpolantEndingModes { static ZeroCurvatureEnding: number; static ZeroSlopeEnding: number; static WrapAroundEnding: number; } } declare module "foundation/runtime/graphics/core/InterpolationEnum" { export class InterpolationEnum { static InterpolateDiscrete: number; static InterpolateLinear: number; static InterpolateSmooth: number; } } declare module "foundation/runtime/graphics/core/LoopStyleEnum" { export class LoopStyleEnum { static LoopOnce: number; static LoopRepeat: number; static LoopPingPong: number; } } declare module "foundation/runtime/graphics/core/SamplerFilterEnum" { export enum SamplerFilterEnum { Unknown = 0, Nearest = 1, Linear = 2, Repeat = 3, MirroredRepeat = 4, ClampToEdge = 5, ClampToBorder = 6 } } declare module "foundation/runtime/graphics/core/Scene" { import { Actor } from "foundation/runtime/graphics/core/Actor"; export class Scene extends Actor { skin: any; background: any; fog: any; overrideMaterial: any; autoUpdate: any; constructor(skin?: any); copy(source: any, recursive: any): any; } } declare module "foundation/runtime/graphics/core/ShadwingTypeEnum" { export class ShadwingTypeEnum { static BasicShadowMap: number; static PCFShadowMap: number; static PCFSoftShadowMap: number; } } declare module "foundation/runtime/graphics/core/ToneMappingModeEnum" { export class ToneMappingModeEnum { static NoToneMapping: number; static LinearToneMapping: number; static ReinhardToneMapping: number; static Uncharted2ToneMapping: number; static CineonToneMapping: number; } } declare module "foundation/runtime/graphics/data/Face" { import { Vector3 } from 'foundation/runtime/math/Vector3'; export class Face { geometryId: number; indexs: Array; coordIndexs: Array; normal: Vector3; normalIndexes: Array; binormalIndexes: Array; tangentsIndexes: Array; color: number; direction: Vector3; smooth: number; materialIndex: number; constructor(); } } declare module "foundation/runtime/graphics/data/Vertex" { import { Vector2 } from 'foundation/runtime/math/Vector2'; import { Vector3 } from 'foundation/runtime/math/Vector3'; export class Vertex { index: number; position: Vector3; normal: Vector3; binormal: Vector3; tangent: Vector3; color: number; coord1: Vector2; coord2: Vector2; static create(x: number, y: number, z: number): Vertex; } } declare module "foundation/runtime/graphics/data/Points" { import { Box3 } from 'foundation/runtime/math/Box3'; import { Matrix4 } from 'foundation/runtime/math/Matrix4'; import { Sphere } from 'foundation/runtime/math/Sphere'; import { Vector2 } from 'foundation/runtime/math/Vector2'; import { Vector3 } from 'foundation/runtime/math/Vector3'; import { Vector4 } from 'foundation/runtime/math/Vector4'; import { BufferComponent } from "foundation/runtime/graphics/data/BufferComponent"; import { Face } from "foundation/runtime/graphics/data/Face"; import { Vertex } from "foundation/runtime/graphics/data/Vertex"; export class Points extends BufferComponent { matrix: Matrix4; boundingBox: Box3; boundingSphere: Sphere; needUpdate: boolean; protected _vertices: Array; protected _positions: Array; protected _coords: Array>; protected _colors: Array; protected _normals: Array; protected _binormals: Array; protected _tangents: Array; protected _skinWeights: Array; protected _skinIndices: Array; protected _faces: Array; protected _faceIndexs: Array; protected _dirty: boolean; constructor(); get vertices(): Array; get positions(): Array; hasColor(): boolean; get colors(): Array; get coordsCount(): number; get coords(): Array>; syncCoord(layer?: number): Array; hasNormal(): boolean; get normals(): Array; get binormals(): Array; get tangents(): Array; get faces(): Array; get faceIndexs(): Array; pushFace(face: Face): void; testDirty(): boolean; computeBoundingBox(): Box3; computeBoundingSphere(): Sphere; updateData(precision?: number): void; update(flag?: boolean): void; merge(geometry: Points, faceOffset?: number, faceCount?: number): void; dirty(): void; reset(): void; computeFaceNormals(): void; } } declare module "foundation/runtime/graphics/shape/geometry/BoxBoundaryGeometry" { import { Vector3 } from 'foundation/runtime/math/Vector3'; import { BufferGeometry } from "foundation/runtime/graphics/data/BufferGeometry"; export class BoxBoundaryGeometryOptions { min: Vector3; max: Vector3; constructor(); } export class BoxBoundaryGeometry extends BufferGeometry { options: BoxBoundaryGeometryOptions; constructor(options?: BoxBoundaryGeometryOptions); build(): void; } } declare module "foundation/runtime/graphics/shape/ShapeUtil" { import { Value2 } from 'foundation/runtime/math/Value2'; import { Vector2 } from 'foundation/runtime/math/Vector2'; import { BufferGeometry } from "foundation/runtime/graphics/data/BufferGeometry"; export class ShapeUtil { static setClockwiseShape(outer: Array, holes?: Array>): void; static makeIndicesPoints(points: Array, indices: Array): Array; protected static b2p0(t: number, p: number): number; protected static b2p1(t: number, p: number): number; protected static b2p2(t: number, p: number): number; static b2(t: number, p0: number, p1: number, p2: number): number; protected static b3p0(t: number, p: number): number; protected static b3p1(t: number, p: number): number; protected static b3p2(t: number, p: number): number; protected static b3p3(t: number, p: number): number; static b3(t: number, p0: number, p1: number, p2: number, p3: number): number; protected static triangulateSnip(points: Array, u: number, v: number, w: number, n: number, verts: number[]): boolean; static triangulate(points: Array, indices?: boolean): Array; protected static point_in_segment_2D_colin(inSegPt1: any, inSegPt2: any, inOtherPt: any): any; protected static intersect_segments_2D(inSeg1Pt1: any, inSeg1Pt2: any, inSeg2Pt1: any, inSeg2Pt2: any, inExcludeAdjacentSegs: any): any; protected static isPointInsideAngle(inVertex: any, inLegFromPt: any, inLegToPt: any, inOtherPt: any): boolean; protected static isCutLineInsideAngles(shape: any, hole: any, inShapeIdx: any, inHoleIdx: any): boolean; protected static intersectsHoleEdge(holes: any, indepHoles: any, inShapePt: any, inHolePt: any): boolean; protected static intersectsShapeEdge(shape: any, inShapePt: any, inHolePt: any): boolean; protected static removeHoles(contour: any, holes: any): any; static triangulateShape(contour: Array, holes: Array>): Array; protected static makeRoundPoint(targets: Array, center: Vector2, startAngle: number, endAngle: number, corner: number, level: number): void; static roundPoints(x: number, y: number, width: number, height: number, corner: number, level: number): Array; protected static _unitBoxBoundary: BufferGeometry; protected static _unitCube: BufferGeometry; static unitBoxBoundary(): BufferGeometry; static unitCube(): BufferGeometry; } } declare module "foundation/runtime/graphics/shape/brep/Polygon" { import { IFreeable } from 'cross/runtime/lang/IFreeable'; import { InstanceObject } from 'cross/runtime/lang/InstanceObject'; import { Value2 } from 'foundation/runtime/math/Value2'; import { Vector2 } from 'foundation/runtime/math/Vector2'; export class PolygonOptions { pointConverter: Function; } export class Polygon extends InstanceObject implements IFreeable { options: PolygonOptions; positions: Array; holes: Array>; constructor(options?: PolygonOptions); isValid(): boolean; isPointIn(value: Value2): boolean; isPointOn(value: Value2): boolean; hasHole(): boolean; getAllPoints(targets?: Array): Array; protected pushPoint(positions: Array, point: Vector2): void; push(point: Vector2): Polygon; setFromPoints(points: Array): Polygon; extendOutLine(n: number): void; pushHole(hole: Array): void; addHoleFromPoints(hole: Array): void; addHolesFromPoints(holes: Array>): void; expand(length: number, target?: Polygon): Polygon; update(): void; reset(): Polygon; free(): void; dispose(): void; } } declare module "foundation/runtime/graphics/distancetest/DistanceTestUtil" { import { Point2 } from 'foundation/runtime/math/Point2'; import { Vector3 } from 'foundation/runtime/math/Vector3'; import { Triangle3 } from 'foundation/runtime/geometry/Triangle3'; export class TestInfo { collisionA: Vector3; collisionB: Vector3; optionCollision: boolean; } export class DistanceTestUtil { static isLineConcide(p1: Point2, p2: Point2, p3: Point2, p4: Point2, pts: any[]): boolean; static dotVector3(value1: Vector3, value2: Vector3): number; static segment3Line3(p1: Vector3, p2: Vector3, p3: Vector3, p4: Vector3): Vector3; static calPlaneLineIntersectPoint(planeVector: Vector3, planePoint: Vector3, lineVector: Vector3, linePoint: Vector3): Vector3; static triangleDistanceTriangleByDirection(triangleA: Triangle3, triangleB: Triangle3, direction: Vector3): TestInfo; } } declare module "foundation/runtime/graphics/distancetest/TestCase" { } declare module "foundation/runtime/graphics/enumeration/RemainderTypeEnum" { import { EnumerationObject } from 'cross/runtime/framework/base/EnumerationObject'; export class RemainderTypeEnum extends EnumerationObject { static Unknown: number; static ToAverage: number; static ToFront: number; static ToBack: number; static NothingToDO: number; private static _items; static get Items(): any; static tryEncode(name: string, defaultValue?: any): string; static encode(name: string): string; static tryDecode(value: string, defaultName?: string): string; static decode(value: string): string; static findLabel(value: any, defaultLabel?: string): string; static parseLabel(label: string, defaultValue?: any): string; } } declare module "foundation/runtime/graphics/enumeration/StepTypeEnum" { import { EnumerationObject } from 'cross/runtime/framework/base/EnumerationObject'; export class StepTypeEnum extends EnumerationObject { static Unknown: number; static isN: number; static AnyValue: number; private static _items; static get Items(): any; static tryEncode(name: string, defaultValue?: any): string; static encode(name: string): string; static tryDecode(value: string, defaultName?: string): string; static decode(value: string): string; static findLabel(value: any, defaultLabel?: string): string; static parseLabel(label: string, defaultValue?: any): string; } } declare module "foundation/runtime/graphics/GraphicsUtility" { export class GraphicsUtility { } } declare module "foundation/runtime/graphics/IndexSpace" { export class IndexSpace { static namespaces(): string[]; } } declare module "foundation/runtime/graphics/IProcessContext" { export interface IProcessContext { } } declare module "foundation/runtime/graphics/layout/layout1d/Arrangement1dUtil" { export type ArrangementComputeOption = { isRecordValueIndex?: boolean; }; export class Arrangement1dUtil { static arrangement(interval?: number, length?: number, offset?: number): Array; static arrangement1(interval?: number, length?: number, begin?: number, origin?: number, option?: ArrangementComputeOption): Array; private static arrangementCompute; static arrangementByLevel(interval?: number, length?: number, begin?: number, origin?: number, offsetLevel?: number): Array>; } } declare module "foundation/runtime/graphics/layout/layout2d/Arrangement2dUtil" { import { Vector2 } from 'foundation/runtime/math/Vector2'; export class Arrangement2dUtil { static arrangement(widthInterval?: number, depthInterval?: number, lengthWidth?: number, lengthDepth?: number, offsetWidth?: number, offsetDepth?: number): Array; static arrangement3(widthInterval?: number, depthInterval?: number, lengthWidth?: number, lengthDepth?: number, offsetWidth?: number, offsetDepth?: number, layoutBeginX?: number, layoutBeginY?: number): Array; static arrangementByLevel(widthInterval?: number, depthInterval?: number, lengthWidth?: number, lengthDepth?: number, offsetWidth?: number, offsetDepth?: number, layoutBeginX?: number, layoutBeginY?: number, level?: number): Array; static arrangement2(interval?: Vector2, length?: Vector2, offset?: Vector2): Array; } } declare module "foundation/runtime/graphics/layout/layout2d/Collision2dUtil" { import { Vector2 } from 'foundation/runtime/math/Vector2'; import { BufferGeometry } from "foundation/runtime/graphics/data/BufferGeometry"; export class Collision2dUtil { static profile(tile: Array, boundary: Array): boolean; static buffer(tile: BufferGeometry, boundary: Array): boolean; private static relationOfPointAndPolygon; private static relationOfPointAndConvex; private static polygonType; private static relationOfPointAndLine; } } declare module "foundation/runtime/graphics/molding/operation/OperationPlaneSlice" { import { Vector3 } from 'foundation/runtime/math/Vector3'; import { BufferGeometry } from "foundation/runtime/graphics/data/BufferGeometry"; export class OperationPlaneSlice { static geometry(bg_origin: BufferGeometry, planeNormal: Vector3, planePoint: Vector3): BufferGeometry; static geometry2(bg_origin: BufferGeometry, planeNormal: Vector3, planePoint: Vector3): { positive: BufferGeometry; negative: BufferGeometry; }; private static relatives; private static interPointofPlaneAndLine; private static createNormals; private static createBg; private static cloneBg; private static cloneArray; private static cleanBg; private static sliceTriangle; private static sliceTriangleUv; private static sliceTriangleNor; } } declare module "foundation/runtime/graphics/layout/layout2d/Tailoring2dUtil" { import { Vector2 } from 'foundation/runtime/math/Vector2'; import { BufferGeometry } from "foundation/runtime/graphics/data/BufferGeometry"; export class Tailoring2dUtil { static profile(tile: Array, boundary: Array): Array; static buffer(tile: BufferGeometry, boundary: Array, isClosed?: boolean): BufferGeometry; private static lineSlicePolygon; private static intersectionOfTwoLines; private static relationOfPointAndLine; private static boundingBox; private static v2Tov3; } } declare module "foundation/runtime/graphics/light/Light" { import { Actor } from "foundation/runtime/graphics/core/Actor"; export class Light extends Actor { code: string; color: any; intensity: any; groundColor: any; distance: any; angle: any; decay: any; penumbra: any; constructor(color: any, intensity: any); copy(source: any): any; } } declare module "foundation/runtime/graphics/light/AmbientLight" { import { Light } from "foundation/runtime/graphics/light/Light"; export class AmbientLight extends Light { constructor(color?: any, intensity?: any); } } declare module "foundation/runtime/graphics/light/DirectionalLight" { import { Actor } from "foundation/runtime/graphics/core/Actor"; import { Light } from "foundation/runtime/graphics/light/Light"; export class DirectionalLight extends Light { target: Actor; shadow: any; constructor(color?: any, intensity?: number); copy(source: any): any; } } declare module "foundation/runtime/graphics/light/LightShadow" { import { Matrix4 } from 'foundation/runtime/math/Matrix4'; import { Vector2 } from 'foundation/runtime/math/Vector2'; export class LightShadow { camera: any; bias: number; radius: number; mapSize: Vector2; map: any; matrix: Matrix4; constructor(camera: any); copy(source: any): any; clone(): any; } } declare module "foundation/runtime/graphics/light/DirectionalLightShadow" { import { LightShadow } from "foundation/runtime/graphics/light/LightShadow"; export class DirectionalLightShadow extends LightShadow { } } declare module "foundation/runtime/graphics/light/HemisphereLight" { import { Light } from "foundation/runtime/graphics/light/Light"; export class HemisphereLight extends Light { constructor(skyColor: any, groundColor: any, intensity: any); copy(source: any): any; } } declare module "foundation/runtime/graphics/light/PointLight" { import { Light } from "foundation/runtime/graphics/light/Light"; export class PointLight extends Light { shadow: any; constructor(color?: any, intensity?: any, distance?: any, decay?: any); copy(source: any): any; } } declare module "foundation/runtime/graphics/light/SpotLightShadow" { import { LightShadow } from "foundation/runtime/graphics/light/LightShadow"; export class SpotLightShadow extends LightShadow { constructor(); update(light: any): void; } } declare module "foundation/runtime/graphics/light/SpotLight" { import { Light } from "foundation/runtime/graphics/light/Light"; export class SpotLight extends Light { target: any; shadow: any; constructor(color: any, intensity: any, distance: any, angle: any, penumbra: any, decay: any); copy(source: any): any; } } declare module "foundation/runtime/graphics/material/LineDashedMaterial" { import { Material } from "foundation/runtime/graphics/material/Material"; export class LineDashedMaterial extends Material { linewidth: any; scale: any; dashSize: any; gapSize: any; constructor(parameters?: any); copy(source: any): any; } } declare module "foundation/runtime/graphics/material/MeshDepthMaterial" { import { Material } from "foundation/runtime/graphics/material/Material"; export class MeshDepthMaterial extends Material { constructor(parameters?: any); copy(source: any): any; } } declare module "foundation/runtime/graphics/material/MeshLambertMaterial" { import { Material } from "foundation/runtime/graphics/material/Material"; export class MeshLambertMaterial extends Material { lightMapIntensity: any; wireframeLinecap: any; wireframeLinejoin: any; constructor(parameters?: any); copy(source: any): any; } } declare module "foundation/runtime/graphics/material/MeshPhongMaterial" { import { Material } from "foundation/runtime/graphics/material/Material"; export class MeshPhongMaterial extends Material { lightMapIntensity: any; wireframeLinecap: any; wireframeLinejoin: any; constructor(parameters?: any); copy(source: any): any; dirty(): void; } } declare module "foundation/runtime/graphics/material/MeshStandardMaterial" { import { Material } from "foundation/runtime/graphics/material/Material"; export class MeshStandardMaterial extends Material { defines: any; lightMapIntensity: any; envMapIntensity: any; wireframeLinecap: any; wireframeLinejoin: any; constructor(parameters?: any); copy(source: any): any; } } declare module "foundation/runtime/graphics/molding/curve/CurveConfigUtil" { export class CurveConfigUtilMinSegments { static minSegmentsLine: number; static minSegmentsCircle: number; static minSegmentsEllipse: number; static minSegmentsCircleArc: number; static minSegmentsEllipseArc: number; static minSegmentsBezier: number; static minSegmentsBSpline: number; static minSegmentsNurbs: number; static defaultSegmentsLine: number; static defaultSegmentsCircle: number; static defaultSegmentsEllipse: number; static defaultSegmentsCircleArc: number; static defaultSegmentsEllipseArc: number; static defaultSegmentsBezier: number; static defaultSegmentsBSpline: number; static defaultSegmentsNurbs: number; } } declare module "foundation/runtime/graphics/molding/curve/curve3d/BezierUtil3D" { import { Vector3 } from 'foundation/runtime/math/Vector3'; export class BezierUtil3D { static toPointsBySegment(controls: Array, segment?: number): Array; static toTangentBySegment(controls: Array, segment?: number): Array; private static toPointsByLength; } } declare module "foundation/runtime/graphics/molding/curve/curve2d/BezierUtil2D" { import { Vector3 } from 'foundation/runtime/math/Vector3'; export class BezierUtil2D { static toPointsBySegment(controls: Array, segment?: number): Array; static toTangentBySegment(controls: Array, segment?: number): Array; private static toPointsByLength; } } declare module "foundation/runtime/graphics/molding/curve/curve3d/BSplineUtil3D" { import { Vector3 } from 'foundation/runtime/math/Vector3'; export class BSplineUtil3D { static toPointsBySegment(controls: Array, knots: Array, segment?: number): Array; static toTangentBySegment(controls: Array, knots: Array, segment?: number): Array; private static toPointsByLength; } } declare module "foundation/runtime/graphics/molding/curve/curve2d/BSplineUtil2D" { import { Vector3 } from 'foundation/runtime/math/Vector3'; export class BSplineUtil2D { static toPointsBySegment(controls: Array, knots: Array, segment?: number): Array; static toTangentBySegment(controls: Array, knots: Array, segment?: number): Array; private static toPointsByLength; } } declare module "foundation/runtime/graphics/molding/curve/curve3d/CircleArcUtil3D" { import { Vector3 } from 'foundation/runtime/math/Vector3'; export class CircleArcUtil3D { static toPointsBySegment(center: Vector3, begin: Vector3, radian: number, isPositive?: boolean, normal?: Vector3, segment?: number): Array; static toTangentBySegment(center: Vector3, begin: Vector3, radian: number, isPositive?: boolean, normal?: Vector3, segment?: number): Array; private static toPointsByLength; } } declare module "foundation/runtime/graphics/molding/curve/curve2d/CircleArcUtil2D" { import { Vector3 } from 'foundation/runtime/math/Vector3'; export class CircleArcUtil2D { static toPointsBySegment(center: Vector3, begin: Vector3, radian: number, isPositive?: boolean, segment?: number): Array; static toTangentBySegment(center: Vector3, begin: Vector3, radian: number, isPositive?: boolean, segment?: number): Array; private static toPointsByLength; } } declare module "foundation/runtime/graphics/molding/curve/curve3d/CircleUtil3D" { import { Vector3 } from 'foundation/runtime/math/Vector3'; export class CircleUtil3D { static toPointsBySegment(center: Vector3, begin: Vector3, normal?: Vector3, segment?: number): Array; static toTangentBySegment(center: Vector3, begin: Vector3, normal?: Vector3, segment?: number): Array; private static toPointsByLength; } } declare module "foundation/runtime/graphics/molding/curve/curve2d/CircleUtil2D" { import { Vector3 } from 'foundation/runtime/math/Vector3'; export class CircleUtil2D { static toPointsBySegment(center: Vector3, begin: Vector3, segment?: number): Array; static toTangentBySegment(center: Vector3, begin: Vector3, segment?: number): Array; private static toPointsByLength; } } declare module "foundation/runtime/graphics/molding/curve/curve3d/EllipseArcUtil3D" { import { Vector3 } from 'foundation/runtime/math/Vector3'; export class EllipseArcUtil3D { static toPointsBySegment(center: Vector3, begin: Vector3, axisRatio: number, angleBegin: number, radian: number, isPositive: boolean, normal: Vector3, segment?: number): Array; static toTangentBySegment(center: Vector3, begin: Vector3, axisRatio: number, angleBegin: number, radian: number, isPositive: boolean, normal: Vector3, segment?: number): Array; private static toPointsByLength; } } declare module "foundation/runtime/graphics/molding/curve/curve2d/EllipseArcUtil2D" { import { Vector3 } from 'foundation/runtime/math/Vector3'; export class EllipseArcUtil2D { static toPointsBySegment(center: Vector3, begin: Vector3, axisRatio: number, angleBegin: number, radian: number, isPositive: boolean, segment?: number): Array; static toTangentBySegment(center: Vector3, begin: Vector3, axisRatio: number, angleBegin: number, radian: number, isPositive: boolean, segment?: number): Array; private static toPointsByLength; } } declare module "foundation/runtime/graphics/molding/curve/curve3d/EllipseUtil3D" { import { Vector3 } from 'foundation/runtime/math/Vector3'; export class EllipseUtil3D { static toPointsBySegment(center: Vector3, begin: Vector3, axisRatio: number, normal: Vector3, segment?: number): Array; static toTangentBySegment(center: Vector3, begin: Vector3, axisRatio: number, normal: Vector3, segment?: number): Array; private static toPointsByLength; } } declare module "foundation/runtime/graphics/molding/curve/curve2d/EllipseUtil2D" { import { Vector3 } from 'foundation/runtime/math/Vector3'; export class EllipseUtil2D { static toPointsBySegment(center: Vector3, begin: Vector3, axisRatio: number, segment?: number): Array; static toTangentBySegment(center: Vector3, begin: Vector3, axisRatio: number, segment?: number): Array; private static toPointsByLength; } } declare module "foundation/runtime/graphics/molding/curve/curve3d/LineUtil3D" { import { Vector3 } from 'foundation/runtime/math/Vector3'; export class LineUtil3D { static toPointsBySegment(begin: Vector3, end: Vector3, segment?: number): Array; static toTangentBySegment(begin: Vector3, end: Vector3, segment?: number): Array; private static toPointsByLength; } } declare module "foundation/runtime/graphics/molding/curve/curve2d/LineUtil2D" { import { Vector3 } from 'foundation/runtime/math/Vector3'; export class LineUtil2D { static toPointsBySegment(begin: Vector3, end: Vector3, segment?: number): Array; static toTangentBySegment(begin: Vector3, end: Vector3, segment?: number): Array; private static toPointsByLength; } } declare module "foundation/runtime/graphics/molding/curve/curve3d/NurbsUtil3D" { import { Vector3 } from 'foundation/runtime/math/Vector3'; export class NurbsUtil3D { static toPointsBySegment(controls: Array, knots: Array, weights: Array, segment?: number): Array; static toTangentBySegment(controls: Array, knots: Array, weights: Array, segment?: number): Array; private static toPointsByLength; } } declare module "foundation/runtime/graphics/molding/curve/curve2d/NurbsUtil2D" { import { Vector3 } from 'foundation/runtime/math/Vector3'; export class NurbsUtil2D { static toPointsBySegment(controls: Array, knots: Array, weights: Array, segment?: number): Array; static toTangentBySegment(controls: Array, knots: Array, weights: Array, segment?: number): Array; private static toPointsByLength; } } declare module "foundation/runtime/graphics/molding/CurveMoldingUtil" { import { Vector3 } from 'foundation/runtime/math/Vector3'; import { BezierCurve2d } from 'foundation/runtime/geometry/curve2d/BezierCurve2d'; import { CircleArcCurve2d } from 'foundation/runtime/geometry/curve2d/CircleArcCurve2d'; import { CircleCurve2d } from 'foundation/runtime/geometry/curve2d/CircleCurve2d'; import { EllipseArcCurve2d } from 'foundation/runtime/geometry/curve2d/EllipseArcCurve2d'; import { EllipseCurve2d } from 'foundation/runtime/geometry/curve2d/EllipseCurve2d'; import { LineCurve2d } from 'foundation/runtime/geometry/curve2d/LineCurve2d'; import { NurbsCurve2d } from 'foundation/runtime/geometry/curve2d/NurbsCurve2d'; import { BezierCurve3d } from 'foundation/runtime/geometry/curve3d/BezierCurve3d'; import { CircleArcCurve3d } from 'foundation/runtime/geometry/curve3d/CircleArcCurve3d'; import { CircleCurve3d } from 'foundation/runtime/geometry/curve3d/CircleCurve3d'; import { EllipseArcCurve3d } from 'foundation/runtime/geometry/curve3d/EllipseArcCurve3d'; import { EllipseCurve3d } from 'foundation/runtime/geometry/curve3d/EllipseCurve3d'; import { LineCurve3d } from 'foundation/runtime/geometry/curve3d/LineCurve3d'; import { NurbsCurve3d } from 'foundation/runtime/geometry/curve3d/NurbsCurve3d'; import { Curve } from 'foundation/runtime/geometry/Geometric'; import { BufferGeometry } from "foundation/runtime/graphics/data/BufferGeometry"; export class DimensionOption { private _level; defineMin: number; defineMax: number; min: number; max: number; loop: boolean; clone(): DimensionOption; get level(): number; set level(value: number); get segment(): number; get difference(): number; static getSegment(level: number): number; static getDifference(level: number): number; get define(): number; } export class CurveOption { u: DimensionOption; tolerance: number; clone(): CurveOption; } export class CurveMoldingUtil { static compute(curve: Curve, op?: CurveOption): BufferGeometry; static subdivide(curve: Curve, op?: CurveOption): Array; private static option; private static bezier; private static nurbs; private static line; private static ellipseArc; private static ellipse; private static circleArc; private static circle; static bezierOption(curve: BezierCurve3d | BezierCurve2d, op?: CurveOption): CurveOption; static nurbsOption(curve: NurbsCurve3d | NurbsCurve2d, op?: CurveOption): CurveOption; static lineOption(curve: LineCurve3d | LineCurve2d, op?: CurveOption): CurveOption; static circleOption(curve: CircleCurve3d | CircleCurve2d, op?: CurveOption): CurveOption; static ellipsoidOption(curve: EllipseCurve3d | EllipseCurve2d, op?: CurveOption): CurveOption; static circleArcOption(curve: CircleArcCurve3d | CircleArcCurve2d, op?: CurveOption): CurveOption; static ellipsoidArcOption(curve: EllipseArcCurve3d | EllipseArcCurve2d, op?: CurveOption): CurveOption; private static curve; private static sub; private static line3d; private static lines; static slice(op: CurveOption): { us: Array; cols: number; colStep: number; }; private static createBgLines; private static createBg; } } declare module "foundation/runtime/graphics/molding/curve/PathUtil" { import { Matrix4 } from 'foundation/runtime/math/Matrix4'; import { Vector3 } from 'foundation/runtime/math/Vector3'; import { Curve } from 'foundation/runtime/geometry/Geometric'; export class PathUtil { static toPointsByAverageTangent(curve: Curve, tangentDelta: number): Array; static toPointsBySegment(path: Curve, segments?: Array): Array; static toTangentBySegment(path: Curve, segments?: Array): Array; static tolerpMBySegment(path: Curve, segments?: Array): Array; static toPointsBySegmentStructure(path: Curve, segments?: Array): Array>; static toTangentBySegmentStructure(path: Curve, segments?: Array): Array>; static toLerpMBySegmentStructure(path: Curve, segments?: Array): Array>; static toCurvesBySegmentStructure(path: Curve): Array; private static curvesToMatrixs; private static curvesToTangents; static curvesToPoints(curves: Array, segments?: Array): Array>; static curveToCurves(curve: Curve, curves?: Array): Array; } } declare module "foundation/runtime/graphics/molding/curve/curve2d/PathUtil2D" { import { Vector3 } from 'foundation/runtime/math/Vector3'; import { PathCurve2d } from 'foundation/runtime/geometry/curve2d/PathCurve2d'; export class PathUtil2D { static toPointsBySegment(path: PathCurve2d, segments?: Array): Array; static toTangentBySegment(path: PathCurve2d, segments?: Array): Array; } } declare module "foundation/runtime/graphics/molding/curve/curve3d/PolygonUtil3D" { import { Vector3 } from 'foundation/runtime/math/Vector3'; export class PolygonUtil3D { static toPointsBySegment(points: Array, segment?: number): Array; static toTangentBySegment(points: Array, segment?: number): Array; private static toPointsByLength; } } declare module "foundation/runtime/graphics/molding/curve/curve2d/PolygonUtil2D" { import { Vector2 } from 'foundation/runtime/math/Vector2'; import { Vector3 } from 'foundation/runtime/math/Vector3'; export class PolygonUtil2D { static toPointsBySegment(points: Array, segment?: number): Array; static toTangentBySegment(points: Array, segment?: number): Array; static expandPolygon(points: Array, dis: number, out?: Array): Array; static shrinkPolygon(points: Array, dis: number, out?: Array): Array; private static changePolyon; static isClosewise(points: Vector2[]): boolean; private static toPointsByLength; static chokingOutline(outline: Array, choking: number): Array; } } declare module "foundation/runtime/graphics/molding/curve/curve3d/PolylineUtil3D" { import { Vector3 } from 'foundation/runtime/math/Vector3'; export class PolylineUtil3D { static toPointsBySegment(points: Array, segment?: number): Array; static toTangentBySegment(points: Array, segment?: number): Array; private static toPointsByLength; } } declare module "foundation/runtime/graphics/molding/curve/curve2d/PolylineUtil2D" { import { Vector3 } from 'foundation/runtime/math/Vector3'; export class PolylineUtil2D { static toPointsBySegment(points: Array, segment?: number): Array; static toTangentBySegment(points: Array, segment?: number): Array; private static toPointsByLength; } } declare module "foundation/runtime/graphics/molding/curve/curve3d/PathUtil3D" { import { Vector3 } from 'foundation/runtime/math/Vector3'; import { PathCurve3d } from 'foundation/runtime/geometry/curve3d/PathCurve3d'; export class PathUtil3D { static toPointsBySegment(path: PathCurve3d, segments?: Array): Array; static toTangentBySegment(path: PathCurve3d, segments?: Array): Array; } } declare module "foundation/runtime/graphics/molding/MathMoldingUtil" { import { Color } from 'foundation/runtime/math/Color'; import { Matrix4 } from 'foundation/runtime/math/Matrix4'; import { Vector3 } from 'foundation/runtime/math/Vector3'; import { BufferGeometry } from "foundation/runtime/graphics/data/BufferGeometry"; import { Lines } from "foundation/runtime/graphics/data/Lines"; export class MathMoldingUtil { static colorGradual(g: BufferGeometry | Lines, star: Vector3, end: Vector3, startC: Vector3, endC: Vector3): void; static colorGeometryFlat(g: BufferGeometry | Lines, color: Color): void; static globalToLocal(matrix: Matrix4, origin?: Vector3, xAxis?: Vector3, yAxis?: Vector3, zAxis?: Vector3): void; static localToGlobal(matrix: Matrix4, origin?: Vector3, xAxis?: Vector3, yAxis?: Vector3, zAxis?: Vector3): void; static applyMatrix(buffer: BufferGeometry, matrix: Matrix4): void; private static coordinateTransform; } } declare module "foundation/runtime/graphics/molding/ObjMoldingUtil" { import { Vector3 } from 'foundation/runtime/math/Vector3'; import { BufferGeometry } from "foundation/runtime/graphics/data/BufferGeometry"; export class ObjTexture { type: string; file: string; } export class ObjMarterial { name: string; ka: Vector3; kd: Vector3; ks: Vector3; ns: number; ni: number; d: number; illum: number; textures: Array; } export class ObjMolde { buffer: BufferGeometry; marterial: ObjMarterial; } export class ObjMoldingUtil { static bufferGeometryToObj(buffer: BufferGeometry, name?: string): string; static bufferGeometryToObj2(buffer: BufferGeometry, name?: string): string; static paserObj(obj: string, mtllibs?: Array, isSmooth?: boolean): Array; static paserMtllib(mtl: string): Array; static bufferAndMarterial(moldes: Array, marterials: Array): void; private static createBg; private static createNormals; } } declare module "foundation/runtime/graphics/projective/AxialExtremumPoint" { import { Vector3 } from 'foundation/runtime/math/Vector3'; export class AxialExtremumPoint { private _xAxialExtrem; private _yAxialExtrem; constructor(); concat(a: AxialExtremumPoint): void; get xAxialExtrem(): Array; get yAxialExtrem(): Array; get xAxialMax(): Vector3; get xAxialMin(): Vector3; get yAxialMax(): Vector3; get yAxialMin(): Vector3; } } declare module "foundation/runtime/graphics/projective/GeometricProjectiveUtil" { import { Matrix4 } from 'foundation/runtime/math/Matrix4'; import { Curve, Geometric } from 'foundation/runtime/geometry/Geometric'; import { AxialExtremumPoint } from "foundation/runtime/graphics/projective/AxialExtremumPoint"; export class GeometricProjectiveUtil { static projectiveExtremum(g: Geometric, world?: Matrix4, proj?: Matrix4): AxialExtremumPoint; static projective(g: Geometric, world?: Matrix4, proj?: Matrix4): Array; static outline(g: Geometric, world?: Matrix4, proj?: Matrix4): Array; } } declare module "foundation/runtime/graphics/molding/OutlineMoldingUtil" { import { Geometric } from 'foundation/runtime/geometry/Geometric'; import { BufferGeometry } from "foundation/runtime/graphics/data/BufferGeometry"; import { Lines } from "foundation/runtime/graphics/data/Lines"; export class OutlineMoldingUtil { static compute(geometric: Geometric, segment?: number): BufferGeometry; static makeLines(geometrics: Array, color?: number, bcolor?: number, segment?: number): Lines; } } declare module "foundation/runtime/graphics/molding/path/PathSolidMoldingOptions" { import { Vector3 } from 'foundation/runtime/math/Vector3'; import { UVOptions } from 'foundation/runtime/geometry/UVOptions'; export class PathSolidMoldingOptions { normal: Vector3; sectionPoints: Array; sectionSegments: Array; pathPoints: Array; pathSegments: Array; beginAngle: number; endAngle: number; pathUVOptions: UVOptions; beginUVOptions: UVOptions; endUVOptions: UVOptions; isComputeUV: boolean; } } declare module "foundation/runtime/graphics/molding/path/PathSolidMoldingSurfaces" { import { Curve } from 'foundation/runtime/geometry/Geometric'; import { BufferGeometry } from "foundation/runtime/graphics/data/BufferGeometry"; export class PathSolidMoldingSurfaces { begin: BufferGeometry; end: BufferGeometry; surround: BufferGeometry; sides: Array; curves: Array; } } declare module "foundation/runtime/graphics/molding/surface/PlaneMoldingUtil" { import { Vector3 } from 'foundation/runtime/math/Vector3'; import { UVOptions } from 'foundation/runtime/geometry/UVOptions'; import { BufferGeometry } from "foundation/runtime/graphics/data/BufferGeometry"; export class PlaneMoldingUtil { static computePlane(points: Array, uvOptions?: UVOptions): BufferGeometry; private static clearPoints; private static polygonNormal; private static createConvex; private static createConcave; private static isConvex; static polygonUV(points: Array, normal: Vector3, uvoptions: UVOptions): Array; private static hasPointInTriangle; private static generateBufferGeometry; } } declare module "foundation/runtime/graphics/molding/path/PathSolidMoldingUtil" { import { Vector3 } from 'foundation/runtime/math/Vector3'; import { Curve2d } from 'foundation/runtime/geometry/Curve2d'; import { Curve } from 'foundation/runtime/geometry/Geometric'; import { BufferGeometry } from "foundation/runtime/graphics/data/BufferGeometry"; import { PathSolidMoldingOptions } from "foundation/runtime/graphics/molding/path/PathSolidMoldingOptions"; import { PathSolidMoldingSurfaces } from "foundation/runtime/graphics/molding/path/PathSolidMoldingSurfaces"; export class PathSolidMoldingUtil { static computeSolid(section: Curve2d, path: Curve, options?: PathSolidMoldingOptions): BufferGeometry; static computeSurfaces(section: Curve2d, path: Curve, options?: PathSolidMoldingOptions): PathSolidMoldingSurfaces; private static computeRigid; private static clipRigidSidePoints; private static extendBeginEnd; private static extendRigidPath; private static alignment; private static guideLine; private static beginEndNormals; private static computeSidePoints; private static computeSideNormals; private static computeBeginEndRingNormals; private static computeBeginEndRingPoints; private static createSideBgs; private static clipBeginEnd; private static sectionPlane; static computeSolid2d(section: Curve2d, path: Curve2d, options?: PathSolidMoldingOptions): BufferGeometry; static computeSurfaces2d(section: Curve2d, path: Curve2d, options?: PathSolidMoldingOptions): PathSolidMoldingSurfaces; private static computeRigidNew; private static computeSidePointsBySettingout; private static rotatePoints; private static clonePoints; private static createBg; private static createNormals; private static createNormals2; private static createNormals3; private static sectionRange; private static mergeBg; private static generateBg; private static pointToPlane; private static gridUVs; private static intersectionOfPointsAndPoints; private static intersectionOfTwoLines2; private static intersectionOfTwoLines; private static coplanar; private static colinear; static computeMultiSectionSurfaces(sections: Array, path: Curve, options?: PathSolidMoldingOptions): PathSolidMoldingSurfaces; static sampleSection(section: Curve2d, level: number): Array; private static computeMultiSectionRigid; private static computeMultiSectionSidePoints; } } declare module "foundation/runtime/graphics/molding/RustMoldingUtil" { export class RustMoldingUtil { } } declare module "foundation/runtime/graphics/molding/SatMoldingUtil" { import { TypeMap } from 'cross/runtime/lang/collection/TypeMap'; import { Matrix4 } from 'foundation/runtime/math/Matrix4'; import { Vector3 } from 'foundation/runtime/math/Vector3'; import { BrepLump, BrepShell, BrepFace, BrepLoop, BrepEdge, BrepCoedge, BrepVertice } from 'foundation/runtime/geometry/brep/Brep'; import { BrepBody } from 'foundation/runtime/geometry/brep/BrepBody'; import { EllipseCurve3d } from 'foundation/runtime/geometry/curve3d/EllipseCurve3d'; import { IntersectCurve3d } from 'foundation/runtime/geometry/curve3d/IntersectCurve3d'; import { NurbsCurve3d } from 'foundation/runtime/geometry/curve3d/NurbsCurve3d'; import { StraightCurve3d } from 'foundation/runtime/geometry/curve3d/StraightCurve3d'; import { EllipticCylinderSurface } from 'foundation/runtime/geometry/surface/EllipticCylinderSurface'; import { PlaneSurface } from 'foundation/runtime/geometry/surface/PlaneSurface'; class SatEnityData { lines: string[]; pointer: number; next: number; owner: number; data: any; geoPointer: number; items: string[]; private _type; set type(type: string); get type(): string; toString(): string; } export class SatMoldingUtil { protected static _matrixDataToSat: Matrix4; protected static _matrixSatToData: Matrix4; static read(url: string, callback: Function): void; static brepToSat(breps: Array): string; static paserBrep(enitys: Array, brepEnitys: TypeMap): void; static relationBrep(enitys: Array, brepEnitys: TypeMap): void; static paserBrepBody(brep: BrepBody, enity: SatEnityData, brepEnitys: TypeMap): void; static paserBrepLump(brep: BrepLump, enity: SatEnityData, brepEnitys: TypeMap): void; static paserBrepShell(brep: BrepShell, enity: SatEnityData, brepEnitys: TypeMap): void; static paserBrepFace(brep: BrepFace, enity: SatEnityData, brepEnitys: TypeMap): void; static paserBrepLoop(brep: BrepLoop, enity: SatEnityData, brepEnitys: TypeMap): void; static paserBrepCoedge(brep: BrepCoedge, enity: SatEnityData, brepEnitys: TypeMap): void; static paserBrepEdge(brep: BrepEdge, enity: SatEnityData, brepEnitys: TypeMap): void; static paserBrepVertice(brep: BrepVertice, enity: SatEnityData, brepEnitys: TypeMap): void; static paserVector3(brep: Vector3, enity: SatEnityData): void; static paserIntersectCurve3d(curve: IntersectCurve3d, enity: SatEnityData): void; static paserStraightCurve3d(curve: StraightCurve3d, enity: SatEnityData): void; static paserEllipseCurve3d(curve: EllipseCurve3d, enity: SatEnityData): void; static paserNurbsCurve3d(curve: NurbsCurve3d, enity: SatEnityData): void; static paserPlaneSurface(surface: PlaneSurface, enity: SatEnityData): void; static paserConeSurface(surface: EllipticCylinderSurface, enity: SatEnityData): void; static relationBrepBody(brep: BrepBody, enity: SatEnityData, enitys: TypeMap): void; static relationBrepLump(brep: BrepLump, enity: SatEnityData, enitys: TypeMap): void; static relationBrepShell(brep: BrepShell, enity: SatEnityData, enitys: TypeMap): void; static relationBrepFace(brep: BrepFace, enity: SatEnityData, enitys: TypeMap): void; static relationBrepLoop(brep: BrepLoop, enity: SatEnityData, enitys: TypeMap): void; static relationBrepCoedge(brep: BrepCoedge, enity: SatEnityData, enitys: TypeMap): void; static relationBrepEdge(brep: BrepEdge, enity: SatEnityData, enitys: TypeMap): void; static relationBrepVertex(brep: BrepVertice, enity: SatEnityData, enitys: TypeMap): void; static satToBrep(sat: string): Array; static paserEnity(enity: SatEnityData): void; static relationEnity(enity: SatEnityData, enitys: TypeMap): void; static paserSatBody(enity: SatEnityData): void; static relationSatBody(enity: SatEnityData, enitys: TypeMap): void; static paserSatLump(enity: SatEnityData): void; static relationSatLump(enity: SatEnityData, enitys: TypeMap): void; static paserSatShell(enity: SatEnityData): void; static relationSatShell(enity: SatEnityData, enitys: TypeMap): void; static paserSatFace(enity: SatEnityData): void; static relationSatFace(enity: SatEnityData, enitys: TypeMap): void; static shapeRebuildSatFace(enity: SatEnityData, enitys: TypeMap): void; static paserSatLoop(enity: SatEnityData): void; static relationSatLoop(enity: SatEnityData, enitys: TypeMap): void; static paserSatCoedge(enity: SatEnityData): void; static relationSatCoedge(enity: SatEnityData, enitys: TypeMap): void; static shapeRebuildCoedge(enity: SatEnityData, enitys: TypeMap): void; static paserSatEdge(enity: SatEnityData): void; static relationSatEdge(enity: SatEnityData, enitys: TypeMap): void; static shapeRebuildEdge(enity: SatEnityData, enitys: TypeMap): void; static paserSatVertex(enity: SatEnityData): void; static relationSatVertex(enity: SatEnityData, enitys: TypeMap): void; static paserSatPoint(enity: SatEnityData): void; static paserSatPcurve(enity: SatEnityData): void; static paserSatIntcurveCurve(enity: SatEnityData): void; static paserSatStraightCurve(enity: SatEnityData): void; static paserSatEllipseCurve(enity: SatEnityData): void; static paserSatSplineSurface(enity: SatEnityData): void; static paserSatPlaneSurface(enity: SatEnityData): void; static paserSatConeSurface(enity: SatEnityData): void; } } declare module "foundation/runtime/graphics/shape/PlaneEnum" { export class PlaneEnum { static XY: string; static XZ: string; static YZ: string; static XYEnum(): number; static XZEnum(): number; static YZEnum(): number; } } declare module "foundation/runtime/graphics/shape/PlaneUtil" { import { Value2 } from 'foundation/runtime/math/Value2'; import { Vector3 } from 'foundation/runtime/math/Vector3'; import { PlaneEnum } from "foundation/runtime/graphics/shape/PlaneEnum"; export class PlaneUtil { static getPoint(planeCd: PlaneEnum, point: Value2, height?: number): Vector3; static convert(point: Vector3, sourceCd: PlaneEnum, targetCd: PlaneEnum): Vector3; } } declare module "foundation/runtime/graphics/shape/geometry/PolygonGeometry" { import { Value2 } from 'foundation/runtime/math/Value2'; import { Value3 } from 'foundation/runtime/math/Value3'; import { Vector2 } from 'foundation/runtime/math/Vector2'; import { Vector3 } from 'foundation/runtime/math/Vector3'; import { GeometryOptions } from "foundation/runtime/graphics/core/VertexGeometry"; import { BufferAttribute } from "foundation/runtime/graphics/data/BufferAttribute"; import { BufferGeometry } from "foundation/runtime/graphics/data/BufferGeometry"; import { Polygon } from "foundation/runtime/graphics/shape/brep/Polygon"; import { PlaneEnum } from "foundation/runtime/graphics/shape/PlaneEnum"; export class PolygonGeometryOptions extends GeometryOptions { planeCd: PlaneEnum; lengthX: number; lengthY: number; lengthZ: number; height: number; color: number; coordX: number; coordY: number; coordWidth: number; coordHeight: number; coordRotation: number; flipX: boolean; flipY: boolean; flipXY: boolean; flipIndex: boolean; direction: Vector3; chamferLevel: number; chamferRadius: number; pointConverter: Function; step1: number; step: number; lightColor: number; middleColor: number; darkColor: number; optionNormal: boolean; fromShadow: boolean; toShadow: boolean; step2: number; constructor(); reset(): PolygonGeometryOptions; clone(): PolygonGeometryOptions; } export class PolygonGeometry extends BufferGeometry { options: PolygonGeometryOptions; protected _coordPoint: Vector2; protected _coordTarget: Vector2; constructor(options?: PolygonGeometryOptions); protected getPlanePoint(point: Value2, target?: Vector3): Vector3; getCoord2(point: Value2, target?: Vector2): Vector2; getCoord3(point: Value3, target?: Vector2): Vector2; protected pushIndexBuffer(indexBuffer: BufferAttribute, offset: number, facesData: Array, index: number, clockWise: boolean): void; setPoints(points: Array): void; setPoints3(points: Array): void; setPolygon(polygon: Polygon): void; setPolygon3(polygon: Polygon): PolygonGeometry; setPolygonBevel(polygon: Polygon): void; setPolygonBevel2(polygon: Polygon): void; protected getExtrudeCoord(width: number, height: number): Vector2; extrudePolygon(polygon: Polygon): void; dispose(): void; } export type PolygonGeometryMap = { [key: string]: PolygonGeometry; }; } declare module "foundation/runtime/graphics/shape/curve/ClipPolygon" { import { Polygon } from "foundation/runtime/graphics/shape/brep/Polygon"; export class ClipPolygon extends Polygon { expand(length: number): Polygon; } } declare module "foundation/runtime/graphics/shape/geometry/PolygonEdgeGeometry" { import { Value2 } from 'foundation/runtime/math/Value2'; import { Polygon } from "foundation/runtime/graphics/shape/brep/Polygon"; import { PolygonGeometry } from "foundation/runtime/graphics/shape/geometry/PolygonGeometry"; export class PolygonEdgeGeometry extends PolygonGeometry { edgeMode: boolean; pointConverter: Function; polygon: Polygon; constructor(); setEdgePolygon(polygon: Polygon): PolygonGeometry; updatePolygon(points?: Array): void; dispose(): void; } } declare module "foundation/runtime/graphics/molding/surface/ComplexHoleMoldingUtil" { import { Vector3 } from 'foundation/runtime/math/Vector3'; import { SectionSurface } from 'foundation/runtime/geometry/surface/SectionSurface'; import { BufferGeometry } from "foundation/runtime/graphics/data/BufferGeometry"; import { SurfaceOption } from "foundation/runtime/graphics/molding/SurfaceMoldingUtil"; export class Vertex { p: Vector3; index: number; } export class ComplexHoleMoldingUtil { static computePlane(outPoints: Array, holePointss?: Array>, op?: SurfaceOption): BufferGeometry; static nonHolesOutline(vs: Array, indexs: Array, tolerance?: number, lerpTolerance?: number): void; static holesOutline(vs: Array, holes: Array>, outs: Array>, graph: Array, tolerance?: number): void; static disOutline(out: Array, hole: Array, holes: Array>, tolerance?: number): boolean; static holeIntoOutline(out: SectionSurface, hole: SectionSurface, tolerance?: number): Array; private static polygonUV; } } declare module "foundation/runtime/graphics/molding/surface/SplineMoldingUtil" { import { Vector3 } from 'foundation/runtime/math/Vector3'; import { BufferGeometry } from "foundation/runtime/graphics/data/BufferGeometry"; export class SplineMoldingUtil { static bezierSurface(controls: Array>, segment?: number): BufferGeometry; static bSplineSurface(controls: Array>, u: Array, v: Array, segment?: number): BufferGeometry; static nurbsSurface(controls: Array>, u: Array, v: Array, weights: Array>, segment?: number): BufferGeometry; static bezierSurfaceSmooth(bgo: BufferGeometry, seg: number): BufferGeometry; private static bezierSurfaceCompute; private static bSplineSurfaceCompute; private static nurbsSurfaceCompute; private static bSplineBaseFunc; private static meshSubvisionPN; private static bezierTriangleData; private static bezierTriangleRank3; private static bezierTriangleIndices; private static isTriangle; private static angleBetweenTwoVectors; private static pointToPlane; private static generateBufferGeometry; private static mergeGeometry; private static generateBufferGeometryByPoints; private static generateGridUvs; static generateNormals(bg: BufferGeometry): BufferGeometry; } } declare module "foundation/runtime/graphics/molding/SurfaceMoldingUtil" { import { Vector2 } from 'foundation/runtime/math/Vector2'; import { Vector3 } from 'foundation/runtime/math/Vector3'; import { ComplexHoleSurface } from 'foundation/runtime/geometry/surface/ComplexHoleSurface'; import { ConeSurface } from 'foundation/runtime/geometry/surface/ConeSurface'; import { CylinderSurface } from 'foundation/runtime/geometry/surface/CylinderSurface'; import { EllipsoidSurface } from 'foundation/runtime/geometry/surface/EllipsoidSurface'; import { EllipticConeSurface } from 'foundation/runtime/geometry/surface/EllipticConeSurface'; import { EllipticCylinderSurface } from 'foundation/runtime/geometry/surface/EllipticCylinderSurface'; import { PortionSurface } from 'foundation/runtime/geometry/surface/PortionSurface'; import { RoundTableSurface } from 'foundation/runtime/geometry/surface/RoundTableSurface'; import { SectionSurface } from 'foundation/runtime/geometry/surface/SectionSurface'; import { SettingOut2dSurface } from 'foundation/runtime/geometry/surface/SettingOut2dSurface'; import { SphereSurface } from 'foundation/runtime/geometry/surface/SphereSurface'; import { StretchingSurface } from 'foundation/runtime/geometry/surface/StretchingSurface'; import { Sweeping2dSurface } from 'foundation/runtime/geometry/surface/Sweeping2dSurface'; import { Sweeping3dSurface } from 'foundation/runtime/geometry/surface/Sweeping3dSurface'; import { Curve } from 'foundation/runtime/geometry/Geometric'; import { Surface } from 'foundation/runtime/geometry/Surface'; import { UVOptions } from 'foundation/runtime/geometry/UVOptions'; import { PolygonGeometryOptions } from "foundation/runtime/graphics/shape/geometry/PolygonGeometry"; import { BufferGeometry } from "foundation/runtime/graphics/data/BufferGeometry"; import { DimensionOption } from "foundation/runtime/graphics/molding/CurveMoldingUtil"; export class SurfaceOption { u: DimensionOption; v: DimensionOption; tolerance: number; lerp_tolerance: number; uvOp: UVOptions; isComputeUV: boolean; isFloat64: boolean; isDarkEdge: boolean; darkEdgeOptions: PolygonGeometryOptions; isNormalize: boolean; clone(): SurfaceOption; } export class SurfaceMoldingUtil { static getSurfaceArea(surface: Surface, tolerance?: number): number; static compute(surface: Surface, op?: SurfaceOption): BufferGeometry; static option(surface: Surface, op?: SurfaceOption): SurfaceOption; private static plane; private static polygon; private static section3d; private static section; private static bezier; private static bSpline; private static nurbs; private static complexHole; static defaultOption(surface: Surface, op?: SurfaceOption): SurfaceOption; static sweeping3dOption(surface: Sweeping3dSurface, op?: SurfaceOption): SurfaceOption; static sweeping2dOption(surface: Sweeping2dSurface, op?: SurfaceOption): SurfaceOption; static stretchingOption(surface: StretchingSurface, op?: SurfaceOption): SurfaceOption; static settingOut2dOption(surface: SettingOut2dSurface, op?: SurfaceOption): SurfaceOption; static sphereOption(surface: SphereSurface, op?: SurfaceOption): SurfaceOption; static ellipsoidOption(surface: EllipsoidSurface, op?: SurfaceOption): SurfaceOption; static coneOption(surface: ConeSurface, op?: SurfaceOption): SurfaceOption; static cylinderOption(surface: CylinderSurface, op?: SurfaceOption): SurfaceOption; static ellipticCylinderOption(surface: EllipticCylinderSurface, op?: SurfaceOption): SurfaceOption; static ellipticConeOption(surface: EllipticConeSurface, op?: SurfaceOption): SurfaceOption; static roundTableOption(surface: RoundTableSurface, op?: SurfaceOption): SurfaceOption; static portion(surface: PortionSurface, op?: SurfaceOption, outSur?: Array, outComplex?: Array, outTangents?: Array, outPolyOutput?: Array, outOutlinneOutput?: Array, outSideSectionsOutput?: Array): BufferGeometry; static portionSphere(surface: PortionSurface, op?: SurfaceOption, outSur?: Array, outComplex?: Array, outTangents?: Array, outPolyOutput?: Array, outSectionsOutput?: Array): BufferGeometry; private static mapSphereCurvesToUV2d; private static splitSphereClosedCurve3d; private static splitCurve3d; private static isCurveSegmentInsideSphereClosedCurve3d; private static isPointInsideSphereClosedCurve3d; private static polygonIntersect; private static lineCurve3dXLineCurve3d; private static computeLineXLineInSpace; private static computeLineDirection; private static computePlaneXLine; private static computeNullSpaceVector4; private static revolution; private static settingOut3d; private static sweeping2d; private static sweeping3d; private static point; private static settingOutVectoring3d; private static sweepingVectoring3d; private static cross; private static curve; private static surface; private static triangles3d; private static triangles; static slice(op: SurfaceOption): { uvs: Array; rows: number; cols: number; rowStep: number; colStep: number; }; private static createBg; private static translateBg; private static rotateBg; static computeCurveSurfaceIntersections(curve: Curve, surface: Surface, onlyFirst?: boolean, tolerance?: number): Array; static computePolylineSurfaceIntersections(polyline: Array, bufferGeometryOfSurface: BufferGeometry, onlyFirst?: boolean, tolerance?: number): Array; static isPointOnTriangle(pt: Vector3, triangle: { ptA: Vector3; ptB: Vector3; ptC: Vector3; }): boolean; } } declare module "foundation/runtime/graphics/molding/solid/BoxMoldingUtil" { import { Color } from 'foundation/runtime/math/Color'; import { Vector3 } from 'foundation/runtime/math/Vector3'; import { BufferGeometry } from "foundation/runtime/graphics/data/BufferGeometry"; import { Lines } from "foundation/runtime/graphics/data/Lines"; import { SurfaceOption } from "foundation/runtime/graphics/molding/SurfaceMoldingUtil"; export class BoxSurfaces { xy: BufferGeometry; xyn: BufferGeometry; xz: BufferGeometry; xzn: BufferGeometry; yz: BufferGeometry; yzn: BufferGeometry; } export class BoxMoldingUtil { static computeSolidByMinMax(min: Vector3, max: Vector3, segments?: Vector3, op?: SurfaceOption): BufferGeometry; static computeSolidBySize(size: Vector3, center?: Vector3, segments?: Vector3, op?: SurfaceOption): BufferGeometry; static computeCornerIndicator(min: Vector3, max: Vector3, options: { useRelativeLength: boolean; lengths: Array; color: Color; }): BufferGeometry; static computeCornerIndicatorToLines(min: Vector3, max: Vector3, options: { useRelativeLength: boolean; lengths: Array; color: Color; }): Lines; static computeSurfacesByMinMax(min: Vector3, max: Vector3, segments?: Vector3): BoxSurfaces; static computeSurfacesBySize(size: Vector3, center?: Vector3, segments?: Vector3, op?: SurfaceOption): BoxSurfaces; private static generateBufferGeometry; private static generateLines; private static merge; private static translate; } } declare module "foundation/runtime/graphics/molding/solid/CylinderMoldingUtil" { import { BufferGeometry } from "foundation/runtime/graphics/data/BufferGeometry"; export class CylinderSurfaces { top: BufferGeometry; bottom: BufferGeometry; surround: BufferGeometry; } export class CylinderMoldingUtil { static computeCylinderSolid(height: number, radius: number, segmentCircle?: number, segmentHeight?: number): BufferGeometry; static computeRoundTableSolid(height: number, radiusBottom: number, radiusTop: number, segmentCircle?: number, segmentHeight?: number): BufferGeometry; static computeConeSolid(height: number, radiusBottom: number, segmentCircle?: number, segmentHeight?: number): BufferGeometry; static computeCylinderSurfaces(height: number, radius: number, segmentCircle?: number, segmentHeight?: number): CylinderSurfaces; static computeRoundTableSurfaces(height: number, radiusBottom: number, radiusTop: number, segmentCircle?: number, segmentHeight?: number): CylinderSurfaces; static computeConeSurfaces(height: number, radiusBottom: number, segmentCircle?: number, segmentHeight?: number): CylinderSurfaces; private static generateBufferGeometry; private static merge; private static plane; private static surround; } } declare module "foundation/runtime/graphics/molding/solid/SphereMoldingUtil" { import { Vector3 } from 'foundation/runtime/math/Vector3'; import { BoxSolid } from 'foundation/runtime/geometry/solid/BoxSolid'; import { UVOptions } from 'foundation/runtime/geometry/UVOptions'; import { BufferGeometry } from "foundation/runtime/graphics/data/BufferGeometry"; export class SphereMoldingUtil { static computeSphere(radius: number, center?: Vector3, segment?: number, uvoptions?: UVOptions): BufferGeometry; private static computeSphereByAngle; static computeEllipse(radius: Vector3, center?: Vector3, segment?: number): BufferGeometry; private static computeEllipseByAngle; static computeSphereByTwoPoints(point1: Vector3, point2: Vector3, segment?: number): BufferGeometry; static computeByOutsideBox(box: BoxSolid, segment?: number): BufferGeometry; static computeByInsideBox(box: BoxSolid, segment?: number): BufferGeometry; private static generateBufferGeometry; } } declare module "foundation/runtime/graphics/molding/SolidMoldingUtil" { import { Solid } from 'foundation/runtime/geometry/Solid'; import { BufferGeometry } from "foundation/runtime/graphics/data/BufferGeometry"; import { SurfaceOption } from "foundation/runtime/graphics/molding/SurfaceMoldingUtil"; export class SolidMoldingUtil { static compute(solid: Solid, op?: SurfaceOption): BufferGeometry; private static box; private static sphere; private static ellipsoid; private static cone; private static cylinder; private static roundTable; private static stretching; private static revolution; private static sweeping2d; private static sweeping3d; private static settingOut2d; private static settingOut3d; private static point; private static complex; private static settingOutVectoring3d; private static sweepingVectoring3d; private static createBg; private static translateBg; } } declare module "foundation/runtime/graphics/molding/surface/PlaneSubtractUtil" { export class PlaneSubtractUtil { private static subtract; private static parseData; private static parseData2; private static sliceOnce; private static isPointOnTriangle; private static isPointOnPolygon; private static isPointOnSegment; private static interOfSegAndSeg; private static resetPlane; private static createBg; private static polygonUV; } } declare module "foundation/runtime/graphics/molding/surface/PointsMoldingUtil" { import { Vector3 } from 'foundation/runtime/math/Vector3'; import { BufferGeometry } from "foundation/runtime/graphics/data/BufferGeometry"; export class PointsMoldingUtil { static compute(outerPoints: Array, innerPoints: Array): BufferGeometry; private static getPolygon; private static insertPoint; private static createBg; private static isPointInTriangle; private static test; } } declare module "foundation/runtime/graphics/physics/Intersect2d" { import { Line2 } from 'foundation/runtime/math/Line2'; import { Vector2 } from 'foundation/runtime/math/Vector2'; export class Intersect2d { lines: Array; constructor(); pushLine(line: Line2): void; intersectLine(start: Vector2, end: Vector2): boolean; intersect(start: Vector2, end: Vector2): Array; intersectPoint(start: Vector2, end: Vector2): Vector2; } } declare module "foundation/runtime/graphics/polygonize/Polygonize" { import { Line2 } from 'foundation/runtime/math/Line2'; import { Polygon } from "foundation/runtime/graphics/shape/brep/Polygon"; class MPoint { id: number; x: number; y: number; } class Arc { id: string; points: MPoint[]; timesOfSearch: number; direction: number; } class PolyResult { resultArcs: Arc[]; points: MPoint[]; } export class PolygonUtils { static extractArcAndPts(lines: Array): PolyResult; static polygonize(lines: Array): Array; } } declare module "foundation/runtime/graphics/polygonize/TestCase" { } declare module "foundation/runtime/graphics/projective/curve2d/BezierCurve2dProjectiveUtil" { import { Matrix4 } from 'foundation/runtime/math/Matrix4'; import { BezierCurve2d } from 'foundation/runtime/geometry/curve2d/BezierCurve2d'; import { Curve } from 'foundation/runtime/geometry/Geometric'; import { AxialExtremumPoint } from "foundation/runtime/graphics/projective/AxialExtremumPoint"; export class BezierCurve2dProjectiveUtil { static projectiveExtremum(g: BezierCurve2d, world: Matrix4, proj: Matrix4): AxialExtremumPoint; static projective(g: BezierCurve2d, world: Matrix4, proj: Matrix4): Array; } } declare module "foundation/runtime/graphics/projective/curve2d/BSplineCurve2dProjectiveUtil" { import { Matrix4 } from 'foundation/runtime/math/Matrix4'; import { BSplineCurve2d } from 'foundation/runtime/geometry/curve2d/BSplineCurve2d'; import { Curve } from 'foundation/runtime/geometry/Geometric'; import { AxialExtremumPoint } from "foundation/runtime/graphics/projective/AxialExtremumPoint"; export class BSplineCurve2dProjectiveUtil { static projectiveExtremum(g: BSplineCurve2d, world: Matrix4, proj: Matrix4): AxialExtremumPoint; static projective(g: BSplineCurve2d, world: Matrix4, proj: Matrix4): Array; } } declare module "foundation/runtime/graphics/projective/curve2d/CircleArcCurve2dProjectiveUtil" { import { Matrix4 } from 'foundation/runtime/math/Matrix4'; import { CircleArcCurve2d } from 'foundation/runtime/geometry/curve2d/CircleArcCurve2d'; import { Curve } from 'foundation/runtime/geometry/Geometric'; import { AxialExtremumPoint } from "foundation/runtime/graphics/projective/AxialExtremumPoint"; export class CircleArcCurve2dProjectiveUtil { static projectiveExtremumCircleArc(g: CircleArcCurve2d, world: Matrix4, proj: Matrix4): AxialExtremumPoint; static projective(g: CircleArcCurve2d, world: Matrix4, proj: Matrix4): Array; } } declare module "foundation/runtime/graphics/projective/curve2d/CircleCurve2dProjectiveUtil" { import { Matrix4 } from 'foundation/runtime/math/Matrix4'; import { CircleCurve2d } from 'foundation/runtime/geometry/curve2d/CircleCurve2d'; import { Curve } from 'foundation/runtime/geometry/Geometric'; import { AxialExtremumPoint } from "foundation/runtime/graphics/projective/AxialExtremumPoint"; export class CircleCurve2dProjectiveUtil { static projectiveExtremum(g: CircleCurve2d, world: Matrix4, proj: Matrix4): AxialExtremumPoint; static projective(g: CircleCurve2d, world: Matrix4, proj: Matrix4): Array; } } declare module "foundation/runtime/graphics/projective/curve2d/EllipseArcCurve2dProjectiveUtil" { import { Matrix4 } from 'foundation/runtime/math/Matrix4'; import { EllipseArcCurve2d } from 'foundation/runtime/geometry/curve2d/EllipseArcCurve2d'; import { Curve2d } from 'foundation/runtime/geometry/Curve2d'; import { AxialExtremumPoint } from "foundation/runtime/graphics/projective/AxialExtremumPoint"; export class EllipseArcCurve2dProjectiveUtil { static projectiveExtremum(g: EllipseArcCurve2d, world: Matrix4, proj: Matrix4): AxialExtremumPoint; static projective(g: EllipseArcCurve2d, world: Matrix4, proj: Matrix4): Array; } } declare module "foundation/runtime/graphics/projective/curve2d/EllipseCurve2dProjectiveUtil" { import { Matrix4 } from 'foundation/runtime/math/Matrix4'; import { EllipseCurve2d } from 'foundation/runtime/geometry/curve2d/EllipseCurve2d'; import { Curve2d } from 'foundation/runtime/geometry/Curve2d'; import { AxialExtremumPoint } from "foundation/runtime/graphics/projective/AxialExtremumPoint"; export class EllipseCurve2dProjectiveUtil { static projectiveExtremum(g: EllipseCurve2d, world: Matrix4, proj: Matrix4): AxialExtremumPoint; static projective(g: EllipseCurve2d, world: Matrix4, proj: Matrix4): Array; } } declare module "foundation/runtime/graphics/projective/curve2d/LineCurve2dProjectiveUtil" { import { Matrix4 } from 'foundation/runtime/math/Matrix4'; import { LineCurve2d } from 'foundation/runtime/geometry/curve2d/LineCurve2d'; import { Curve2d } from 'foundation/runtime/geometry/Curve2d'; import { AxialExtremumPoint } from "foundation/runtime/graphics/projective/AxialExtremumPoint"; export class LineCurve2dProjectiveUtil { static projectiveExtremum(g: LineCurve2d, world: Matrix4, proj: Matrix4): AxialExtremumPoint; static projective(g: LineCurve2d, world: Matrix4, proj: Matrix4): Array; } } declare module "foundation/runtime/graphics/projective/curve2d/NurbsCurve2dProjectiveUtil" { import { Matrix4 } from 'foundation/runtime/math/Matrix4'; import { NurbsCurve2d } from 'foundation/runtime/geometry/curve2d/NurbsCurve2d'; import { Curve2d } from 'foundation/runtime/geometry/Curve2d'; import { AxialExtremumPoint } from "foundation/runtime/graphics/projective/AxialExtremumPoint"; export class NurbsCurve2dProjectiveUtil { static projectiveExtremum(g: NurbsCurve2d, world: Matrix4, proj: Matrix4): AxialExtremumPoint; static projective(g: NurbsCurve2d, world: Matrix4, proj: Matrix4): Array; } } declare module "foundation/runtime/graphics/projective/curve2d/PathCurve2dProjectiveUtil" { import { Matrix4 } from 'foundation/runtime/math/Matrix4'; import { PathCurve2d } from 'foundation/runtime/geometry/curve2d/PathCurve2d'; import { Curve2d } from 'foundation/runtime/geometry/Curve2d'; import { AxialExtremumPoint } from "foundation/runtime/graphics/projective/AxialExtremumPoint"; export class PathCurve2dProjectiveUtil { static projectiveExtremum(g: PathCurve2d, world: Matrix4, proj: Matrix4): AxialExtremumPoint; static projective(g: PathCurve2d, world: Matrix4, proj: Matrix4): Array; } } declare module "foundation/runtime/graphics/projective/curve2d/PolygonCurve2dProjectiveUtil" { import { Matrix4 } from 'foundation/runtime/math/Matrix4'; import { PolygonCurve2d } from 'foundation/runtime/geometry/curve2d/PolygonCurve2d'; import { Curve2d } from 'foundation/runtime/geometry/Curve2d'; import { AxialExtremumPoint } from "foundation/runtime/graphics/projective/AxialExtremumPoint"; export class PolygonCurve2dProjectiveUtil { static projectiveExtremum(g: PolygonCurve2d, world: Matrix4, proj: Matrix4): AxialExtremumPoint; static projective(g: PolygonCurve2d, world: Matrix4, proj: Matrix4): Array; } } declare module "foundation/runtime/graphics/projective/curve2d/PolylineCurve2dProjectiveUtil" { import { Matrix4 } from 'foundation/runtime/math/Matrix4'; import { PolylineCurve2d } from 'foundation/runtime/geometry/curve2d/PolylineCurve2d'; import { Curve2d } from 'foundation/runtime/geometry/Curve2d'; import { AxialExtremumPoint } from "foundation/runtime/graphics/projective/AxialExtremumPoint"; export class PolylineCurve2dProjectiveUtil { static projectiveExtremum(g: PolylineCurve2d, world: Matrix4, proj: Matrix4): AxialExtremumPoint; static projective(g: PolylineCurve2d, world: Matrix4, proj: Matrix4): Array; } } declare module "foundation/runtime/graphics/projective/Curve2dProjectiveUtil" { import { Matrix4 } from 'foundation/runtime/math/Matrix4'; import { Curve2d } from 'foundation/runtime/geometry/Curve2d'; import { Curve } from 'foundation/runtime/geometry/Geometric'; import { AxialExtremumPoint } from "foundation/runtime/graphics/projective/AxialExtremumPoint"; export class Curve2dProjectiveUtil { static projectiveExtremum(g: Curve2d, world: Matrix4, proj: Matrix4): AxialExtremumPoint; static projective(g: Curve2d, world: Matrix4, proj: Matrix4): Array; } } declare module "foundation/runtime/graphics/projective/curve3d/BezierCurve3dProjectiveUtil" { import { Matrix4 } from 'foundation/runtime/math/Matrix4'; import { BezierCurve3d } from 'foundation/runtime/geometry/curve3d/BezierCurve3d'; import { Curve2d } from 'foundation/runtime/geometry/Curve2d'; import { AxialExtremumPoint } from "foundation/runtime/graphics/projective/AxialExtremumPoint"; export class BezierCurve3dProjectiveUtil { static projectiveExtremum(g: BezierCurve3d, world: Matrix4, proj: Matrix4): AxialExtremumPoint; static projective(g: BezierCurve3d, world: Matrix4, proj: Matrix4): Array; } } declare module "foundation/runtime/graphics/projective/curve3d/BSplineCurve3dProjectiveUtil" { import { Matrix4 } from 'foundation/runtime/math/Matrix4'; import { BSplineCurve3d } from 'foundation/runtime/geometry/curve3d/BSplineCurve3d'; import { Curve2d } from 'foundation/runtime/geometry/Curve2d'; import { AxialExtremumPoint } from "foundation/runtime/graphics/projective/AxialExtremumPoint"; export class BSplineCurve3dProjectiveUtil { static projectiveExtremum(g: BSplineCurve3d, world: Matrix4, proj: Matrix4): AxialExtremumPoint; static projective(g: BSplineCurve3d, world: Matrix4, proj: Matrix4): Array; } } declare module "foundation/runtime/graphics/projective/curve3d/CircleArcCurve3dProjectiveUtil" { import { Matrix4 } from 'foundation/runtime/math/Matrix4'; import { CircleArcCurve3d } from 'foundation/runtime/geometry/curve3d/CircleArcCurve3d'; import { Curve2d } from 'foundation/runtime/geometry/Curve2d'; import { AxialExtremumPoint } from "foundation/runtime/graphics/projective/AxialExtremumPoint"; export class CircleArcCurve3dProjectiveUtil { static projectiveExtremum(g: CircleArcCurve3d, world: Matrix4, proj: Matrix4): AxialExtremumPoint; static projective(g: CircleArcCurve3d, world: Matrix4, proj: Matrix4): Array; } } declare module "foundation/runtime/graphics/projective/curve3d/CircleCurve3dProjectiveUtil" { import { Matrix4 } from 'foundation/runtime/math/Matrix4'; import { CircleCurve3d } from 'foundation/runtime/geometry/curve3d/CircleCurve3d'; import { Curve2d } from 'foundation/runtime/geometry/Curve2d'; import { AxialExtremumPoint } from "foundation/runtime/graphics/projective/AxialExtremumPoint"; export class CircleCurve3dProjectiveUtil { static projectiveExtremum(g: CircleCurve3d, world: Matrix4, proj: Matrix4): AxialExtremumPoint; static projective(g: CircleCurve3d, world: Matrix4, proj: Matrix4): Array; } } declare module "foundation/runtime/graphics/projective/curve3d/EllipseArcCurve3dProjectiveUtil" { import { Matrix4 } from 'foundation/runtime/math/Matrix4'; import { EllipseArcCurve3d } from 'foundation/runtime/geometry/curve3d/EllipseArcCurve3d'; import { Curve2d } from 'foundation/runtime/geometry/Curve2d'; import { AxialExtremumPoint } from "foundation/runtime/graphics/projective/AxialExtremumPoint"; export class EllipseArcCurve3dProjectiveUtil { static projectiveExtremum(g: EllipseArcCurve3d, world: Matrix4, proj: Matrix4): AxialExtremumPoint; static projective(g: EllipseArcCurve3d, world: Matrix4, proj: Matrix4): Array; } } declare module "foundation/runtime/graphics/projective/curve3d/EllipseCurve3dProjectiveUtil" { import { Matrix4 } from 'foundation/runtime/math/Matrix4'; import { EllipseCurve3d } from 'foundation/runtime/geometry/curve3d/EllipseCurve3d'; import { Curve2d } from 'foundation/runtime/geometry/Curve2d'; import { AxialExtremumPoint } from "foundation/runtime/graphics/projective/AxialExtremumPoint"; export class EllipseCurve3dProjectiveUtil { static projectiveExtremum(g: EllipseCurve3d, world: Matrix4, proj: Matrix4): AxialExtremumPoint; static projective(g: EllipseCurve3d, world: Matrix4, proj: Matrix4): Array; } } declare module "foundation/runtime/graphics/projective/curve3d/LineCurve3dProjectiveUtil" { import { Matrix4 } from 'foundation/runtime/math/Matrix4'; import { LineCurve3d } from 'foundation/runtime/geometry/curve3d/LineCurve3d'; import { Curve2d } from 'foundation/runtime/geometry/Curve2d'; import { AxialExtremumPoint } from "foundation/runtime/graphics/projective/AxialExtremumPoint"; export class LineCurve3dProjectiveUtil { static projectiveExtremum(g: LineCurve3d, world: Matrix4, proj: Matrix4): AxialExtremumPoint; static projective(g: LineCurve3d, world: Matrix4, proj: Matrix4): Array; } } declare module "foundation/runtime/graphics/projective/curve3d/NurbsCurve3dProjectiveUtil" { import { Matrix4 } from 'foundation/runtime/math/Matrix4'; import { NurbsCurve3d } from 'foundation/runtime/geometry/curve3d/NurbsCurve3d'; import { Curve2d } from 'foundation/runtime/geometry/Curve2d'; import { AxialExtremumPoint } from "foundation/runtime/graphics/projective/AxialExtremumPoint"; export class NurbsCurve3dProjectiveUtil { static projectiveExtremum(g: NurbsCurve3d, world: Matrix4, proj: Matrix4): AxialExtremumPoint; static projective(g: NurbsCurve3d, world: Matrix4, proj: Matrix4): Array; } } declare module "foundation/runtime/graphics/projective/curve3d/PolygonCurve3dProjectiveUtil" { import { Matrix4 } from 'foundation/runtime/math/Matrix4'; import { PolygonCurve3d } from 'foundation/runtime/geometry/curve3d/PolygonCurve3d'; import { Curve2d } from 'foundation/runtime/geometry/Curve2d'; import { AxialExtremumPoint } from "foundation/runtime/graphics/projective/AxialExtremumPoint"; export class PolygonCurve3dProjectiveUtil { static projectiveExtremum(g: PolygonCurve3d, world: Matrix4, proj: Matrix4): AxialExtremumPoint; static projective(g: PolygonCurve3d, world: Matrix4, proj: Matrix4): Array; } } declare module "foundation/runtime/graphics/projective/curve3d/PolylineCurve3dProjectiveUtil" { import { Matrix4 } from 'foundation/runtime/math/Matrix4'; import { PolylineCurve3d } from 'foundation/runtime/geometry/curve3d/PolylineCurve3d'; import { Curve2d } from 'foundation/runtime/geometry/Curve2d'; import { AxialExtremumPoint } from "foundation/runtime/graphics/projective/AxialExtremumPoint"; export class PolylineCurve3dProjectiveUtil { static projectiveExtremum(curve: PolylineCurve3d, world: Matrix4, proj: Matrix4): AxialExtremumPoint; static projective(g: PolylineCurve3d, world: Matrix4, proj: Matrix4): Array; } } declare module "foundation/runtime/graphics/projective/curve3d/PathCurve3dProjectiveUtil" { import { Matrix4 } from 'foundation/runtime/math/Matrix4'; import { PathCurve3d } from 'foundation/runtime/geometry/curve3d/PathCurve3d'; import { Curve2d } from 'foundation/runtime/geometry/Curve2d'; import { AxialExtremumPoint } from "foundation/runtime/graphics/projective/AxialExtremumPoint"; export class PathCurve3dProjectiveUtil { static projectiveExtremum(g: PathCurve3d, world: Matrix4, proj: Matrix4): AxialExtremumPoint; static projective(g: PathCurve3d, world: Matrix4, proj: Matrix4): Array; } } declare module "foundation/runtime/graphics/projective/Curve3dProjectiveUtil" { import { Matrix4 } from 'foundation/runtime/math/Matrix4'; import { Curve2d } from 'foundation/runtime/geometry/Curve2d'; import { Curve3d } from 'foundation/runtime/geometry/Curve3d'; import { AxialExtremumPoint } from "foundation/runtime/graphics/projective/AxialExtremumPoint"; export class Curve3dProjectiveUtil { static projectiveExtremum(g: Curve3d, world: Matrix4, proj: Matrix4): AxialExtremumPoint; static projective(g: Curve3d, world: Matrix4, proj: Matrix4): Array; } } declare module "foundation/runtime/graphics/projective/CurveProjectiveUtil" { import { Matrix4 } from 'foundation/runtime/math/Matrix4'; import { Curve3d } from 'foundation/runtime/geometry/Curve3d'; import { Curve } from 'foundation/runtime/geometry/Geometric'; import { AxialExtremumPoint } from "foundation/runtime/graphics/projective/AxialExtremumPoint"; export class CurveProjectiveUtil { static projectiveExtremum(g: Curve, world: Matrix4, proj: Matrix4): AxialExtremumPoint; static projective(g: Curve3d, world: Matrix4, proj: Matrix4): Array; static outline(g: Curve, world: Matrix4, proj: Matrix4): Array; static toProj(g: Curve, world: Matrix4, proj: Matrix4): void; } } declare module "foundation/runtime/graphics/projective/solid/BoxSolidProjectiveUtil" { import { Matrix4 } from 'foundation/runtime/math/Matrix4'; import { BoxSolid } from 'foundation/runtime/geometry/solid/BoxSolid'; import { Curve } from 'foundation/runtime/geometry/Geometric'; export class BoxSolidProjectiveUtil { static outline(g: BoxSolid, world: Matrix4, proj: Matrix4): Array; } } declare module "foundation/runtime/graphics/projective/SolidProjectiveUtil" { import { Matrix4 } from 'foundation/runtime/math/Matrix4'; import { Curve } from 'foundation/runtime/geometry/Geometric'; import { Solid } from 'foundation/runtime/geometry/Solid'; import { AxialExtremumPoint } from "foundation/runtime/graphics/projective/AxialExtremumPoint"; export class SolidProjectiveUtil { static projectiveExtremum(g: Solid, world: Matrix4, proj: Matrix4): AxialExtremumPoint; static projective(g: Solid, world: Matrix4, proj: Matrix4): Array; static outline(g: Solid, world: Matrix4, proj: Matrix4): Array; } } declare module "foundation/runtime/graphics/projective/solid/ComplexHoleSolidProjectiveUtil" { import { Matrix4 } from 'foundation/runtime/math/Matrix4'; import { ComplexHoleSolid } from 'foundation/runtime/geometry/solid/ComplexHoleSolid'; import { Curve } from 'foundation/runtime/geometry/Geometric'; export class ComplexHoleSolidProjectiveUtil { static outline(g: ComplexHoleSolid, world: Matrix4, proj: Matrix4): Array; } } declare module "foundation/runtime/graphics/projective/solid/ConeSolidProjectiveUtil" { import { Matrix4 } from 'foundation/runtime/math/Matrix4'; import { ConeSolid } from 'foundation/runtime/geometry/solid/ConeSolid'; import { Curve } from 'foundation/runtime/geometry/Geometric'; export class ConeSolidProjectiveUtil { static outline(g: ConeSolid, world: Matrix4, proj: Matrix4): Array; } } declare module "foundation/runtime/graphics/projective/solid/CylinderSolidProjectiveUtil" { import { Matrix4 } from 'foundation/runtime/math/Matrix4'; import { CylinderSolid } from 'foundation/runtime/geometry/solid/CylinderSolid'; import { Curve } from 'foundation/runtime/geometry/Geometric'; export class CylinderSolidProjectiveUtil { static outline(g: CylinderSolid, world: Matrix4, proj: Matrix4): Array; } } declare module "foundation/runtime/graphics/projective/solid/EllipsoidSolidProjectiveUtil" { import { Matrix4 } from 'foundation/runtime/math/Matrix4'; import { EllipsoidSolid } from 'foundation/runtime/geometry/solid/EllipsoidSolid'; import { Curve } from 'foundation/runtime/geometry/Geometric'; export class EllipsoidSolidProjectiveUtil { static outline(g: EllipsoidSolid, world: Matrix4, proj: Matrix4): Array; } } declare module "foundation/runtime/graphics/projective/solid/PointSolidProjectiveUtil" { import { Matrix4 } from 'foundation/runtime/math/Matrix4'; import { PointSolid } from 'foundation/runtime/geometry/solid/PointSolid'; import { Curve } from 'foundation/runtime/geometry/Geometric'; export class PointSolidProjectiveUtil { static outline(g: PointSolid, world: Matrix4, proj: Matrix4): Array; } } declare module "foundation/runtime/graphics/projective/solid/RevolutionSolidProjectiveUtil" { import { Matrix4 } from 'foundation/runtime/math/Matrix4'; import { RevolutionSolid } from 'foundation/runtime/geometry/solid/RevolutionSolid'; import { Curve } from 'foundation/runtime/geometry/Geometric'; export class RevolutionSolidProjectiveUtil { static outline(g: RevolutionSolid, world: Matrix4, proj: Matrix4): Array; } } declare module "foundation/runtime/graphics/projective/solid/RoundTableSolidProjectiveUtil" { import { Matrix4 } from 'foundation/runtime/math/Matrix4'; import { RoundTableSolid } from 'foundation/runtime/geometry/solid/RoundTableSolid'; import { Curve } from 'foundation/runtime/geometry/Geometric'; export class RoundTableSolidProjectiveUtil { static outline(g: RoundTableSolid, world: Matrix4, proj: Matrix4): Array; } } declare module "foundation/runtime/graphics/projective/solid/SettingOut2dSolidProjectiveUtil" { import { Matrix4 } from 'foundation/runtime/math/Matrix4'; import { SettingOut2dSolid } from 'foundation/runtime/geometry/solid/SettingOut2dSolid'; import { Curve } from 'foundation/runtime/geometry/Geometric'; export class SettingOut2dSolidProjectiveUtil { static outline(g: SettingOut2dSolid, world: Matrix4, proj: Matrix4): Array; } } declare module "foundation/runtime/graphics/projective/solid/SettingOut3dSolidProjectiveUtil" { import { Matrix4 } from 'foundation/runtime/math/Matrix4'; import { SettingOut3dSolid } from 'foundation/runtime/geometry/solid/SettingOut3dSolid'; import { Curve } from 'foundation/runtime/geometry/Geometric'; export class SettingOut3dSolidProjectiveUtil { static outline(g: SettingOut3dSolid, world: Matrix4, proj: Matrix4): Array; } } declare module "foundation/runtime/graphics/projective/solid/SettingOutVectoring3dSolidProjectiveUtil" { import { Matrix4 } from 'foundation/runtime/math/Matrix4'; import { SettingOutVectoring3dSolid } from 'foundation/runtime/geometry/solid/SettingOutVectoring3dSolid'; import { Curve } from 'foundation/runtime/geometry/Geometric'; export class SettingOutVectoring3dSolidProjectiveUtil { static outline(g: SettingOutVectoring3dSolid, world: Matrix4, proj: Matrix4): Array; } } declare module "foundation/runtime/graphics/projective/solid/SphereSolidProjectiveUtil" { import { Matrix4 } from 'foundation/runtime/math/Matrix4'; import { SphereSolid } from 'foundation/runtime/geometry/solid/SphereSolid'; import { Curve } from 'foundation/runtime/geometry/Geometric'; export class SphereSolidProjectiveUtil { static outline(g: SphereSolid, world: Matrix4, proj: Matrix4): Array; } } declare module "foundation/runtime/graphics/projective/solid/StretchingSolidProjectiveUtil" { export class StretchingSolidProjectiveUtil { } } declare module "foundation/runtime/graphics/projective/solid/SweepingSolid2dProjectiveUtil" { import { Matrix4 } from 'foundation/runtime/math/Matrix4'; import { Sweeping2dSolid } from 'foundation/runtime/geometry/solid/Sweeping2dSolid'; import { Curve } from 'foundation/runtime/geometry/Geometric'; export class Sweeping2dSolidProjectiveUtil { static outline(g: Sweeping2dSolid, world: Matrix4, proj: Matrix4): Array; } } declare module "foundation/runtime/graphics/projective/solid/SweepingSolid3dProjectiveUtil" { import { Matrix4 } from 'foundation/runtime/math/Matrix4'; import { Sweeping3dSolid } from 'foundation/runtime/geometry/solid/Sweeping3dSolid'; import { Curve } from 'foundation/runtime/geometry/Geometric'; export class Sweeping3dSolidProjectiveUtil { static outline(g: Sweeping3dSolid, world: Matrix4, proj: Matrix4): Array; } } declare module "foundation/runtime/graphics/projective/solid/SweepingVectoring3dSolidProjectiveUtil" { import { Matrix4 } from 'foundation/runtime/math/Matrix4'; import { SweepingVectoring3dSolid } from 'foundation/runtime/geometry/solid/SweepingVectoring3dSolid'; import { Curve } from 'foundation/runtime/geometry/Geometric'; export class SweepingVectoring3dSolidProjectiveUtil { static outline(g: SweepingVectoring3dSolid, world: Matrix4, proj: Matrix4): Array; } } declare module "foundation/runtime/graphics/projective/surface/BezierSurfaceProjectiveUtil" { import { Matrix4 } from 'foundation/runtime/math/Matrix4'; import { BezierSurface } from 'foundation/runtime/geometry/surface/BezierSurface'; import { Curve } from 'foundation/runtime/geometry/Geometric'; export class BezierSurfaceProjectiveUtil { static outline(g: BezierSurface, world: Matrix4, proj: Matrix4): Array; } } declare module "foundation/runtime/graphics/projective/surface/BSplineSurfaceProjectiveUtil" { import { Matrix4 } from 'foundation/runtime/math/Matrix4'; import { BSplineSurface } from 'foundation/runtime/geometry/surface/BSplineSurface'; import { Curve } from 'foundation/runtime/geometry/Geometric'; export class BSplineSurfaceProjectiveUtil { static outline(g: BSplineSurface, world: Matrix4, proj: Matrix4): Array; } } declare module "foundation/runtime/graphics/projective/SurfaceProjectiveUtil" { import { Matrix4 } from 'foundation/runtime/math/Matrix4'; import { Curve } from 'foundation/runtime/geometry/Geometric'; import { Surface } from 'foundation/runtime/geometry/Surface'; import { AxialExtremumPoint } from "foundation/runtime/graphics/projective/AxialExtremumPoint"; export class SurfaceProjectiveUtil { static projectiveExtremum(g: Surface, world: Matrix4, proj: Matrix4): AxialExtremumPoint; static projective(g: Surface, world: Matrix4, proj: Matrix4): Array; static outline(g: Surface, world: Matrix4, proj: Matrix4): Array; } } declare module "foundation/runtime/graphics/projective/surface/ComplexPlaneSurfaceProjectiveUtil" { import { Matrix4 } from 'foundation/runtime/math/Matrix4'; import { ComplexPlaneSurface } from 'foundation/runtime/geometry/surface/ComplexPlaneSurface'; import { Curve } from 'foundation/runtime/geometry/Geometric'; export class ComplexPlaneSurfaceProjectiveUtil { static outline(g: ComplexPlaneSurface, world: Matrix4, proj: Matrix4): Array; } } declare module "foundation/runtime/graphics/projective/surface/ConeSurfaceProjectiveUtil" { import { Matrix4 } from 'foundation/runtime/math/Matrix4'; import { ConeSurface } from 'foundation/runtime/geometry/surface/ConeSurface'; import { Curve } from 'foundation/runtime/geometry/Geometric'; export class ConeSurfaceProjectiveUtil { static outline(g: ConeSurface, world: Matrix4, proj: Matrix4): Array; } } declare module "foundation/runtime/graphics/projective/surface/CylinderSurfaceProjectiveUtil" { import { Matrix4 } from 'foundation/runtime/math/Matrix4'; import { CylinderSurface } from 'foundation/runtime/geometry/surface/CylinderSurface'; import { Curve } from 'foundation/runtime/geometry/Geometric'; export class CylinderSurfaceProjectiveUtil { static outline(g: CylinderSurface, world: Matrix4, proj: Matrix4): Array; } } declare module "foundation/runtime/graphics/projective/surface/NurbsSurfaceProjectiveUtil" { import { Matrix4 } from 'foundation/runtime/math/Matrix4'; import { NurbsSurface } from 'foundation/runtime/geometry/surface/NurbsSurface'; import { Curve } from 'foundation/runtime/geometry/Geometric'; export class NurbsSurfaceProjectiveUtil { static outline(g: NurbsSurface, world: Matrix4, proj: Matrix4): Array; } } declare module "foundation/runtime/graphics/projective/surface/PlaneSurfaceProjectiveUtil" { import { Matrix4 } from 'foundation/runtime/math/Matrix4'; import { PlaneSurface } from 'foundation/runtime/geometry/surface/PlaneSurface'; import { Curve } from 'foundation/runtime/geometry/Geometric'; export class PlaneSurfaceProjectiveUtil { static outline(g: PlaneSurface, world: Matrix4, proj: Matrix4): Array; } } declare module "foundation/runtime/graphics/projective/surface/PointSurfaceProjectiveUtil" { import { Matrix4 } from 'foundation/runtime/math/Matrix4'; import { PointSurface } from 'foundation/runtime/geometry/surface/PointSurface'; import { Curve } from 'foundation/runtime/geometry/Geometric'; export class PointSurfaceProjectiveUtil { static outline(g: PointSurface, world: Matrix4, proj: Matrix4): Array; } } declare module "foundation/runtime/graphics/projective/surface/PolygonSurfaceProjectiveUtil" { import { Matrix4 } from 'foundation/runtime/math/Matrix4'; import { PolygonSurface } from 'foundation/runtime/geometry/surface/PolygonSurface'; import { Curve } from 'foundation/runtime/geometry/Geometric'; export class PolygonSurfaceProjectiveUtil { static outline(g: PolygonSurface, world: Matrix4, proj: Matrix4): Array; } } declare module "foundation/runtime/graphics/projective/surface/RevolutionSurfaceProjectiveUtil" { import { Matrix4 } from 'foundation/runtime/math/Matrix4'; import { RevolutionSurface } from 'foundation/runtime/geometry/surface/RevolutionSurface'; import { Curve } from 'foundation/runtime/geometry/Geometric'; export class RevolutionSurfaceProjectiveUtil { static outline(g: RevolutionSurface, world: Matrix4, proj: Matrix4): Array; } } declare module "foundation/runtime/graphics/projective/surface/RoundTableSurfaceProjectiveUtil" { import { Matrix4 } from 'foundation/runtime/math/Matrix4'; import { RoundTableSurface } from 'foundation/runtime/geometry/surface/RoundTableSurface'; import { Curve } from 'foundation/runtime/geometry/Geometric'; export class RoundTableSurfaceProjectiveUtil { static outline(g: RoundTableSurface, world: Matrix4, proj: Matrix4): Array; } } declare module "foundation/runtime/graphics/projective/surface/SectionSurfaceProjectiveUtil" { import { Matrix4 } from 'foundation/runtime/math/Matrix4'; import { SectionSurface } from 'foundation/runtime/geometry/surface/SectionSurface'; import { Curve } from 'foundation/runtime/geometry/Geometric'; export class SectionSurfaceProjectiveUtil { static outline(g: SectionSurface, world: Matrix4, proj: Matrix4): Array; } } declare module "foundation/runtime/graphics/projective/surface/SettingOut2dSurfaceProjectiveUtil" { import { Matrix4 } from 'foundation/runtime/math/Matrix4'; import { SettingOut2dSurface } from 'foundation/runtime/geometry/surface/SettingOut2dSurface'; import { Curve } from 'foundation/runtime/geometry/Geometric'; export class SettingOut2dSurfaceProjectiveUtil { static outline(g: SettingOut2dSurface, world: Matrix4, proj: Matrix4): Array; } } declare module "foundation/runtime/graphics/projective/surface/SettingOut3dSurfaceProjectiveUtil" { import { Matrix4 } from 'foundation/runtime/math/Matrix4'; import { SettingOut3dSurface } from 'foundation/runtime/geometry/surface/SettingOut3dSurface'; import { Curve } from 'foundation/runtime/geometry/Geometric'; export class SettingOut3dSurfaceProjectiveUtil { static outline(g: SettingOut3dSurface, world: Matrix4, proj: Matrix4): Array; } } declare module "foundation/runtime/graphics/projective/surface/SettingOutVectoring3dSurfaceProjectiveUtil" { import { Matrix4 } from 'foundation/runtime/math/Matrix4'; import { SettingOutVectoring3dSurface } from 'foundation/runtime/geometry/surface/SettingOutVectoring3dSurface'; import { Curve } from 'foundation/runtime/geometry/Geometric'; export class SettingOutVectoring3dSurfaceProjectiveUtil { static outline(g: SettingOutVectoring3dSurface, world: Matrix4, proj: Matrix4): Array; } } declare module "foundation/runtime/graphics/projective/surface/SphereSurfaceSurfaceProjectiveUtil" { import { Matrix4 } from 'foundation/runtime/math/Matrix4'; import { SphereSurface } from 'foundation/runtime/geometry/surface/SphereSurface'; import { Curve } from 'foundation/runtime/geometry/Geometric'; export class SphereSurfaceProjectiveUtil { static outline(g: SphereSurface, world: Matrix4, proj: Matrix4): Array; } } declare module "foundation/runtime/graphics/projective/surface/StretchingSurfaceProjectiveUtil" { import { Matrix4 } from 'foundation/runtime/math/Matrix4'; import { StretchingSurface } from 'foundation/runtime/geometry/surface/StretchingSurface'; import { Curve } from 'foundation/runtime/geometry/Geometric'; export class StretchingSurfaceProjectiveUtil { static outline(g: StretchingSurface, world: Matrix4, proj: Matrix4): Array; } } declare module "foundation/runtime/graphics/projective/surface/Sweeping2dSurfaceProjectiveUtil" { import { Matrix4 } from 'foundation/runtime/math/Matrix4'; import { Sweeping2dSurface } from 'foundation/runtime/geometry/surface/Sweeping2dSurface'; import { Curve } from 'foundation/runtime/geometry/Geometric'; export class Sweeping2dSurfaceProjectiveUtil { static outline(g: Sweeping2dSurface, world: Matrix4, proj: Matrix4): Array; } } declare module "foundation/runtime/graphics/projective/surface/Sweeping3dSurfaceProjectiveUtil" { import { Matrix4 } from 'foundation/runtime/math/Matrix4'; import { Sweeping3dSurface } from 'foundation/runtime/geometry/surface/Sweeping3dSurface'; import { Curve } from 'foundation/runtime/geometry/Geometric'; export class Sweeping3dSurfaceProjectiveUtil { static outline(g: Sweeping3dSurface, world: Matrix4, proj: Matrix4): Array; } } declare module "foundation/runtime/graphics/projective/surface/SweepingVectoring3dSurfaceProjectiveUtil" { import { Matrix4 } from 'foundation/runtime/math/Matrix4'; import { SweepingVectoring3dSurface } from 'foundation/runtime/geometry/surface/SweepingVectoring3dSurface'; import { Curve } from 'foundation/runtime/geometry/Geometric'; export class SweepingVectoring3dSurfaceProjectiveUtil { static outline(g: SweepingVectoring3dSurface, world: Matrix4, proj: Matrix4): Array; } } declare module "foundation/runtime/graphics/recognition/base/RecognitionFaceTypeEnum" { export class RecognitionFaceTypeEnum { static Unknown: string; static Plane: string; static NoPlane: string; static Sphere: string; static Clinder: string; } } declare module "foundation/runtime/graphics/recognition/base/RecognitionCluster" { import { Triangle3 } from 'foundation/runtime/geometry/Triangle3'; import { RecognitionFaceTypeEnum } from "foundation/runtime/graphics/recognition/base/RecognitionFaceTypeEnum"; export class RecognitionCluster { triangles: Array; faceType: RecognitionFaceTypeEnum; constructor(); push(triangle: Triangle3): void; get count(): number; } } declare module "foundation/runtime/graphics/recognition/base/RecognitionMathUtil" { import { Matrix3 } from 'foundation/runtime/math/Matrix3'; import { Polygon3 } from 'foundation/runtime/math/Polygon3'; import { Value3 } from 'foundation/runtime/math/Value3'; import { Vector3 } from 'foundation/runtime/math/Vector3'; import { LineCurve3d } from 'foundation/runtime/geometry/curve3d/LineCurve3d'; import { Triangle3 } from 'foundation/runtime/geometry/Triangle3'; import { RecognitionCluster } from "foundation/runtime/graphics/recognition/base/RecognitionCluster"; export class RecognitionMathUtil { static isTriangleOnSamePlane(triangle1: Triangle3, triangle2: Triangle3): boolean; static isTrianglesHasSamePoint(triangle1: Triangle3, triangle2: Triangle3): boolean; static getNormallizedPlaneNormal(p1: Value3, p2: Value3, p3: Value3): Vector3; static getNormallizedTriangleNormal(triangle: Triangle3): Vector3; static getNormallizedPointsNormal(p1: Vector3, p2: Vector3, p3: Vector3): Vector3; static mergeTriangles(list: Array): Polygon3; static divideOnSameLine(boundary: Array): Array; static connectSerialLines(boundary: Array): Array; static divideTrianglesByPlane(list: Array): Array; static sortBox3Planes(polygons: Array): Array; static transformAxisMatrix(polygons: Array): Matrix3; static isBox3ByPlanes(polygons: Array): boolean; static getBox3Center(polygons: Array): Value3; static getBox3Size(polygons: Array): any; static getTransformMatrix3(size: any, polygons: Array): Matrix3; static isTrianglesOnSphere(list: Array): boolean; static isTrianglesOnClinder(list: Array): boolean; } } declare module "foundation/runtime/graphics/recognition/base/RecognitionPlane" { import { Point3 } from 'foundation/runtime/math/Point3'; import { Polygon3 } from 'foundation/runtime/math/Polygon3'; import { Vector3 } from 'foundation/runtime/math/Vector3'; export class RecognitionPlane { polygon: Polygon3; normal: Vector3; basePoint: Point3; } } declare module "foundation/runtime/graphics/recognition/base/RecognitionStructModel" { import { Matrix4 } from 'foundation/runtime/math/Matrix4'; export class RecognitionStructModel { structModel: any; matrix: Matrix4; } } declare module "foundation/runtime/graphics/recognition/base/RecognitonLine3" { import { Vector3 } from 'foundation/runtime/math/Vector3'; export class RecognitonLine3 { start: Vector3; end: Vector3; _normalVector: Vector3; constructor(start?: Vector3, end?: Vector3); get normal(): Vector3; } } declare module "foundation/runtime/graphics/recognition/RecognitionBox3Util" { import { BufferGeometry } from "foundation/runtime/graphics/data/BufferGeometry"; import { RecognitionStructModel } from "foundation/runtime/graphics/recognition/base/RecognitionStructModel"; export class RecognitionBox3Util { static geometryRecognition(geometry: BufferGeometry, tolerance?: number): RecognitionStructModel; } } declare module "foundation/runtime/graphics/recognition/RecognitionClinderUtil" { export class RecognitionClinderUtil { } } declare module "foundation/runtime/graphics/recognition/RecognitionPrismUtil" { export class RecognitionPrismUtil { } } declare module "foundation/runtime/graphics/recognition/RecognitionSphereUtil" { export class RecognitionSphereUtil { } } declare module "foundation/runtime/graphics/shape/brep/CurvePath" { import { VertexGeometry } from "foundation/runtime/graphics/core/VertexGeometry"; import { Curve } from "foundation/runtime/graphics/shape/brep/Curve"; export class CurvePath extends Curve { curves: Array; autoClose: boolean; cacheLengths: any; constructor(); add(curve: Curve): void; reset(): void; closePath(): void; getPoint(t: any): any; getLength(): any; getCurveLengths(): any; createPointsGeometry(divisions?: number): any; createSpacedPointsGeometry(divisions: any): any; createGeometry(points: any): VertexGeometry; } } declare module "foundation/runtime/graphics/shape/curve/EllipseCurve" { import { Curve } from "foundation/runtime/graphics/shape/brep/Curve"; export class EllipseCurve extends Curve { aX: number; aY: number; xRadius: number; yRadius: number; aStartAngle: number; aEndAngle: number; aClockwise: boolean; aRotation: number; constructor(aX: any, aY: any, xRadius: any, yRadius: any, aStartAngle: any, aEndAngle: any, aClockwise: any, aRotation: any); getPoint(step: number): any; } } declare module "foundation/runtime/graphics/shape/curve/LineCurve" { import { Curve } from "foundation/runtime/graphics/shape/brep/Curve"; export class LineCurve extends Curve { begin: any; end: any; color: number; constructor(begin?: any, end?: any); getPoint(step: number): any; getPointAt(u: number): any; getTangent(step: number): any; } } declare module "foundation/runtime/graphics/shape/brep/Path" { import { Vector2 } from 'foundation/runtime/math/Vector2'; import { CurvePath } from "foundation/runtime/graphics/shape/brep/CurvePath"; export class Path extends CurvePath { actions: Array; constructor(points?: any); fromPoints(vectors: any[]): void; moveTo(x: number, y: number): void; lineTo(x: number, y: number): void; arc(aX: number, aY: number, aRadius: number, aStartAngle: number, aEndAngle: number, aClockwise: boolean): void; absarc(aX: number, aY: number, aRadius: number, aStartAngle: number, aEndAngle: number, aClockwise: boolean): void; absellipse(aX: number, aY: number, xRadius: number, yRadius: number, aStartAngle: number, aEndAngle: number, aClockwise: boolean, aRotation?: number): void; getPoints(divisions?: number): Array; getLastAction(): any; getLastPoint(): Vector2; } } declare module "foundation/runtime/graphics/shape/brep/Path2" { import { CurvePath } from "foundation/runtime/graphics/shape/brep/CurvePath"; export class Path2 extends CurvePath { actions: Array; constructor(points?: any); fromPoints(vectors: any): void; moveTo(x: any, y: any): void; lineTo(x: any, y: any): void; arc(aX: any, aY: any, aRadius: any, aStartAngle: any, aEndAngle: any, aClockwise: any): void; absarc(aX: any, aY: any, aRadius: any, aStartAngle: any, aEndAngle: any, aClockwise: any): void; absellipse(aX: any, aY: any, xRadius: any, yRadius: any, aStartAngle: any, aEndAngle: any, aClockwise: any, aRotation?: any): void; getPoints(divisions?: number): Array; } } declare module "foundation/runtime/graphics/shape/geometry/ExtrudeGeometry" { import { Vector2 } from 'foundation/runtime/math/Vector2'; import { VertexGeometry } from "foundation/runtime/graphics/core/VertexGeometry"; import { Path } from "foundation/runtime/graphics/shape/brep/Path"; export type ExtrudeGeometryParameters = { amount?: number; bevelThickness?: number; bevelSize?: number; bevelSegments?: number; bevelEnabled?: boolean; curveSegments?: number; steps?: number; extrudePath?: Path; UVGenerator?: any; lidEnabled?: boolean; }; export class ExtrudeGeometry extends VertexGeometry { static WorldUVGenerator: { generateTopUV: (geometry: any, indexA: any, indexB: any, indexC: any) => Vector2[]; generateSideWallUV: (geometry: any, indexA: any, indexB: any, indexC: any, indexD: any) => Vector2[]; }; type: string; constructor(shapes: any, options?: ExtrudeGeometryParameters); addShapeList(shapes: any, options?: ExtrudeGeometryParameters): void; addShape(shape: any, options: ExtrudeGeometryParameters): void; } } declare module "foundation/runtime/graphics/shape/geometry/ShapeGeometry" { import { GeometryOptions, VertexGeometry } from "foundation/runtime/graphics/core/VertexGeometry"; import { Shape } from "foundation/runtime/graphics/shape/brep/Shape"; export class ShapeGeometryOptions extends GeometryOptions { size: number; constructor(size?: number); } export class ShapeGeometry extends VertexGeometry { options: ShapeGeometryOptions; constructor(shapes: any, options?: any); protected createOptions(): GeometryOptions; addShape(shape: Shape, options?: any): void; addShapeList(shapes: Array, options?: any): void; } } declare module "foundation/runtime/graphics/shape/brep/Shape" { import { ExtrudeGeometry } from "foundation/runtime/graphics/shape/geometry/ExtrudeGeometry"; import { ShapeGeometry } from "foundation/runtime/graphics/shape/geometry/ShapeGeometry"; import { Path } from "foundation/runtime/graphics/shape/brep/Path"; export class Shape extends Path { holes: Array; constructor(); extrude(options: any): ExtrudeGeometry; makeGeometry(options?: any): ShapeGeometry; getPointsHoles(divisions: number): Array; extractAllPoints(divisions: number): any; extractPoints(divisions: number): any; } } declare module "foundation/runtime/graphics/shape/curve/ArcCurve" { import { Curve } from "foundation/runtime/graphics/shape/brep/Curve"; export class ArcCurveOptions { aX: number; aY: number; xRadius: number; yRadius: number; aStartAngle: number; aEndAngle: number; aClockwise: number; aRotation: number; constructor(); } export class ArcCurve extends Curve { options: ArcCurveOptions; constructor(); getPoint(t: any): any; } } declare module "foundation/runtime/graphics/shape/curve/DimensionalCurve" { import { CurvePath } from "foundation/runtime/graphics/shape/brep/CurvePath"; export class DimensionalCurveOptions { width: number; height: number; cellWidth: number; cellHeight: number; lineColor: number; axisXColor: number; axisYColor: number; axisZColor: number; constructor(); } export class DimensionalCurve extends CurvePath { options: DimensionalCurveOptions; constructor(); getPoint(t: any): void; } } declare module "foundation/runtime/graphics/shape/curve/RectangleCurve" { import { Path } from "foundation/runtime/graphics/shape/brep/Path"; export class RectangleCurveOptions { left: number; top: number; width: number; height: number; constructor(); } export class RectangleCurve extends Path { options: RectangleCurveOptions; constructor(); } } declare module "foundation/runtime/graphics/shape/curve/Ruler" { export class Ruler { } } declare module "foundation/runtime/graphics/shape/curve/RulerBox" { export class RulerBox { } } declare module "foundation/runtime/graphics/shape/curve/RulerPrecision" { export class RulerPrecision { } } declare module "foundation/runtime/graphics/shape/curve/RulerStyle" { export class RulerStyle { } } declare module "foundation/runtime/graphics/shape/CurveUtils" { export class CurveUtils { static tangentQuadraticBezier(t: any, p0: any, p1: any, p2: any): number; static tangentCubicBezier(t: any, p0: any, p1: any, p2: any, p3: any): number; static tangentSpline(t: any, p0: any, p1: any, p2: any, p3: any): number; static interpolate(p0: any, p1: any, p2: any, p3: any, t: any): number; } } declare module "foundation/runtime/graphics/shape/geometry/BoundaryGeometry" { export class BoundaryGeometry { } } declare module "foundation/runtime/graphics/shape/geometry/BoxBufferGeometry" { import { BufferGeometry } from "foundation/runtime/graphics/data/BufferGeometry"; export class BoxBufferGeometry extends BufferGeometry { parameters: any; constructor(width: any, height: any, depth: any, widthSegments?: any, heightSegments?: any, depthSegments?: any); } } declare module "foundation/runtime/graphics/shape/geometry/BoxGeometry" { import { Geometry } from "foundation/runtime/graphics/data/Geometry"; export class BoxGeometry extends Geometry { parameters: any; constructor(width: any, height: any, depth: any, widthSegments?: any, heightSegments?: any, depthSegments?: any); } } declare module "foundation/runtime/graphics/shape/geometry/CircleBufferGeometry" { import { BufferGeometry } from "foundation/runtime/graphics/data/BufferGeometry"; export class CircleBufferGeometry extends BufferGeometry { parameters: any; constructor(radius: any, segments: any, thetaStart: any, thetaLength: any); } } declare module "foundation/runtime/graphics/shape/geometry/CircleGeometry" { import { Geometry } from "foundation/runtime/graphics/data/Geometry"; export class CircleGeometry extends Geometry { parameters: any; constructor(radius: any, segments: any, thetaStart: any, thetaLength: any); } } declare module "foundation/runtime/graphics/shape/geometry/CylinderBufferGeometry" { import { BufferGeometry } from "foundation/runtime/graphics/data/BufferGeometry"; export class CylinderBufferGeometry extends BufferGeometry { parameters: any; constructor(radiusTop?: any, radiusBottom?: any, height?: any, radialSegments?: any, heightSegments?: any, openEnded?: any, thetaStart?: any, thetaLength?: any); } } declare module "foundation/runtime/graphics/shape/geometry/ConeBufferGeometry" { import { CylinderBufferGeometry } from "foundation/runtime/graphics/shape/geometry/CylinderBufferGeometry"; export class ConeBufferGeometry extends CylinderBufferGeometry { constructor(radius: any, height: any, radialSegments: any, heightSegments: any, openEnded: any, thetaStart: any, thetaLength: any); } } declare module "foundation/runtime/graphics/shape/geometry/CylinderGeometry" { import { Geometry } from "foundation/runtime/graphics/data/Geometry"; export class CylinderGeometry extends Geometry { parameters: any; constructor(radiusTop: any, radiusBottom: any, height: any, radialSegments: any, heightSegments: any, openEnded: any, thetaStart: any, thetaLength: any); } } declare module "foundation/runtime/graphics/shape/geometry/ExtrudeShapeGeometry" { import { Vector2 } from 'foundation/runtime/math/Vector2'; import { VertexGeometry } from "foundation/runtime/graphics/core/VertexGeometry"; export class ExtrudeShapeGeometry extends VertexGeometry { static WorldUVGenerator: { generateTopUV: (geometry: any, indexA: any, indexB: any, indexC: any) => Vector2[]; generateSideWallUV: (geometry: any, indexA: any, indexB: any, indexC: any, indexD: any) => Vector2[]; }; type: string; constructor(shapes: any, options: any); addShapeList(shapes: any, options: any): void; addShape(shape: any, options: any): void; } } declare module "foundation/runtime/graphics/shape/geometry/PlaneBufferGeometry" { import { BufferGeometry } from "foundation/runtime/graphics/data/BufferGeometry"; export class PlaneBufferGeometry extends BufferGeometry { parameters: any; constructor(width: any, height: any, widthSegments?: any, heightSegments?: any); } } declare module "foundation/runtime/graphics/shape/geometry/PlaneGeometry" { import { Geometry } from "foundation/runtime/graphics/data/Geometry"; export class PlaneGeometry extends Geometry { parameters: any; constructor(width: any, height: any, widthSegments?: any, heightSegments?: any); } } declare module "foundation/runtime/graphics/shape/geometry/PolygonPathGeometry" { import { Vector2 } from 'foundation/runtime/math/Vector2'; import { Vector3 } from 'foundation/runtime/math/Vector3'; import { GeometryOptions } from "foundation/runtime/graphics/core/VertexGeometry"; import { BufferAttribute } from "foundation/runtime/graphics/data/BufferAttribute"; import { BufferGeometry } from "foundation/runtime/graphics/data/BufferGeometry"; export class PolygonPathGeometryOptions extends GeometryOptions { path: Array; protected _profile: Array; protected _scales: Array; protected _roundType: boolean; protected _triVerIndexes: Array; protected _length: number; protected _boundingBox: any; constructor(profile: Array); get scales(): any; get profile(): any; get profileLength(): number; get profileCount(): number; get pathCount(): number; setRoundType(type: boolean): void; computeScales(): Array; setGuideLine(from: Vector3, to: Vector3, pos: Vector3): Array; triangulate(): Array; boundingBox(): any; } export class PolygonPathGeometry extends BufferGeometry { options: PolygonPathGeometryOptions; coordTransformFunc: any; profileGroup: Array>; endianProfile: Array; triangleRoundType: boolean; constructor(options?: PolygonPathGeometryOptions); static userDefaultCoordTransformer(): any; coordTransform(coord: any): any; createMesh(): any; createGeometry(): void; createPositions(): BufferAttribute; createUVs(): BufferAttribute; createNormals(): void; createIndexes(): void; createEndianProfile(): Array; static usingDefaultVertices(): Array; static testCoord: string; static coordCornice: string; } } declare module "foundation/runtime/graphics/shape/geometry/SphereBufferGeometry" { import { BufferGeometry } from "foundation/runtime/graphics/data/BufferGeometry"; export class SphereBufferGeometry extends BufferGeometry { parameters: any; constructor(radius: any, widthSegments?: any, heightSegments?: any, phiStart?: any, phiLength?: any, thetaStart?: any, thetaLength?: any); } } declare module "foundation/runtime/graphics/shape/geometry/SphereGeometry" { import { Geometry } from "foundation/runtime/graphics/data/Geometry"; export class SphereGeometry extends Geometry { parameters: any; constructor(radius: any, widthSegments: any, heightSegments: any, phiStart?: any, phiLength?: any, thetaStart?: any, thetaLength?: any); } } declare module "foundation/runtime/graphics/shape/geometry/VertexBoxGeometry" { import { BufferGeometry } from "foundation/runtime/graphics/data/BufferGeometry"; export class BoxGeometryOptions { width: number; height: number; depth: number; widthSegments: number; heightSegments: number; depthSegments: number; constructor(); } export class VertexBoxGeometry extends BufferGeometry { options: BoxGeometryOptions; constructor(options?: BoxGeometryOptions); } } declare module "foundation/runtime/graphics/shape/geometry/VertexCircleGeometry" { import { GeometryOptions, VertexGeometry } from "foundation/runtime/graphics/core/VertexGeometry"; export class CircleGeometryOptions extends GeometryOptions { radius: number; segments: number; thetaStart: number; thetaLength: number; constructor(); } export class VertexCircleGeometry extends VertexGeometry { options: CircleGeometryOptions; constructor(options?: CircleGeometryOptions); protected createOptions(): GeometryOptions; build(): void; } } declare module "foundation/runtime/graphics/shape/geometry/VertexCylinderGeometry" { import { GeometryOptions, VertexGeometry } from "foundation/runtime/graphics/core/VertexGeometry"; export class CylinderGeometryOptions extends GeometryOptions { openEnded: boolean; radiusTop: number; radiusBottom: number; radialSegments: number; heightSegments: number; height: number; thetaStart: number; thetaLength: number; constructor(); set(radiusTop: any, radiusBottom: any, height: any, radialSegments: any, heightSegments: any, openEnded: any, thetaStart: any, thetaLength: any): void; } export class VertexCylinderGeometry extends VertexGeometry { options: CylinderGeometryOptions; protected _vertexIndex: number; constructor(options?: CylinderGeometryOptions); protected createOptions(): GeometryOptions; protected generateTorso(): void; protected generateCap(faceTop: boolean): void; build(): void; } } declare module "foundation/runtime/graphics/shape/geometry/VertexPlaneGeometry" { import { GeometryOptions, VertexGeometry } from "foundation/runtime/graphics/core/VertexGeometry"; export class PlaneGeometryOptions extends GeometryOptions { faceCd: string; left: number; top: number; width: number; height: number; constructor(); } export class VertexPlaneGeometry extends VertexGeometry { options: PlaneGeometryOptions; constructor(options?: PlaneGeometryOptions); protected createOptions(): GeometryOptions; protected buildPlane(u: string, v: string, w: string, udir: number, vdir: number): void; build(): void; } } declare module "foundation/runtime/graphics/shape/geometry/VertexPolygonGeometry" { import { Value2 } from 'foundation/runtime/math/Value2'; import { Vector2 } from 'foundation/runtime/math/Vector2'; import { Vector3 } from 'foundation/runtime/math/Vector3'; import { GeometryOptions, VertexGeometry } from "foundation/runtime/graphics/core/VertexGeometry"; import { Polygon } from "foundation/runtime/graphics/shape/brep/Polygon"; import { PlaneEnum } from "foundation/runtime/graphics/shape/PlaneEnum"; export class VertexPolygonGeometryOptions extends GeometryOptions { height: number; step1: number; step2: number; color: number; lightColor: number; middleColor: number; darkColor: number; flipX: boolean; flipY: boolean; coordX: number; coordY: number; coordWidth: number; coordHeight: number; coordRotation: number; planeCd: PlaneEnum; direction: Vector3; constructor(); } export class VertexPolygonGeometry extends VertexGeometry { options: VertexPolygonGeometryOptions; protected _coordPoint: Vector2; protected _coordTarget: Vector2; constructor(options?: VertexPolygonGeometryOptions); protected createOptions(): GeometryOptions; protected getPlanePoint(point: Vector2): Vector3; getCoord(point: Value2): Vector2; protected pushFaces(faces: any, facesData: Array, index: number, clockWise: boolean): void; setPoints(points: Array): void; setPolygon(polygon: Polygon): void; setEdgePolygon(polygon: Polygon): void; setEdgePolygon2(polygon: Polygon): void; getExtrudeCoord(width: number, height: number): Vector2; extrudePolygon(polygon: Polygon): void; } } declare module "foundation/runtime/graphics/shape/geometry/VertexSphereGeometry" { import { GeometryOptions, VertexGeometry } from "foundation/runtime/graphics/core/VertexGeometry"; export class SphereGeometryOptions extends GeometryOptions { width: number; height: number; depth: number; splitCount: number; constructor(); } export class VertexSphereGeometry extends VertexGeometry { options: SphereGeometryOptions; constructor(options?: SphereGeometryOptions); protected createOptions(): GeometryOptions; build(): void; } } declare module "foundation/runtime/graphics/shape/helper/ArrowHelper" { import { Actor } from "foundation/runtime/graphics/core/Actor"; export class ArrowHelperOptions { } export class ArrowHelper extends Actor { } } declare module "foundation/runtime/graphics/shape/helper/AxisHelper" { export class AxisHelper { constructor(); build(size: any): void; } } declare module "foundation/runtime/graphics/shape/helper/BoxHelper" { import { Box3 } from 'foundation/runtime/math/Box3'; import { Vector3 } from 'foundation/runtime/math/Vector3'; import { CurveActor } from "foundation/runtime/graphics/actor/CurveActor"; import { BufferGeometry } from "foundation/runtime/graphics/data/BufferGeometry"; export class BoxHelperOptions { direction: Vector3; origin: Vector3; length: number; color: number; headLength: number; headWidth: number; constructor(); } export class BoxHelper extends CurveActor { static Indices: Uint16Array; options: BoxHelperOptions; geometry: BufferGeometry; box: Box3; constructor(); update(box: Box3): void; } } declare module "foundation/runtime/graphics/shape/helper/GridHelper" { import { LinesActor } from "foundation/runtime/graphics/actor/LinesActor"; export class GridHelperOptionsLevel { step: number; color: number; constructor(step?: number, color?: number); } export class GridHelperOptions { size: number; height: number; levels: Array; constructor(size?: number); } export class GridHelper extends LinesActor { options: GridHelperOptions; constructor(); build(): void; } } declare module "foundation/runtime/graphics/shape/SceneUtil" { import { Group } from "foundation/runtime/graphics/core/Group"; export class SceneUtil { static createMultiMaterialObject(geometry: any, materials: any): Group; static detach(child: any, parent: any, scene: any): void; } } declare module "foundation/runtime/graphics/shape/spatial/SpatialSurfaceEnum" { export class SpatialSurfaceEnum { static PX: string; static NX: string; static PY: string; static NY: string; static PZ: string; static NZ: string; static Surround: string; static getSurfaces(): Array; static getSurroundSurfaces(): Array; } } declare module "foundation/runtime/graphics/shape/spatial/SpatialSurfaceGeometry" { import { Value2 } from 'foundation/runtime/math/Value2'; import { Vector2 } from 'foundation/runtime/math/Vector2'; import { Vector3 } from 'foundation/runtime/math/Vector3'; import { Polygon } from "foundation/runtime/graphics/shape/brep/Polygon"; import { BufferGeometry } from "foundation/runtime/graphics/data/BufferGeometry"; import { Face3 } from "foundation/runtime/graphics/data/Face3"; import { PlaneEnum } from "foundation/runtime/graphics/shape/PlaneEnum"; export class SpatialSurfaceGeometry extends BufferGeometry { optionStep: number; optionColor: number; optionHeight: number; optionLightColor: number; optionDarkColor: number; optionFlipX: boolean; optionFlipY: boolean; optionCoordX: number; optionCoordY: number; optionCoordWidth: number; optionCoordHeight: number; optionCoordRotation: number; optionPlaneCd: PlaneEnum; optionDirection: Vector3; optionClockWise: boolean; constructor(); setup(): void; protected getPlanePoint(point: Value2, height?: number): Vector3; protected getCoord(point: Value2): Vector2; protected pushFaces(faces: Array, facesData: Array, index: number, clockWise: boolean): void; updateData(pointData: Array, faceData: Array): void; setPoints(points: Array, holes?: Array>): void; setPolygon(polygon: Polygon): void; protected getExtrudeCoord(width: number, height: number): Vector2; extrudePolygon(polygon: Polygon): void; } } declare module "foundation/runtime/graphics/shape/spatial/SpatialSurfaceMaterial" { import { MeshBasicMaterial } from "foundation/runtime/graphics/material/MeshBasicMaterial"; export class SpatialSurfaceMaterial extends MeshBasicMaterial { } } declare module "foundation/runtime/graphics/shape/spatial/SpatialSurfaceMesh" { import { Vector2 } from 'foundation/runtime/math/Vector2'; import { Mesh } from "foundation/runtime/graphics/actor/Mesh"; import { SpatialSurfaceGeometry } from "foundation/runtime/graphics/shape/spatial/SpatialSurfaceGeometry"; export class SpatialSurfaceMesh extends Mesh { geometry: SpatialSurfaceGeometry; constructor(); setPoints(points: Array): void; } export type SpatialSurfaceMeshMap = { [key: string]: SpatialSurfaceMesh; }; } declare module "foundation/runtime/graphics/shape/spatial/SpatialMesh" { import { Vector2 } from 'foundation/runtime/math/Vector2'; import { Vector3 } from 'foundation/runtime/math/Vector3'; import { Polygon } from "foundation/runtime/graphics/shape/brep/Polygon"; import { Actor } from "foundation/runtime/graphics/core/Actor"; import { SpatialSurfaceEnum } from "foundation/runtime/graphics/shape/spatial/SpatialSurfaceEnum"; import { SpatialSurfaceGeometry } from "foundation/runtime/graphics/shape/spatial/SpatialSurfaceGeometry"; import { SpatialSurfaceMaterial } from "foundation/runtime/graphics/shape/spatial/SpatialSurfaceMaterial"; import { SpatialSurfaceMesh, SpatialSurfaceMeshMap } from "foundation/runtime/graphics/shape/spatial/SpatialSurfaceMesh"; export class SpatialMesh { node: Actor; position: Vector3; height: number; protected _surfaces: SpatialSurfaceMeshMap; constructor(); getSurfaceMesh(surfaceCd: SpatialSurfaceEnum): SpatialSurfaceMesh; getSurfaceGeometry(surfaceCd: SpatialSurfaceEnum): SpatialSurfaceGeometry; getSurfaceMaterial(surfaceCd: SpatialSurfaceEnum): SpatialSurfaceMaterial; setPoints(points: Array): void; setExtrudePolygon(polygon: Polygon): void; dispose(): void; } } declare module "foundation/runtime/graphics/shape/SurfaceEnum" { export class SurfaceEnum { static PX: string; static NX: string; static PY: string; static NY: string; static PZ: string; static NZ: string; static Surround: string; } } declare module "foundation/runtime/graphics/spatial/box/SegmentIdUtil" { export class SegmentIdUtil { private static s_seed; static reset(): void; static generateID(): number; } } declare module "foundation/runtime/graphics/spatial/box/SegmentRelation" { import { PolygonCurve3d } from 'foundation/runtime/geometry/curve3d/PolygonCurve3d'; import { BoxSolid } from 'foundation/runtime/geometry/solid/BoxSolid'; export class SegmentSplitterBase { constructor(); name: string; box: BoxSolid; readonly id: number; userdata: any; } export class SegmentSplitterDivision extends SegmentSplitterBase { surfaces: { left: SegmentSurfaceArray; right: SegmentSurfaceArray; bottom: SegmentSurfaceArray; top: SegmentSurfaceArray; back: SegmentSurfaceArray; front: SegmentSurfaceArray; }; } export class SegmentSplitterSpatial extends SegmentSplitterBase { box: BoxSolid; surfaces: { left: SegmentSurface; right: SegmentSurface; bottom: SegmentSurface; top: SegmentSurface; back: SegmentSurface; front: SegmentSurface; }; } export class SegmentSurfaceBase { constructor(); parentSplitter: SegmentSplitterBase; polygon: PolygonCurve3d; readonly id: number; } export class SegmentSurfaceArray extends SegmentSurfaceBase { subSurfaces: Array; } export class SegmentSurface extends SegmentSurfaceBase { parentSurface: SegmentSurfaceBase; coplane: SegmentSurface; } } declare module "foundation/runtime/graphics/spatial/box/SegmentSelectUtil" { import { Vector3 } from 'foundation/runtime/math/Vector3'; import { SegmentSplitterBase } from "foundation/runtime/graphics/spatial/box/SegmentRelation"; export class SegmentSelectUtil { static compute(point: Vector3, spatials: Array): SegmentSplitterBase; private static relationOfPointAndBox; } } declare module "foundation/runtime/graphics/spatial/box/SegmentSpatialUtil" { import { BoxSolid } from 'foundation/runtime/geometry/solid/BoxSolid'; import { SegmentSplitterBase } from "foundation/runtime/graphics/spatial/box/SegmentRelation"; export class SegmentSpatialUtil { static compute(range: BoxSolid, divisions: Array<{ name: string; box: BoxSolid; userdata?: any; }>): Array; private static setSegmentSplitterSpatialName; private static unionSpatials; private static unionSpatials_pair; private static unionSpatials_isSameSegmentSurface; static sliceSpatial(range: BoxSolid, divisions: Array): Array; private static sliceSpatial_divisionSpatials; private static sliceSpatial_divisionSpatial; private static sliceSpatial_relationOfBoxAndBox; private static computeSpatial; private static computeDivision; private static computeDivision_subSurface; private static linkSubSurface; private static linkSubSurface_spatialAndSpatial; private static linkSubSurface_spatialAndDivision; private static linkSubSurface_divisionAndDivision; private static linkSubSurface_coplaneAndCoplane; private static linkSubSurface_isSamePolygon; private static generatePolygon; private static setSegmentSurface; private static setSegmentSurfaceArray; } } declare module "foundation/runtime/graphics/squared/SquaredClip" { import { BufferGeometry } from "foundation/runtime/graphics/data/BufferGeometry"; export class SquaredClipUtil { static squaredClipXY(buffer: BufferGeometry, left: number, right: number, back: number, front: number): Array; static squaredClipXZ(buffer: BufferGeometry, left: number, right: number, bottom: number, top: number): Array; private static checkClipPositionError; static cubedClipXYZ(buffer: BufferGeometry, disNegX: number, disPosX: number, disNegY: number, disPosY: number, disNegZ: number, disPosZ: number): Array; private static boundingBox; private static translateBg; } } declare module "foundation/runtime/graphics/texture/CanvasTexture" { import { Texture } from "foundation/runtime/graphics/texture/Texture"; export class CanvasTexture extends Texture { } } declare module "foundation/runtime/graphics/texture/CompressedTexture" { import { Texture } from "foundation/runtime/graphics/texture/Texture"; export class CompressedTexture extends Texture { constructor(mipmaps?: any, width?: any, height?: any, format?: any, type?: any, mapping?: any, wrapS?: any, wrapT?: any, magFilter?: any, minFilter?: any, anisotropy?: any, encoding?: any); } } declare module "foundation/runtime/graphics/texture/CubeTexture" { import { Texture } from "foundation/runtime/graphics/texture/Texture"; export class CubeTexture extends Texture { images: any; constructor(images?: any, mapping?: any, wrapS?: any, wrapT?: any, magFilter?: any, minFilter?: any, format?: any, type?: any, anisotropy?: any, encoding?: any); get(): any; set(value: any): void; } } declare module "foundation/runtime/graphics/texture/DataTexture" { import { Texture } from "foundation/runtime/graphics/texture/Texture"; export class DataTexture extends Texture { } } declare module "foundation/runtime/graphics/texture/FlatTexture" { import { Texture } from "foundation/runtime/graphics/texture/Texture"; export class FlatTexture extends Texture { } } declare module "foundation/runtime/graphics/texture/TextureEnum" { export enum TextureEnum { Unknown = 0, Flat2d = 1, Flat3d = 2, Cube = 3, Depth = 4, Target = 5 } } declare module "foundation/runtime/graphics/texture/TextureFormatEnum" { export enum TextureFormatEnum { Unknown = 0, UnsignedByte = 1, HalfFloat = 2, Float = 3, R32F = 4, RED = 5, RGB = 6, RGBA = 7, RGBA16F = 8, RGBA32F = 9 } } declare module "foundation/runtime/graphics/texture/VideoTexture" { import { Texture } from "foundation/runtime/graphics/texture/Texture"; export class VideoTexture extends Texture { } } declare module "foundation/runtime/graphics/timeline/action/BoomerangTimelineAction" { export class BoomerangTimelineAction { } } declare module "foundation/runtime/graphics/timeline/action/CameraTimelineAction" { export class CameraTimelineAction { } } declare module "foundation/runtime/graphics/timeline/TimelineContext" { export class TimelineContext { mainTimeline: any; timeline: any; action: any; tick: number; currentTick: number; frameSpan: number; span: number; spanSecond: number; } } declare module "foundation/runtime/graphics/timeline/TimelineActions" { import { InstanceObject } from 'cross/runtime/lang/InstanceObject'; import { TimelineAction } from "foundation/runtime/graphics/timeline/TimelineAction"; import { TimelineContext } from "foundation/runtime/graphics/timeline/TimelineContext"; export class TimelineActions extends InstanceObject { protected _actions: Array; constructor(); push(action: TimelineAction): void; testStop(): boolean; process(context: TimelineContext): void; stop(): void; clear(): void; dispose(): void; } } declare module "foundation/runtime/graphics/timeline/Timelines" { export class Timelines { } } declare module "foundation/runtime/graphics/timeline/MainTimeline" { import { InstanceObject } from 'cross/runtime/lang/InstanceObject'; import { Timer } from 'cross/runtime/lang/Timer'; import { TimelineActions } from "foundation/runtime/graphics/timeline/TimelineActions"; import { TimelineContext } from "foundation/runtime/graphics/timeline/TimelineContext"; import { Timelines } from "foundation/runtime/graphics/timeline/Timelines"; export class MainTimeline extends InstanceObject { timer: Timer; protected _context: TimelineContext; actions: TimelineActions; timelines: Timelines; protected _startTick: number; protected _lastTick: number; protected _interval: number; constructor(); setup(): void; start(): void; alloc(type?: Function): any; process(): boolean; stop(): void; clear(): void; dispose(): void; } } declare module "foundation/runtime/graphics/timeline/Timeline" { import { Dispatcher } from 'cross/runtime/lang/Dispatcher'; import { MainTimeline } from "foundation/runtime/graphics/timeline/MainTimeline"; export class Timeline extends Dispatcher { mainTimeline: MainTimeline; } } declare module "foundation/runtime/graphics/timeline/TimelineWorker" { import { InstanceObject } from 'cross/runtime/lang/InstanceObject'; import { TimelineContext } from "foundation/runtime/graphics/timeline/TimelineContext"; export class TimelineWorker extends InstanceObject { code: string; delay: number; duration: number; tick: number; recordTick: number; startTick: number; lastTick: number; statusBegin: boolean; statusEnd: boolean; statusStop: boolean; constructor(); setup(): void; start(): void; onBegin(context: TimelineContext): void; begin(context: TimelineContext): void; onProcess(context: any): void; process(context: TimelineContext): void; onEnd(context: TimelineContext): void; end(context: TimelineContext): void; stop(): void; } } declare module "foundation/runtime/graphics/timeline/TimelineAction" { import { MainTimeline } from "foundation/runtime/graphics/timeline/MainTimeline"; import { Timeline } from "foundation/runtime/graphics/timeline/Timeline"; import { TimelineWorker } from "foundation/runtime/graphics/timeline/TimelineWorker"; export class TimelineAction extends TimelineWorker { mainTimeline: MainTimeline; timeline: Timeline; start(): void; } } declare module "foundation/runtime/graphics/timeline/action/NumberTimelineAction" { import { TimelineAction } from "foundation/runtime/graphics/timeline/TimelineAction"; import { TimelineContext } from "foundation/runtime/graphics/timeline/TimelineContext"; export class NumberTimelineAction extends TimelineAction { sourceValue: number; targetValue: number; currentValue: number; count: number; current: number; step: number; invoker: any; constructor(); onBegin(context: TimelineContext): void; onProcess(context: TimelineContext): void; onEnd(context: TimelineContext): void; } } declare module "foundation/runtime/graphics/timeline/action/RotateAxisTimelineAction" { export class RotateAxisTimelineAction { } } declare module "foundation/runtime/graphics/timeline/action/RotateTimelineAction" { export class RotateTimelineAction { } } declare module "foundation/runtime/graphics/timeline/action/TransformTimelineAction" { export class TransformTimelineAction { } } declare module "foundation/runtime/graphics/timeline/action/TranslateTimelineAction" { export class TranslateTimelineAction { } } declare module "foundation/runtime/graphics/timeline/invoker/PropertyInvoker" { export class PropertyInvoker { owner: any; name: string; constructor(owner?: any, name?: string); call(value?: any): void; } } declare module "foundation/runtime/graphics/timeline/TimelineLoop" { export class TimelineLoopEnum { static Play: string; static Loop: string; static LoopRevert: string; } } declare module "foundation/runtime/graphics/timeline/TimelineActionProcessor" { import { TimelineAction } from "foundation/runtime/graphics/timeline/TimelineAction"; import { TimelineLoopEnum } from "foundation/runtime/graphics/timeline/TimelineLoop"; export class TimelineActionProcessor { action: TimelineAction; loopCd: TimelineLoopEnum; loopCount: number; stop(): void; clear(): void; } } declare module "foundation/runtime/graphics/timeline/TimelineSection" { export class TimelineSection { } } declare module "foundation/runtime/graphics/timeline/TimelineSections" { export class TimelineSections { } }