question: public static double norm2 ( Point2D A , Point2D B ) { return ( A . getX ( ) - B . getX ( ) ) * ( A . getX ( ) - B . getX ( ) ) + ( A . getY ( ) - B . getY ( ) ) * ( A . getY ( ) - B . getY ( ) ) ; }
target:  Computes the segment square length