public static class Ilv3DTrajectory.Point extends IlvGeographicPoint
Constructor and Description |
---|
Point(double speed,
double longitude,
double latitude,
double altitude)
Constructs a Ilv3DTrajectory.Point with the specified parameters.
|
Point(double speed,
double longitude,
double latitude,
double elevation,
Ilv3DTrajectory.Point lookAt)
Constructs a Ilv3DTrajectory.Point with the specified parameters.
|
Point(Ilv3DTrajectory.Point p)
Copies the point in a new instance.
|
Modifier and Type | Method and Description |
---|---|
double |
computeDistance(Ilv3DTrajectory.Point other)
Computes the distance in meters to the other point.
|
Ilv3DTrajectory.Point |
createInterpolatedPoint(Ilv3DTrajectory.Point next,
Ilv3DTrajectory.Point afterOther,
double ratio,
boolean interpolateLookAt)
Creates a point with interpolated values.
|
Ilv3DTrajectory.Point |
getLookAt()
Returns the point the camera should look at.
|
double |
getSpeed()
Returns the speed in meters per second.
|
getElevation, getLatitude, getLongitude, setElevation, setLatitude, setLongitude
public Point(double speed, double longitude, double latitude, double elevation, Ilv3DTrajectory.Point lookAt)
speed
- speed in meters Per Secondlatitude
- latitude in radianslongitude
- longitude in radianselevation
- height above sea level in meterslookAt
- point the camera should look at.public Point(double speed, double longitude, double latitude, double altitude)
speed
- speed in meters Per Secondlatitude
- latitude in radianslongitude
- longitude in radiansaltitude
- height above sea level in meterspublic Point(Ilv3DTrajectory.Point p)
p
- point to copy.public Ilv3DTrajectory.Point getLookAt()
public double getSpeed()
public Ilv3DTrajectory.Point createInterpolatedPoint(Ilv3DTrajectory.Point next, Ilv3DTrajectory.Point afterOther, double ratio, boolean interpolateLookAt)
next
- other point to interpolate with.afterOther
- point following the other point in the trajectory.ratio
- value between 0 to 1.interpolateLookAt
- indicates if the "lookAt" parameter should be computed.public double computeDistance(Ilv3DTrajectory.Point other)
other
- other point.© Copyright 2024 Rogue Wave Software, Inc., a Perforce company.. All Rights Reserved.