public NodedSegmentString(Coordinate[] pts,Object data){
  this.pts=pts;
  this.data=data;
}

public NodedSegmentString ( Coordinate [ ] pts , Object data ) { this . pts = pts ; this . data = data ; }
creates a new segment string from a list of vertices .
