setCoordinates method
Implementation
void setCoordinates(Coordinate p0, Coordinate p1) {
this.p0.x = p0.x;
this.p0.y = p0.y;
this.p1.x = p1.x;
this.p1.y = p1.y;
}
void setCoordinates(Coordinate p0, Coordinate p1) {
this.p0.x = p0.x;
this.p0.y = p0.y;
this.p1.x = p1.x;
this.p1.y = p1.y;
}