segmentNew method

Segment segmentNew(
  1. Coordinate start,
  2. Coordinate end
)

Implementation

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