public class OffsetPointGenerator extends Object
Geometry
.
Can be used to generate probe points for
determining whether a polygonal overlay result
is incorrect.
The input geometry may have any orientation for its rings,
but setSidesToGenerate(boolean, boolean)
is
only meaningful if the orientation is known.Constructor and Description |
---|
OffsetPointGenerator(Geometry g) |
Modifier and Type | Method and Description |
---|---|
List |
getPoints(double offsetDistance)
Gets the computed offset points.
|
void |
setSidesToGenerate(boolean doLeft,
boolean doRight)
Set the sides on which to generate offset points.
|
public OffsetPointGenerator(Geometry g)
public void setSidesToGenerate(boolean doLeft, boolean doRight)
doLeft
- doRight
- public List getPoints(double offsetDistance)
Copyright © 2022. All rights reserved.