code: function (index) {
                  if (index == null) {
                      index = -1;
                  }
                  return {
                      visited: false,
                      forPole: false,
                      index: index,
                      linkTo: -1
                  }
              }
docs: Internal. Applications should not call this method.
  @param {Number} index the index of the intersection in the array of points