Get Next Point From Link

Land Desktop Map 3D Samples

 
Get Next Point From Link
 
 
 

This method takes five arguments. a point, a link, a boolean value (true if the point is a start point and false if the point argument is an end point), a null reference to a point, and another null reference to a point. It does the following:

  1. Determines that the point argument and the link’s start point are close and sets the first null point reference to the value of the link’s end point, or
  2. Determines that the point argument and the link’s end point are close and sets the first null point reference to the value of the link’s start point, or
  3. Determines that the point is a start point or an end point and is not close to either the link’s start point or the link’s end point and sets the null point references to the value of the link’s start point and the link’s end point respectively.
  4. Determines that the point is not a start point and not an end point and is not close to either the link’s start point or end point and leaves the null point references null.