| Constructor and Description |
|---|
OSMBuildingInfo(OSMBuilding building,
OSMMap map)
Construct a new OSMBuildingInfo.
|
| Modifier and Type | Method and Description |
|---|---|
java.awt.geom.Area |
getArea()
Get the area covered by this shape.
|
long |
getBuildingID()
Get the ID of the building.
|
java.util.List<Point2D> |
getVertices()
Get the vertices of this shape in clockwise order.
|
java.lang.String |
toString() |
public OSMBuildingInfo(OSMBuilding building, OSMMap map)
building - The building.map - The map.public java.util.List<Point2D> getVertices()
OSMShapegetVertices in interface OSMShapepublic java.awt.geom.Area getArea()
OSMShapepublic long getBuildingID()
public java.lang.String toString()
toString in class java.lang.Object