getIndexAlongSegment method
Computes the index (order) of the intIndex'th intersection point in the direction of a specified input line segment
@param segmentIndex is 0 or 1 @param intIndex is 0 or 1
@return the index of the intersection point along the input segment (0 or 1)
Implementation
int getIndexAlongSegment(int segmentIndex, int intIndex) {
computeIntLineIndex();
return intLineIndex![segmentIndex][intIndex];
}