Class IsoSurface

java.lang.Object
org.noise_planet.noisemodelling.jdbc.utils.IsoSurface

public class IsoSurface extends Object
Create isosurfaces
Author:
Nicolas Fortin, Université Gustave Eiffel
  • Field Details

    • NF31_133_ISO

      public static final List<Double> NF31_133_ISO
  • Constructor Details

    • IsoSurface

      public IsoSurface(List<Double> isoLevels, int srid)
      Parameters:
      isoLevels - Iso levels in dB. First range start with -Infinity then first level excluded.
  • Method Details

    • setIsoLabels

      public void setIsoLabels(List<String> isoLabels)
    • setSmooth

      public void setSmooth(boolean smooth)
      Parameters:
      smooth - If true smooth generated polygons
    • getSmoothCoefficient

      public double getSmoothCoefficient()
    • isMergeTriangles

      public boolean isMergeTriangles()
      Returns:
      True if triangles will be merged using isolevel attribute
    • setMergeTriangles

      public void setMergeTriangles(boolean mergeTriangles)
      Parameters:
      mergeTriangles - True if triangles will be merged using isolevel attribute, Z ordinate will be lost
    • setSmoothCoefficient

      public void setSmoothCoefficient(double smoothCoefficient)
      Parameters:
      smoothCoefficient - Coefficient of polygons smoothing [0-1]
    • setEpsilon

      public void setEpsilon(double epsilon)
      Parameters:
      epsilon - Merge distance of polygons vertices
    • getEpsilon

      public double getEpsilon()
    • getPointTableField

      public String getPointTableField()
    • setPointTableField

      public void setPointTableField(String pointTableField)
      Parameters:
      pointTableField - Field with level in dB(A)
    • getPointTable

      public String getPointTable()
    • setPointTable

      public void setPointTable(String pointTable)
      Point table where primary key is referenced by triangle table PK_1, PK_2, PK_3
      Parameters:
      pointTable - table name
    • getTriangleTable

      public String getTriangleTable()
    • setTriangleTable

      public void setTriangleTable(String triangleTable)
      Triangle table with fields THE_GEOM, PK_1, PK_2, PK_3, CELL_ID
    • getOutputTable

      public String getOutputTable()
    • setOutputTable

      public void setOutputTable(String outputTable)
    • createTable

      public void createTable(Connection connection) throws SQLException
      Parameters:
      connection -
      Throws:
      SQLException
    • getUniquePeriods

      public List<String> getUniquePeriods(Connection connection) throws SQLException
      Retrieve all unique time periods in receivers level table
      Parameters:
      connection - SQL connection
      Returns:
      List of unique periods
      Throws:
      SQLException - Error during SQL query
    • getProgressVisitor

      public org.h2gis.api.ProgressVisitor getProgressVisitor()
      Returns:
      instance of progress information
    • setProgressVisitor

      public void setProgressVisitor(org.h2gis.api.ProgressVisitor progressVisitor)
      Parameters:
      progressVisitor - Progress informations
    • createTable

      public void createTable(Connection connection, String pkField) throws SQLException
      Parameters:
      connection -
      pkField - Field name in point table to join with Triangle table and point table
      Throws:
      SQLException