jsketcher/web/app/cad/model/mvertex.ts
2020-06-20 21:53:23 -07:00

20 lines
No EOL
351 B
TypeScript

import {MObject} from './mobject';
import {MShell} from "./mshell";
export class MVertex extends MObject {
static TYPE = 'vertex';
shell: MShell;
brepVertex: any;
constructor(id, shell, brepVertex) {
super(MVertex.TYPE, id);
this.shell = shell;
this.brepVertex = brepVertex;
}
get parent() {
return this.shell;
}
}