int [] pcsegment(<geometry>geometry, stringPChannel, vectorP0, vectorP1, floatmax_distance, intmaxpoints)
I thought it just collects points around the line between P0 and P1 vectors but the most of the case, it collects points only around either P0 or P1. I found it works expectedly only when the angle between vector ((0,0,0) to P0) and vector (P0 to P1) is close to 90 degrees.
I am just curious if it is the correct behavior or bug.
the result can be spasmodic when the line in question is far enough away from Origin.
Here's a file to illustrate the bug. Angle can be anything, it works fine…but if the line is translated away from Origin far enough, result is unpredictable.