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_Edge } 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 CadCoreEdge extends CoreEntity { protected _shape: TopoDS_Shape; protected _edge: TopoDS_Edge; constructor(_shape: TopoDS_Shape, _edge: TopoDS_Edge, _index: number); edge(): TopoDS_Edge; 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[]; }