AForge.Math.Geometry.GrahamConvexHull.PointToProcess.CompareTo C# (CSharp) 메소드

CompareTo() 공개 메소드

public CompareTo ( object obj ) : int
obj object
리턴 int
            public int CompareTo( object obj )
            {
                PointToProcess another = (PointToProcess) obj;

                return ( K < another.K ) ? -1 : ( K > another.K ) ? 1 :
                    ( ( Distance > another.Distance ) ? -1 : ( Distance < another.Distance ) ? 1 : 0 );
            }
GrahamConvexHull.PointToProcess