docs: static boolean isConvexUsingMaxDistantPoints(List<Point2D_I32> contour , int indexA , int indexB )
  	{
  		double d = Math.sqrt(distanceSq(contour.get(indexA),contour.get(indexB)));
  
  		// conservative upper bounds would be 1/2 a circle, including interior side.
  		int maxAllowed = (int)((Math.PI+1)*d+0.5);
  
  		int length0 = CircularIndex.distanceP(indexA,indexB,contour.size());
  		int length1 = CircularIndex.distanceP(indexB,indexA,contour.size());
  
  		return length0 <= maxAllowed && length1 <= maxAllowed;
  	}