jsketcher/web/app/cad/model/msketchObject.ts
2020-06-09 21:52:49 -07:00

18 lines
No EOL
405 B
TypeScript

import {MObject} from './mobject';
import {MFace} from "./mface";
export class MSketchObject extends MObject {
static TYPE = 'sketchObject';
face: MFace;
sketchPrimitive: any;
construction: boolean;
constructor(face, sketchPrimitive) {
super(MSketchObject.TYPE, sketchPrimitive.id);
this.face = face;
this.sketchPrimitive = sketchPrimitive;
this.construction = false;
}
}