getSegmentIndex method

int getSegmentIndex()

Returns the segment index for this location. If the location is inside an area, the index will have the value {@link #INSIDE_AREA};

@return the segment index for the location, or INSIDE_AREA

Implementation

int getSegmentIndex() {
  return segIndex;
}