[geos-devel] SegmentString modeling

Mateusz Łoskot mateusz at loskot.net
Fri Feb 17 12:55:02 EST 2006


strk at refractions.net wrote:
> Need some help from C++ gurus. One of the new JTS classes expects to 
> modify the Coordinates associated with a SegmentString.

I wonder why SegmentString::pts is declared as
const CoordinateSequence* pts;

As I see, in JTS sources SegmentString::pts is not declared as const.
I'm not a Java guru but IMHO const in Java has similar meaning
as in C++.

Cheers
-- 
Mateusz Łoskot
http://mateusz.loskot.net



More information about the geos-devel mailing list