Re: [QGIS-Developer] segmentSide and leftOfLine functions

2019-01-17 Thread Raymond Nijssen
Should be fixed -- looks like needless duplication to me. One of the methods should be deprecated and tagged for removal in QGIS 4.0. Can't leftOfLine() be removed before the 3.6 release? Hasn't been used too much yet, I think. Is it possible to find out who added it? I tried git blame but

Re: [QGIS-Developer] segmentSide and leftOfLine functions

2019-01-16 Thread Nyall Dawson
On Wed, 16 Jan 2019 at 00:08, Raymond Nijssen wrote: > > Since 2 months there's a new function called leftOfLine() which > calculates if a point is left or right from a line(segment). While using > it I wondered why: > > It returns > -1 if point is on left side > 1 if point is on right side > >

[QGIS-Developer] segmentSide and leftOfLine functions

2019-01-15 Thread Raymond Nijssen
Since 2 months there's a new function called leftOfLine() which calculates if a point is left or right from a line(segment). While using it I wondered why: It returns -1 if point is on left side 1 if point is on right side cause I would expect the opposite result, or call the function