/// <summary> /// /// </summary> /// <param name="o"></param> /// <returns></returns> public override int CompareToSameClass(object o) { ILinearRing thisShell = shell; ILinearRing otherShell = ((IPolygon)o).Shell; return(thisShell.CompareToSameClass(otherShell)); }