public static bool operator ==(Rect <T> a, Rect <T> b) { return(GenericArithmetic <T> .eq(a.x, b.x) && GenericArithmetic <T> .eq(a.y, b.y) && GenericArithmetic <T> .eq(a.width, b.width) && GenericArithmetic <T> .eq(a.height, b.height)); }
public static bool operator ==(Point <T> a, Point <T> b) { return(GenericArithmetic <T> .eq(a.x, b.x) && GenericArithmetic <T> .eq(a.y, b.y)); }