class GeometryEdit {

    public static LineString linearZInterpolation(LineString lineString, double startz, double endz) {
        if (Double.isNaN(startz) || Double.isNaN(endz)) {
            return lineString;
        } else {
            double length = lineString.getLength();
            lineString.apply(new LinearZInterpolationFilter(startz, endz, length));
            return lineString;
        }
    }

    private  GeometryEdit();

}