Segment constructor
Segment({
- int id = -1,
- Coordinate start,
- Coordinate end,
- SegmentFill myFill,
- SegmentFill otherFill,
Implementation
Segment({this.id = -1, this.start, this.end, this.myFill, this.otherFill}) {
if (myFill == null) myFill = SegmentFill();
}