public class OSMPolygon extends OGCJTSShape
| Modifier and Type | Field and Description |
|---|---|
long |
id |
java.util.Map<java.lang.String,java.lang.String> |
tags |
geom| Constructor and Description |
|---|
OSMPolygon() |
OSMPolygon(Geometry geom) |
| Modifier and Type | Method and Description |
|---|---|
Shape |
clone()
Returns a clone of this shape
|
int |
compareTo(OSMPolygon poly) |
boolean |
equals(java.lang.Object obj) |
void |
fromText(Text text)
Retrieve information from the given text.
|
int |
hashCode() |
void |
readFields(java.io.DataInput in) |
Text |
toText(Text text)
Store current object as string in the given text appending text already there.
|
void |
write(java.io.DataOutput out) |
distanceTo, draw, draw, drawJTSGeom, getMBR, isIntersected, parseText, toStringpublic Text toText(Text text)
TextSerializabletoText in interface TextSerializabletoText in class OGCJTSShapepublic void fromText(Text text)
TextSerializablefromText in interface TextSerializablefromText in class OGCJTSShapepublic void write(java.io.DataOutput out)
throws java.io.IOException
write in class OGCJTSShapejava.io.IOExceptionpublic void readFields(java.io.DataInput in)
throws java.io.IOException
readFields in class OGCJTSShapejava.io.IOExceptionpublic Shape clone()
Shapeclone in interface Shapeclone in class OGCJTSShapepublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic int compareTo(OSMPolygon poly)
public int hashCode()
hashCode in class java.lang.Object