Class GeoJSONDocument
java.lang.Object
org.noise_planet.noisemodelling.pathfinder.utils.documents.GeoJSONDocument
Export rays for validation
-
Field Summary
FieldsModifier and TypeFieldDescriptioncom.fasterxml.jackson.core.JsonGeneratorintorg.cts.op.CoordinateOperation -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddoTransform(org.locationtech.jts.geom.Geometry geometry) voidsetInputCRS(String crs) voidsetRounding(int rounding) voidwriteCoordinate(org.locationtech.jts.geom.Coordinate coordinate) Write coordinate positions.voidwriteCutPoint(CutPoint cutPoint) voidvoidvoidwriteNumber(double number) voidwriteProfile(CutProfile profile) voidwriteTopographic(List<Triangle> triVertices, List<org.locationtech.jts.geom.Coordinate> vertices) Write topography triangles
-
Field Details
-
jsonGenerator
public com.fasterxml.jackson.core.JsonGenerator jsonGenerator -
crs
-
rounding
public int rounding -
transform
public org.cts.op.CoordinateOperation transform
-
-
Constructor Details
-
GeoJSONDocument
- Throws:
IOException
-
-
Method Details
-
doTransform
public void doTransform(org.locationtech.jts.geom.Geometry geometry) -
setInputCRS
public void setInputCRS(String crs) throws org.cts.crs.CRSException, org.cts.op.CoordinateOperationException - Throws:
org.cts.crs.CRSExceptionorg.cts.op.CoordinateOperationException
-
setRounding
public void setRounding(int rounding) -
writeHeader
- Throws:
IOException
-
writeProfile
- Parameters:
profile-- Throws:
IOException
-
writeCutPoint
- Parameters:
cutPoint-- Throws:
IOException
-
writeTopographic
public void writeTopographic(List<Triangle> triVertices, List<org.locationtech.jts.geom.Coordinate> vertices) throws IOException Write topography triangles- Parameters:
triVertices-vertices-- Throws:
IOException
-
writeCoordinate
Write coordinate positions.- Parameters:
coordinate-- Throws:
IOException
-
writeNumber
- Throws:
IOException
-