Package org.geotools.feature.visitor
Class BoundsVisitor
Object
BoundsVisitor
- All Implemented Interfaces:
FeatureVisitor
,FeatureCalc
Calculates the extents (envelope) of the features it visits.
- Since:
- 2.2.M2
- Author:
- Cory Horner, Refractions
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the result of the calculation as a handy object which can be merged and modified.void
void
Visit the provided feature.
-
Constructor Details
-
BoundsVisitor
public BoundsVisitor()
-
-
Method Details
-
visit
Description copied from interface:FeatureVisitor
Visit the provided feature.Please consult the documentation for the FeatureCollection you are visiting to learn more - the provided feature may be invalid, or read only.
- Specified by:
visit
in interfaceFeatureVisitor
-
getBounds
-
reset
-
getResult
Description copied from interface:FeatureCalc
Returns the result of the calculation as a handy object which can be merged and modified.- Specified by:
getResult
in interfaceFeatureCalc
- Returns:
- the results of the calculation
-