Package org.geolatte.geom
Interface GeometryVisitor<P extends Position>
-
- All Known Implementing Classes:
MeasureInterpolatingVisitor,TransformVisitor
public interface GeometryVisitor<P extends Position>A visitor forGeometrys.- Author:
- Karel Maesen, Geovise BVBA creation-date: 4/22/11
- See Also:
Geometry.accept(GeometryVisitor)
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default <G extends Geometry<P>>
voidendVisit(AbstractGeometryCollection<P,G> collection)<G extends Geometry<P>>
voidvisit(AbstractGeometryCollection<P,G> collection)Visits aGeometryCollection.voidvisit(LineString<P> lineString)Visits aLineString.voidvisit(Point<P> point)Visits aPointvoidvisit(Polygon<P> polygon)Visits aPolygon.
-
-
-
Method Detail
-
visit
void visit(LineString<P> lineString)
Visits aLineString.- Parameters:
lineString-
-
visit
<G extends Geometry<P>> void visit(AbstractGeometryCollection<P,G> collection)
Visits aGeometryCollection.The collection will pass the visitor to it constituent parts.
- Parameters:
collection-
-
endVisit
default <G extends Geometry<P>> void endVisit(AbstractGeometryCollection<P,G> collection)
-
-