|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.mapquest.MQObject
com.mapquest.Feature
com.mapquest.PolygonFeature
Describes a map feature that is represented as a polygon. Examples are parks and roads at low scales.
LatLng,
LatLngCollection,
Point,
PointCollection| Field Summary | |
static int |
CLASS_ID
|
static java.lang.String |
CLASS_NAME
|
| Fields inherited from class com.mapquest.MQObject |
DEFAULT_ID, DEFAULT_NAME, DEFAULT_VERSION, FORMAT_NUMERIC_ID, FORMAT_TEXT_NAME, INVALID_ID, INVALID_NAME, INVALID_VERSION |
| Constructor Summary | |
PolygonFeature()
Default constructor. |
|
| Method Summary | |
boolean |
equals(java.lang.Object otherObject)
Compares this object to the specified object. |
int |
getClassId()
Returns the numeric id of this class. |
java.lang.String |
getClassName()
Returns the text name of this class. |
LatLng |
getClosestLatLng()
Returns the latitude/longitude coordinates of this PolygonFeature. |
Point |
getClosestPoint()
Returns the X and Y coordinates of this PolygonFeature. |
LatLngCollection |
getLatLngs()
Returns the LatLng Collection of this PolygonFeature. |
PointCollection |
getPoints()
Returns the PointCollection of this PolygonFeature. |
int |
hashCode()
Returns a hash code for this PolygonFeature. |
void |
init()
Initializes object. |
void |
setClosestLatLng(LatLng ll)
Sets the latitude/longitude values for this PolygonFeature. |
void |
setClosestPoint(Point pt)
Sets the X and Y coordinate values for this PolygonFeature. |
| Methods inherited from class com.mapquest.Feature |
getDistance, getDistance, getDT, getGEFID, getKey, getName, getSourceLayerName, setDistance, setDistance, setDT, setGEFID, setKey, setName, setSourceLayerName |
| Methods inherited from class com.mapquest.MQObject |
clone, getFormat, getIdWithVersion, getNameWithVersion, getObjectVersion, getTypeId, getTypeName, getVerboseConsoleOutput, setFormat, setObjectVersion, setVerboseConsoleOutput, toString |
| Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
public static final int CLASS_ID
public static final java.lang.String CLASS_NAME
| Constructor Detail |
public PolygonFeature()
| Method Detail |
public void init()
init in class Featurepublic int getClassId()
getClassId in class MQObjectpublic java.lang.String getClassName()
getClassName in class MQObjectpublic void setClosestLatLng(LatLng ll)
ll - The latitude/longitude values for this PolygonFeature.public LatLng getClosestLatLng()
public void setClosestPoint(Point pt)
pt - An point containing the X and Y coordinates for this
PolygonFeature.public Point getClosestPoint()
public LatLngCollection getLatLngs()
public PointCollection getPoints()
public boolean equals(java.lang.Object otherObject)
equals in class FeatureotherObject - the object to compare this PolygonFeature against.
public int hashCode()
hashCode in class Feature
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||