mirror of
https://github.com/xibyte/jsketcher
synced 2025-12-06 08:25:19 +01:00
21 lines
No EOL
407 B
TypeScript
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;
|
|
}
|
|
|
|
} |