Re: [gdal-dev] OGRPoint: fundamentals

2016-01-29 Thread Ari Jolma
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 sy

Re: [gdal-dev] OGRPoint: fundamentals

2016-01-29 Thread Ari Jolma
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

Re: [gdal-dev] OGRPoint: fundamentals

2016-01-29 Thread Even Rouault
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

Re: [gdal-dev] OGRPoint: fundamentals

2016-01-29 Thread Ari Jolma
29.01.2016, 09:55, Ari Jolma kirjoitti: 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

[gdal-dev] OGRPoint: fundamentals

2016-01-28 Thread Ari Jolma
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,