Constructor and Description |
---|
LookFrom(Coordinate eye,
Azimuth yaw,
double pitch,
double roll)
Constructs the LookFrom.
|
Modifier and Type | Method and Description |
---|---|
Coordinate |
getEye()
The location of the camera, expressed in the
map reference . |
double |
getPitch()
The pitch angle of the viewer in degrees, defined with respected to a local coordinate system based on the eye point.
|
double |
getRoll()
The roll angle of the viewer in degrees, defined with respected to a local coordinate system based on the eye point.
|
Azimuth |
getYaw()
The yaw angle of the viewer, defined with respected to a local coordinate system based on the eye point.
|
public LookFrom(@NotNull Coordinate eye, @NotNull Azimuth yaw, double pitch, double roll)
eye
- The location of the camera, expressed in the map reference
.yaw
- The yaw angle of the viewer, defined with respected to a local coordinate system based on the eye point.pitch
- The pitch angle of the viewer in degrees, defined with respected to a local coordinate system based on the eye point.roll
- The roll angle of the viewer in degrees, defined with respected to a local coordinate system based on the eye point.@NotNull public Coordinate getEye()
map reference
.
This location maps to the center of the camera plane.
@NotNull public Azimuth getYaw()
It represents the viewing angle with respect to the north. I.e. a value of 0 means that the camera is faced to the north.
public double getPitch()
A value of zero represents a horizontal viewer (i.e. looking towards the horizon). Positive angles look up and negative angles look down.
public double getRoll()
Positive angles bank the viewer to the right; negative angles bank to the left. This value is typically 0.