nowjs-core
Version:
NowCanDo Javascript Core [nowjs-core] is a library written by TypeScript code maintains under Apache 2.0 licence
19 lines (18 loc) • 394 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
const Point2D_1 = require("./Point2D");
class Point3D extends Point2D_1.Point2D {
constructor(x, y, z) {
super(x, y);
this.z = z;
if (!z)
this.z = 0;
}
get Z() {
return this.z;
}
set Z(value) {
this.z = value;
}
}
exports.Point3D = Point3D;