public PointTo toTransferObject(Point input) {
        PointTo result = new PointTo();
        result.setCrs(GeoJsonTo.createCrsTo("EPSG:" + input.getSRID()));
        result.setCoordinates(getPoints(input)[0]);
        return result;
    }
public PointTo toTransferObject ( Point input ) { PointTo result = new PointTo ( ) ; result . setCrs ( GeoJsonTo . createCrsTo ( "EPSG:" + input . getSRID ( ) ) ) ; result . setCoordinates ( getPoints ( input ) [ 0 ] ) ; return result ; }
Converts a point to its corresponding Transfer Object

@param input the point object
@return the transfer object for the point