public class MapViewPositionAndRotation extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private MapViewState.MapViewPoint |
point |
private double |
theta |
Constructor and Description |
---|
MapViewPositionAndRotation(MapViewState.MapViewPoint point,
double theta)
Create a new
MapViewPositionAndRotation |
Modifier and Type | Method and Description |
---|---|
MapViewState.MapViewPoint |
getPoint()
Gets the point.
|
double |
getRotation()
Gets the rotation
|
java.lang.String |
toString() |
private final MapViewState.MapViewPoint point
private final double theta
public MapViewPositionAndRotation(MapViewState.MapViewPoint point, double theta)
MapViewPositionAndRotation
point
- the pointtheta
- the rotationpublic MapViewState.MapViewPoint getPoint()
public double getRotation()
public java.lang.String toString()
toString
in class java.lang.Object