protected Segment createSegment(List newPoints){
  return new Segment(newPoints);
}

protected Segment createSegment ( List newPoints ) { return new Segment ( newPoints ) ; }
allows subclasses to redefine segments
