[gdal-dev] OGRPoint: fundamentals

Ari Jolma ari.jolma at gmail.com
Fri Jan 29 01:20:35 PST 2016



29.01.2016, 11:13, Even Rouault kirjoitti:
> Le vendredi 29 janvier 2016 08:55:37, Ari Jolma a écrit :
>> 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?
> Yes they are supposed to do the same thing and hopefully the implementation
> does that currently.

The spatial reference is only assigned in clone. Also I'm not sure about 
the nCoordDimension.

Ari

>
>> 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?
> Yes
>
>



More information about the gdal-dev mailing list