public static final boolean collinear ( final Point2D p1 , final Point2D p2 , final Point2D p3 ) { return Geometry . collinear ( p1 , p2 , p3 ) ; }
Returns whether the 3 points are colinear i . e . whether they lie on a single straight line .