jsketcher/web/app/cad/model/mvertex.ts
2022-06-25 15:19:47 -07:00

21 lines
No EOL
407 B
TypeScript

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