public static final class GeometryUtils.EnvelopeTarget extends GeometryUtils.Target
| 构造器和说明 |
|---|
EnvelopeTarget()
Creates a new envelope calculation target.
|
| 限定符和类型 | 方法和说明 |
|---|---|
protected void |
addCoordinate(double x,
double y,
double z,
double m,
int index,
int total)
Invoked to add a coordinate to a geometry.
|
double[] |
getEnvelope()
Returns the envelope.
|
protected void |
startLineString(int numPoints)
Invoked before writing a LINESTRING.
|
protected void |
startPoint()
Invoked before writing a POINT.
|
protected void |
startPolygon(int numInner,
int numPoints)
Invoked before writing a POLYGON.
|
protected void |
startPolygonInner(int numInner)
Invoked before writing an inner polygon in POLYGON.
|
dimensionSystem, endCollectionItem, endNonEmptyPolygon, endObject, init, startCollection, startCollectionItemprotected void startPoint()
GeometryUtils.TargetstartPoint 在类中 GeometryUtils.Targetprotected void startLineString(int numPoints)
GeometryUtils.TargetstartLineString 在类中 GeometryUtils.TargetnumPoints - number of points in line stringprotected void startPolygon(int numInner,
int numPoints)
GeometryUtils.TargetstartPolygon 在类中 GeometryUtils.TargetnumInner - number of inner polygonsnumPoints - number of points in outer polygonprotected void startPolygonInner(int numInner)
GeometryUtils.TargetstartPolygonInner 在类中 GeometryUtils.TargetnumInner - number of points in inner polygonprotected void addCoordinate(double x,
double y,
double z,
double m,
int index,
int total)
GeometryUtils.TargetaddCoordinate 在类中 GeometryUtils.Targetx - X coordinatey - Y coordinatez - Z coordinate (NaN if not used)m - M coordinate (NaN if not used)index - 0-based index of coordinate in the current sequencetotal - total number of coordinates in the current sequencepublic double[] getEnvelope()
Copyright © 2022. All rights reserved.