public interface CurvedGeometry<T extends Geometry>
Modifier and Type | Method and Description |
---|---|
int |
getCoordinatesDimension()
Returns the dimension of the geometry without forcing access to the coordinate sequence
|
double |
getTolerance()
The default linearization tolerance
|
T |
linearize()
Linearizes the geometry using the built-in linearization tolerance
|
T |
linearize(double tolerance)
Linearizes the geometry using the provided tolerance, the result is guaranteed to be less
than tolerance away from the curved geometry unless the number of points needed to linearize
the geometry exceeds the build-in per quadrant maximum, see
CircularArc.MAX_SEGMENTS_QUADRANT |
String |
toCurvedText()
Parallel method to
Geometry.toText() that will output the geometry as curved instead
of as linear |
T linearize()
T linearize(double tolerance)
CircularArc.MAX_SEGMENTS_QUADRANT
tolerance
- Linearization tolerance, should be zero or positive. When zero is used, the
maximum number of allowed linearization points will be used, see CircularArc.MAX_SEGMENTS_QUADRANT
String toCurvedText()
Geometry.toText()
that will output the geometry as curved instead
of as lineardouble getTolerance()
int getCoordinatesDimension()
Copyright © 1996–2019 Geotools. All rights reserved.