Initialize the End Point
This method takes two arguments: the end point and the target list. It does the following:
- Adds the end point to the target list.
- 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.
- 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.