[geos-devel] Comparing two QuadEdge objects
strk at keybit.net
Fri Jul 12 05:42:00 PDT 2013
On Fri, Jul 12, 2013 at 05:45:14PM +0530, vishal tiwari wrote:
> If i want to compare two QuadEdge objects, then i am comparing the elements
> _rot , next , isAlive, data and vertex. As _rot and next are also
> QuadEdges, it goes into a recursion, so i am using the break condition as
> when both objects are NULL.
> I just want to know if this is the correct way to do it? I am asking this
> because i am having troubles in overloading the != operator for QuadEdge.
What do you need comparison operator for ?
When needsd JTS implements a compareTo method, but I don't see any here:
More information about the geos-devel