main/src/georegression/geometry/UtilPolygons2D_I32.java
public static boolean isIdentical(Polygon2D_I32 a , Polygon2D_I32 b  ) {
		if( a.size() != b.size())
			return false;

		for (int i = 0; i < a.size(); i++) {
			if( !a.get(i).equals(b.get(i))  )
				return false;
		}
		return true;
	}
public static boolean isIdentical(Polygon2D_I32 a , Polygon2D_I32 b  ) {
		if( a.size() != b.size())
			return false;

		for (int i = 0; i < a.size(); i++) {
			if( !a.get(i).equals(b.get(i))  )
				return false;
		}
		return true;
	}
public static boolean isIdentical ( Polygon2D_I32 a , Polygon2D_I32 b ) { if ( a . size ( ) != b . size ( ) ) return false ; for ( int i = 0 ; i < a . size ( ) ; i ++ ) { if ( ! a . get ( i ) . equals ( b . get ( i ) ) ) return false ; } return true ; }
Checks to see if the vertexes of the two polygon's are the same up to the specified tolerance

@param a Polygon
@param b Polygon
@return true if identical up to tolerance or false if not
Checks to see if the vertexes of the two polygon s are the same up to the specified tolerance