select method

void select(
  1. MonotoneChainI mc,
  2. int startIndex
)

This method is overridden to process a segment in the context of the parent chain.

@param mc the parent chain @param startIndex the index of the start vertex of the segment being processed

Implementation

void select(MonotoneChainI mc, int startIndex) {
  mc.getLineSegment(startIndex, selectedSegment);
  // call this routine in case select(segmenet) was overridden
  selectLS(selectedSegment);
}