public class ZoneView
extends java.lang.Object
Constructor and Description |
---|
ZoneView() |
ZoneView(java.lang.Integer zoneNumber,
java.lang.String name,
java.util.List<Point2D> cameraVertices,
PolygonReal2D worldVertices) |
ZoneView(Zone zone) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o) |
java.util.List<Point2D> |
getCameraVertices()
Returns the coordinates of the zone cameraVertices in the camera's field of view
|
java.lang.String |
getName()
Returns the name of the zone
|
PolygonReal2D |
getWorldVertices()
Returns the coordinates of the zone cameraVertices in the world
|
java.lang.Integer |
getZoneNumber()
Returns the unique identifier of the zone within its area
|
int |
hashCode() |
public ZoneView()
public ZoneView(java.lang.Integer zoneNumber, java.lang.String name, java.util.List<Point2D> cameraVertices, PolygonReal2D worldVertices)
public ZoneView(Zone zone)
public java.lang.Integer getZoneNumber()
public PolygonReal2D getWorldVertices()
public java.lang.String getName()
public java.util.List<Point2D> getCameraVertices()
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object