Initialize the End Point

Land Desktop Map 3D Samples

 
Initialize the End Point
 
 
 

This method takes two arguments: the end point and the target list. It does the following:

  1. Adds the end point to the target list.
  2. Gets the links connected to the end point. This is described in topic Get Neighbor Links.
    NoteFor the case illustrated here, there are two links, the ones labeled ‘B’ and ‘C’ in the graphic. Although ‘B’ is not connected to the end point, it is selected because its envelope intersects with the end point.
  3. For each link returned by previous step do the following:
    • Get the next point from the link. This is described in the topic Get Next Point From Link
    • The arguments passed in are the end point selected by the user, the neighboring link, true indicating that the first argument is either the start point or the end point, and two null point references.
    • Add non-null point references to the target list.
      NoteIn the context of the given example, both of the boundary points of link ‘B’ are added to the target list, and the rightmost boundary point of link ‘C’ is added to the target list.