scale method

List scale(
  1. List segStrings
)

Implementation

List scale(List segStrings) {
  List<NodedSegmentString> nodedSegmentStrings = [];
  for (SegmentString ss in segStrings) {
    nodedSegmentStrings.add(new NodedSegmentString(
        scaleCoords(ss.getCoordinates()), ss.getData()));
  }
  return nodedSegmentStrings;
}