segmentCopy method

Segment segmentCopy(
  1. Coordinate start,
  2. Coordinate end,
  3. Segment seg
)

Implementation

Segment segmentCopy(JTS.Coordinate start, JTS.Coordinate end, Segment seg) {
  return Segment(
      id: -1,
      start: start,
      end: end,
      myFill: SegmentFill(above: seg.myFill.above, below: seg.myFill.below),
      otherFill: null);
}