remove getDefaultTool from circle and ellipse since it was moved to a mapping file

This commit is contained in:
Val Erastov 2016-12-08 17:54:32 -08:00
parent 99ceec4cd1
commit 73f318c05a
2 changed files with 0 additions and 14 deletions

View file

@ -39,13 +39,6 @@ export class Circle extends SketchObject {
normalDistance(aim) {
return Math.abs(math.distance(aim.x, aim.y, this.c.x, this.c.y) - this.r.get());
}
getDefaultTool(viewer, alternative) {
if (alternative) {
return super.getDefaultTool(viewer, alternative);
} else {
}
}
}
Circle.prototype._class = 'TCAD.TWO.Circle';

View file

@ -89,13 +89,6 @@ export class Ellipse extends SketchObject {
static findMinorRadius(majorRadius, pntRadius, pntAngle) {
return Math.abs( Math.sin(pntAngle) / Math.sqrt(1 / sq(pntRadius) - sq(Math.cos(pntAngle) / majorRadius)) );
}
getDefaultTool(viewer, alternative) {
if (alternative) {
return super.getDefaultTool(viewer, alternative);
} else {
}
}
}
Ellipse.prototype._class = 'TCAD.TWO.Ellipse';