public LineString fromTransferObject ( LineStringTo input , CrsId crsId ) { if ( input == null ) { return null ; } crsId = getCrsId ( input , crsId ) ; isValid ( input ) ; return new LineString ( createPointSequence ( input . getCoordinates ( ) , crsId ) ) ; }
Creates a linestring object starting from a transfer object .