mirror of
https://github.com/xibyte/jsketcher
synced 2025-12-14 20:33:30 +01:00
20 lines
306 B
JavaScript
20 lines
306 B
JavaScript
|
|
export class Surface {
|
|
|
|
constructor() {
|
|
|
|
}
|
|
|
|
intersect(other) {
|
|
return this.toNurbs.intersect(other.toNurbs());
|
|
};
|
|
|
|
toNurbs() {
|
|
throw 'not implemented';
|
|
}
|
|
|
|
isSameClass(other) {
|
|
return this.constructor.name == other.constructor.name;
|
|
}
|
|
}
|
|
Surface.prototype.isPlane = false;
|