docs: boolean isSideConvex(List<Point2D_I32> contour, Element<Corner> e1) {
  		// a conservative estimate for concavity. Assumes a triangle and that the farthest
  		// point is equal to the distance between the two corners
  
  		Element<Corner> e2 = next(e1);
  
  		int length = CircularIndex.distanceP(e1.object.index,e2.object.index,contour.size());
  
  		Point2D_I32 p0 = contour.get(e1.object.index);
  		Point2D_I32 p1 = contour.get(e2.object.index);
  
  		double d = p0.distance(p1);
  
  		if (length >= d*convexTest) {
  			return false;
  		}
  		return true;
  	}