Coordinate / CoordinateXY

Paul Ramsey pramsey at cleverelephant.ca
Tue Jun 18 13:47:48 PDT 2024


Do we have a guide somewhere on practices for using CooridnateXY and Coordinate? I’m just starting the RelateNG port, and wondering to myself “should I make these class members Coordinate or CoordinateXY?”. I choose XY, now my problem is “existing function in library is defined with Coordinate as parameters”. Should I be extending the WKTWriter::toLineString method to have an XY variant? casting in my call? something else?

P


More information about the geos-devel mailing list