public class WorldCoordinate
Point in the ISO coordinate system (unit is a meter).
This coordinate system is used to represent the position of an object relative to the device camera’s position in physical space. The origin of this coordinate system is a point projected from a camera position to a road plane.
Constructor and Description |
---|
WorldCoordinate(double x,
double y,
double z)
Point in the ISO coordinate system (unit is a meter).
|
Modifier and Type | Method and Description |
---|---|
double |
component1()
Distance in front of the camera
|
double |
component2()
Distance on the left of the camera
|
double |
component3()
Distance above the camera
|
WorldCoordinate |
copy(double x,
double y,
double z)
Point in the ISO coordinate system (unit is a meter).
|
boolean |
equals(java.lang.Object p) |
double |
getX()
Distance in front of the camera
|
double |
getY()
Distance on the left of the camera
|
double |
getZ()
Distance above the camera
|
int |
hashCode() |
java.lang.String |
toString() |
public WorldCoordinate(double x, double y, double z)
Point in the ISO coordinate system (unit is a meter).
This coordinate system is used to represent the position of an object relative to the device camera’s position in physical space. The origin of this coordinate system is a point projected from a camera position to a road plane.
x
- Distance in front of the cameray
- Distance on the left of the cameraz
- Distance above the camerax
- Distance in front of the cameray
- Distance on the left of the cameraz
- Distance above the camerapublic double getX()
Distance in front of the camera
public double getY()
Distance on the left of the camera
public double getZ()
Distance above the camera
public double component1()
Distance in front of the camera
public double component2()
Distance on the left of the camera
public double component3()
Distance above the camera
public WorldCoordinate copy(double x, double y, double z)
Point in the ISO coordinate system (unit is a meter).
This coordinate system is used to represent the position of an object relative to the device camera’s position in physical space. The origin of this coordinate system is a point projected from a camera position to a road plane.
x
- Distance in front of the cameray
- Distance on the left of the cameraz
- Distance above the camerapublic java.lang.String toString()
public int hashCode()
public boolean equals(java.lang.Object p)