isVertical method
Tests whether the segment is vertical.
@return true
if the segment is vertical
Implementation
bool isVertical() {
return p0.x == p1.x;
}
Tests whether the segment is vertical.
@return true
if the segment is vertical
bool isVertical() {
return p0.x == p1.x;
}