Method IsEquivalent
IsEquivalent<TPoint>(IEnumerable<TPoint>, IEnumerable<TPoint>)
Checks if two shapes are equivalent. This happen when all shape1 points are contained in shape2 and vice versa.
public static bool IsEquivalent<TPoint>(IEnumerable<TPoint> shape1, IEnumerable<TPoint> shape2)
Parameters
shape1IEnumerable<TPoint>List of points of the shape1.
shape2IEnumerable<TPoint>List of points of the shape2.
Returns
Type Parameters
TPointThe type of point of the shapes.