reverse method
void
reverse()
Reverses the direction of the line segment.
Implementation
void reverse() {
Coordinate temp = p0;
p0 = p1;
p1 = temp;
}
Reverses the direction of the line segment.
void reverse() {
Coordinate temp = p0;
p0 = p1;
p1 = temp;
}