public int CompareTo(VertexInPlane <TVertex> other)
        {
            int cmpVal = Vertex.CompareTo(other.Vertex);

            if (cmpVal != 0)
            {
                return(cmpVal);
            }

            cmpVal = Position.X.CompareTo(other.Position.X);
            if (cmpVal != 0)
            {
                return(cmpVal);
            }

            cmpVal = Position.Y.CompareTo(other.Position.Y);
            return(cmpVal);
        }
 public bool Equals(VertexInPlane <TVertex> other)
 {
     return(Vertex.Equals(other.Vertex) && Position.Equals(other.Position));
 }