UNPKG

dxf-parser

Version:

Parse dxf files into a readable, logical js object.

21 lines (20 loc) 723 B
import { IVertexEntity } from './vertex'; import IGeometry, { IEntity, IPoint } from './geomtry'; import DxfArrayScanner, { IGroup } from '../DxfArrayScanner'; export interface IPolylineEntity extends IEntity { vertices: IVertexEntity[]; thickness: number; shape: boolean; includesCurveFitVertices: boolean; includesSplineFitVertices: boolean; is3dPolyline: boolean; is3dPolygonMesh: boolean; is3dPolygonMeshClosed: boolean; isPolyfaceMesh: boolean; hasContinuousLinetypePattern: boolean; extrusionDirection: IPoint; } export default class Polyline implements IGeometry { ForEntityName: "POLYLINE"; parseEntity(scanner: DxfArrayScanner, curr: IGroup): IPolylineEntity; }