class DrillPt { float x; float y; DrillPt() { this.x = 0; this.y = 0; } DrillPt(float _x, float _y) { set(_x, _y); } void set(float _x, float _y) { this.x=_x; this.y=_y; } float getx() { return x; } float gety() { return y; } }