public class LineLimiter extends Object
This optimization is only applicable to Line geometries,
since it does not maintain the closed topology of rings.
Polygonal geometries are optimized using the RingClipper
.
RingClipper
Constructor and Description |
---|
LineLimiter(Envelope env)
Creates a new limiter for a given envelope.
|
Modifier and Type | Method and Description |
---|---|
List<Coordinate[]> |
limit(Coordinate[] pts)
Limits a list of segments.
|
public LineLimiter(Envelope env)
env
- the envelope to limit topublic List<Coordinate[]> limit(Coordinate[] pts)
pts
- the segment sequence to limitCopyright © 2022. All rights reserved.