[gdal-dev] OGRPoint: fundamentals

Ari Jolma ari.jolma at gmail.com
Fri Jan 29 01:22:05 PST 2016



29.01.2016, 11:20, Ari Jolma kirjoitti:
>
>
> 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.

Sorry, it is assigned in all I believe.

Still (re)learning some C++ issues. :)

Ari

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