public String toString(){
  return WKTWriter.toLineString(new CoordinateArraySequence(getCoordinates()));
}

public String toString ( ) { return WKTWriter . toLineString ( new CoordinateArraySequence ( getCoordinates ( ) ) ) ; }
gets a string representation of this object .
