Class OffsetPointGenerator
- java.lang.Object
-
- com.vividsolutions.jts.operation.overlay.validate.OffsetPointGenerator
-
public class OffsetPointGenerator extends java.lang.ObjectGenerates points offset by a given distance from both sides of the midpoint of all segments in aGeometry. 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, butsetSidesToGenerate(boolean, boolean)is only meaningful if the orientation is known.- Version:
- 1.7
- Author:
- Martin Davis
-
-
Constructor Summary
Constructors Constructor Description OffsetPointGenerator(Geometry g)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.ListgetPoints(double offsetDistance)Gets the computed offset points.voidsetSidesToGenerate(boolean doLeft, boolean doRight)Set the sides on which to generate offset points.
-
-
-
Constructor Detail
-
OffsetPointGenerator
public OffsetPointGenerator(Geometry g)
-
-