Esempio n. 1
0
        //public static CCmpDbl_CoordVerySmall sComparer = new CCmpDbl_CoordVerySmall();

        public override bool Equals(CPoint x, CPoint y)
        {
            if (CCmpMethods.CmpCptYX(x, y) == 0)
            {
                return(true);
            }
            else
            {
                return(false);
            }
        }
Esempio n. 2
0
 public override int Compare(CPoint cpt1, CPoint cpt2)
 {
     return(CCmpMethods.CmpCptYX(cpt1, cpt2));
 }