copy method

Copies this location

@return a copy of this location

Implementation

LinearLocation copy() {
  return new LinearLocation.fromComponentSegmentIndexFraction(
      componentIndex, segmentIndex, segmentFraction);
}