Jelajahi Sumber

Update 'src/app/components/circumference-component/drawers/circumference-drawer.js'

Fix ID numbering and read of GEO with 3 straight lines (not fineshed!)
+ createAndDraw (center, radius): only comments
leo 2 tahun lalu
induk
melakukan
175541811c

+ 3 - 6
src/app/components/circumference-component/drawers/circumference-drawer.js

@@ -133,12 +133,9 @@ export class CircumferenceDrawer extends SelectableDrawer {
     var auxE = "";
     try {
     this.center = center;
-    this.radius = radius;
-    auxE += "1, "; //D
-    this.circumference = new CircumferenceModel(this.center, this.radius);
-    auxE += "2, "; //D
-    const label = Label.draw(true);
-    auxE += "3, "; //D
+    this.radius = radius; //D auxE += "1, "; //D
+    this.circumference = new CircumferenceModel(this.center, this.radius); //D auxE += "2, "; //D
+    const label = Label.draw(true); //D auxE += "3, "; //D
     this.circumference.setLabel(label);
     auxE += "4 (this.circumference.id=" + (this.circumference!=undefined ? this.circumference.id : "<>") + "), "; //D
     this.createByCircumference(this.circumference);