6.3.1.3.6. GeoGeometry

public abstract class GeoGeometry implements Serializable

6.3.1.3.6.1. Fields

6.3.1.3.6.1.1. mCRS

protected int mCRS

6.3.1.3.6.1.2. serialVersionUID

protected static final long serialVersionUID

6.3.1.3.6.2. Methods

6.3.1.3.6.2.1. clear

public abstract void clear()

remove all points from geometry

6.3.1.3.6.2.2. clip

public abstract GeoGeometry clip(GeoEnvelope envelope)

6.3.1.3.6.2.3. coordinatesToJSON

public abstract JSONArray coordinatesToJSON()

6.3.1.3.6.2.4. copy

public abstract GeoGeometry copy()

Make deep copy of geometry

Returns:The geometry copy

6.3.1.3.6.2.5. distance

public abstract double distance(GeoGeometry geometry)

6.3.1.3.6.2.6. equals

public boolean equals(Object o)

6.3.1.3.6.2.7. getCRS

public int getCRS()

6.3.1.3.6.2.8. getEnvelope

public abstract GeoEnvelope getEnvelope()

6.3.1.3.6.2.9. getType

public abstract int getType()

6.3.1.3.6.2.10. intersects

public boolean intersects(GeoEnvelope envelope)

6.3.1.3.6.2.11. isValid

public abstract boolean isValid()

6.3.1.3.6.2.12. project

public boolean project(int toCrs)

6.3.1.3.6.2.13. rawProject

protected boolean rawProject(int toCrs)

6.3.1.3.6.2.14. read

public void read(DataInputStream stream)

6.3.1.3.6.2.15. setCRS

public void setCRS(int crs)

6.3.1.3.6.2.16. setCoordinatesFromJSON

public abstract void setCoordinatesFromJSON(JSONArray coordinates)

6.3.1.3.6.2.17. setCoordinatesFromJSONStream

public abstract void setCoordinatesFromJSONStream(JsonReader reader, int crs)

6.3.1.3.6.2.18. setCoordinatesFromWKT

public abstract void setCoordinatesFromWKT(String wkt, int crs)

6.3.1.3.6.2.19. simplify

public abstract GeoGeometry simplify(double tolerance)

6.3.1.3.6.2.20. toBlob

public byte[] toBlob()

6.3.1.3.6.2.21. toBlobOld

public byte[] toBlobOld()

6.3.1.3.6.2.22. toJSON

public JSONObject toJSON()

6.3.1.3.6.2.23. toWKT

public abstract String toWKT(boolean full)

6.3.1.3.6.2.24. typeToJSON

public String typeToJSON()

6.3.1.3.6.2.25. write

public void write(DataOutputStream stream)