public class GaussianLineSmoothing extends Object
Modifier and Type | Method and Description |
---|---|
static org.locationtech.jts.geom.LineString |
get(org.locationtech.jts.geom.LineString line,
double sigmaM) |
static org.locationtech.jts.geom.LineString |
get(org.locationtech.jts.geom.LineString line,
double sigmaM,
double resolution)
Line gaussian smoothing.
|
public static org.locationtech.jts.geom.LineString get(org.locationtech.jts.geom.LineString line, double sigmaM)
line
- sigmaM
- public static org.locationtech.jts.geom.LineString get(org.locationtech.jts.geom.LineString line, double sigmaM, double resolution)
line
- The input linesigmaM
- The standard deviation of the gaussian kernel. The larger,
the more smoothed.resolution
- The target resolution of the geometry. This parameter is
used to filter/simplify the final geometry.Copyright © 2023. All rights reserved.