|
@@ -69,16 +69,15 @@ export class IntersectionModel extends PointModel {
|
|
|
return [{ id: this.r.id }, { id: this.s.id }, { id: this.index + 1 }, { id: this.posX + 5 }, { id: this.posY - 5 }, { id: this.visible ? 1 : 0 }];
|
|
|
}
|
|
|
|
|
|
- bind(posX, posY, label, r, s, visible, index, id) {
|
|
|
- super.bind(posX, posY, label, id);
|
|
|
+ bind(posX, posY, label, r, s, visible, index) {
|
|
|
+ super.bind(posX, posY, label);
|
|
|
this.r = r;
|
|
|
this.s = s;
|
|
|
- super.setClass(ELEMENTS_CLASS.INTERSECTION_POINT);
|
|
|
this.visible = visible;
|
|
|
this.index = index;
|
|
|
this.color = -65536;
|
|
|
this.definitions = this.getDefinitions();
|
|
|
-
|
|
|
+ super.setClass(ELEMENTS_CLASS.INTERSECTION_POINT);
|
|
|
}
|
|
|
|
|
|
/**
|