jsketcher/web/app/brep/geom/curve.js
2017-08-23 00:03:53 -07:00

37 lines
551 B
JavaScript

export class Curve {
constructor() {
}
intersectCurve(curve) {
throw 'not implemented';
}
parametricEquation(t) {
throw 'not implemented';
}
translate(vector) {
throw 'not implemented';
}
approximate(resolution, from, to, path) {
}
}
Curve.prototype.isLine = false;
export class CompositeCurve {
constructor() {
this.curves = [];
this.points = [];
this.groups = [];
}
add(curve, point, group) {
this.curves.push(curve);
this.points.push(point);
this.groups.push(group);
}
}