[gdal-dev] OGRPoint: fundamentals

Ari Jolma ari.jolma at gmail.com
Thu Jan 28 23:55:37 PST 2016


A question about OGRPoint.

There are copy constructor, assignment, and clone. Shouldn't these do 
basically the same thing but with a bit different syntax? By the same 
thing I mean that the new point or assignee should have the same flags 
(is_empty, is_3D, is_measured), same coordinate values, and same spatial 
reference?

Also, by the current implementation there is a difference between an 
empty 2D point and empty 3D point. I wonder if this distinction is 
really relied upon someplace?

Ari



More information about the gdal-dev mailing list