UNPKG

@polygonjs/polygonjs

Version:

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

20 lines (19 loc) 1.02 kB
import { CoreEntity } from '../../CoreEntity'; import { TopoDS_Shape, TopoDS_Face } from './CadCommon'; import { Vector2, Vector3, Vector4 } from 'three'; import { AttribValue, NumericAttribValue } from '../../../../types/GlobalTypes'; import { ObjectBuilder, CoreObjectType } from '../../ObjectContent'; import { AttribClass } from '../../Constant'; export declare class CadCoreFace extends CoreEntity { protected _shape: TopoDS_Shape; protected _face: TopoDS_Face; constructor(_shape: TopoDS_Shape, _face: TopoDS_Face, _index: number); face(): TopoDS_Face; geometry(): TopoDS_Shape; builder<T extends CoreObjectType>(): ObjectBuilder<T> | undefined; setAttribValue(attribName: string, attribValue: NumericAttribValue | string): void; attribValue(attribName: string, target?: Vector2 | Vector3 | Vector4): AttribValue | undefined; stringAttribValue(attribName: string): string | null; position(target: Vector3): Vector3; relatedEntities(attribClass: AttribClass): CoreEntity[]; }