public class TransformVisitor<P extends Position,Q extends Position> extends Object implements GeometryVisitor<P>
| Constructor and Description |
|---|
TransformVisitor(TransformOperation<P,Q> op) |
| Modifier and Type | Method and Description |
|---|---|
<G extends Geometry<P>> |
endVisit(AbstractGeometryCollection<P,G> collection) |
Geometry<Q> |
getTransformed() |
void |
reset()
Reset state for a new visit
|
TransformVisitor<Q,P> |
reversed() |
<G extends Geometry<P>> |
visit(AbstractGeometryCollection<P,G> collection)
Visits a
GeometryCollection. |
void |
visit(LineString<P> lineString)
Visits a
LineString. |
void |
visit(Point<P> point)
Visits a
Point |
void |
visit(Polygon<P> polygon)
Visits a
Polygon. |
public TransformVisitor(TransformOperation<P,Q> op)
public void reset()
public TransformVisitor<Q,P> reversed()
public void visit(Point<P> point)
GeometryVisitorPointvisit in interface GeometryVisitor<P extends Position>public void visit(LineString<P> lineString)
GeometryVisitorLineString.visit in interface GeometryVisitor<P extends Position>public void visit(Polygon<P> polygon)
GeometryVisitorPolygon.visit in interface GeometryVisitor<P extends Position>public <G extends Geometry<P>> void visit(AbstractGeometryCollection<P,G> collection)
GeometryVisitorGeometryCollection.
The collection will pass the visitor to it constituent parts.
visit in interface GeometryVisitor<P extends Position>public <G extends Geometry<P>> void endVisit(AbstractGeometryCollection<P,G> collection)
endVisit in interface GeometryVisitor<P extends Position>Copyright © 2021 geolatte.org. All rights reserved.