Thanks, updated trunk.

On 2013-08-19 14:16, Nicolas Fortin (OrbisGIS) wrote:
/**
     * @param coordinates Coordinate array
     * @return True if the array is empty or contain only 2d coordinates.
     */
    private static boolean is2d(Coordinate[] coordinates) {
        if(coordinates==null) {
            return true;
        }
        for(Coordinate coordinate : coordinates) {
            if(!Double.isNaN(coordinate.z)) {
                return false;
            }
        }
        return true;
    }

--
You received this message because you are subscribed to the Google Groups "H2 
Database" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/h2-database.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to