protected static double distance( LineGeneral2D_F64 line , Point2D_I32 p ) {
		return Math.abs(line.A*p.x + line.B*p.y + line.C);
	}
protected static double distance ( LineGeneral2D_F64 line , Point2D_I32 p ) { return Math . abs ( line . A * p . x + line . B * p . y + line . C ) ; }
If A*A + B*B == 1 then a simplified distance formula can be used