Returns the squared distance between a line's start and end point. If you're just comparing distances, this is slightly more efficient than distanceTo.
distanceTo
Returns the squared distance between a line's start and end point. If you're just comparing distances, this is slightly more efficient than
distanceTo.