All Downloads are FREE. Search and download functionalities are using the official Maven repository.

de.bytefish.pgbulkinsert.pgsql.handlers.utils.GeometricUtils Maven / Gradle / Ivy

There is a newer version: 8.1.4
Show newest version
// Copyright (c) Philipp Wagner. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.

package de.bytefish.pgbulkinsert.pgsql.handlers.utils;

import de.bytefish.pgbulkinsert.pgsql.model.geometric.Point;

import java.io.DataOutputStream;

public class GeometricUtils {

    public static void writePoint(DataOutputStream buffer, final Point value) throws Exception {
        buffer.writeDouble(value.getX());
        buffer.writeDouble(value.getY());
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy