Class IsoSurface
java.lang.Object
org.noise_planet.noisemodelling.jdbc.utils.IsoSurface
Create isosurfaces
- Author:
- Nicolas Fortin, Université Gustave Eiffel
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcreateTable(Connection connection) voidcreateTable(Connection connection, String pkField) doubleorg.h2gis.api.ProgressVisitordoublegetUniquePeriods(Connection connection) Retrieve all unique time periods in receivers level tablebooleanvoidsetEpsilon(double epsilon) voidsetIsoLabels(List<String> isoLabels) voidsetMergeTriangles(boolean mergeTriangles) voidsetOutputTable(String outputTable) voidsetPointTable(String pointTable) Point table where primary key is referenced by triangle table PK_1, PK_2, PK_3voidsetPointTableField(String pointTableField) voidsetProgressVisitor(org.h2gis.api.ProgressVisitor progressVisitor) voidsetSmooth(boolean smooth) voidsetSmoothCoefficient(double smoothCoefficient) voidsetTriangleTable(String triangleTable) Triangle table with fields THE_GEOM, PK_1, PK_2, PK_3, CELL_ID
-
Field Details
-
NF31_133_ISO
-
-
Constructor Details
-
IsoSurface
- Parameters:
isoLevels- Iso levels in dB. First range start with -Infinity then first level excluded.
-
-
Method Details
-
setIsoLabels
-
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
-
setPointTableField
- Parameters:
pointTableField- Field with level in dB(A)
-
getPointTable
-
setPointTable
Point table where primary key is referenced by triangle table PK_1, PK_2, PK_3- Parameters:
pointTable- table name
-
getTriangleTable
-
setTriangleTable
Triangle table with fields THE_GEOM, PK_1, PK_2, PK_3, CELL_ID -
getOutputTable
-
setOutputTable
-
createTable
- Parameters:
connection-- Throws:
SQLException
-
getUniquePeriods
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
- Parameters:
connection-pkField- Field name in point table to join with Triangle table and point table- Throws:
SQLException
-