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, toString
public Text toText(Text text)
TextSerializable
toText
in interface TextSerializable
toText
in class OGCJTSShape
public void fromText(Text text)
TextSerializable
fromText
in interface TextSerializable
fromText
in class OGCJTSShape
public void write(java.io.DataOutput out) throws java.io.IOException
write
in class OGCJTSShape
java.io.IOException
public void readFields(java.io.DataInput in) throws java.io.IOException
readFields
in class OGCJTSShape
java.io.IOException
public Shape clone()
Shape
clone
in interface Shape
clone
in class OGCJTSShape
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int compareTo(OSMPolygon poly)
public int hashCode()
hashCode
in class java.lang.Object