mirror of
https://github.com/xibyte/jsketcher
synced 2025-12-14 20:33:30 +01:00
20 lines
No EOL
351 B
TypeScript
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;
|
|
}
|
|
|
|
} |