public Dot(int _number, double _x, double _y, AbstractPoly _owner) { this.x = _x; this.y = _y; this.number = _number; this.owner = _owner; }
public Line(Dot begin, Dot end, AbstractPoly owner) { this.begin = begin; this.end = end; this.owner = owner; }