public class PositionExt extends Position
Constructor and Description |
---|
PositionExt(int x,
int y,
double angle,
boolean direction)
constructor with default plane
|
PositionExt(java.awt.Point point,
double angle,
boolean direction)
constructor with default plane
|
PositionExt(java.lang.String view,
java.awt.Point point,
double angle,
boolean direction)
constructor with full parameterization
|
Modifier and Type | Method and Description |
---|---|
double |
getAngle() |
boolean |
getDirection() |
public PositionExt(java.lang.String view, java.awt.Point point, double angle, boolean direction)
view
- name of view plane, not used in momentpoint
- point in a planeangle
- rotation angle [radiant]direction
- true: normal, false: mirroredpublic PositionExt(java.awt.Point point, double angle, boolean direction)
point
- point in a planeangle
- rotation angle [radiant]direction
- true: normal, false: mirroredpublic PositionExt(int x, int y, double angle, boolean direction)
x
- x coordinate of pointy
- y coordinate of pointangle
- rotation angle [radiant]direction
- true: normal, false: mirrored