hi

i have a piece of code that uses the method

# QueryPointAndDistance .

the method accepts a line and a point and is supposed to return a point that is closest to the given point on the line.

it also returns a few more details.

one of them is bRightSide .

esri defines it as :

"bRightSide is an output parameter that tells if the output point is on the right side of the curve. "

what does on the right side mean ?

close to the from point ?

close to the to point?

what is defined as close ?

help will be appreciated

Avi Saroussi

Raven Radio.

Xander Bakker is correct, the first parameter on the method QueryPointAndDistance is extension, for you to get the red point location you must have set it to

esriExtendTangentAtTo. In your screen shot the nearest point would be the node of the network junction. To get that point you want extension to beesriNoExtension.bRightSide parameter is telling you which side of the line your input point is. Assuming your network is a river network I would expect it to be returning TRUE for your green point as it is on the right bank side.