MapLink Pro 11.1.1.0.
Envitia MapLink Pro: The Ultimate Mapping Application Toolkit
Loading...
Searching...
No Matches
TSL3DSatelliteHelper Class Reference

Detailed Description

The TSL3DSatelliteHelper is used to draw satellite paths in a 3D standard data layer.

Static Public Member Functions

static TSL3DPolylinepath (TSLSatellite *sat, const TSLTimeInstant &startTime, const TSLTimeInstant &endTime, double intTime, int numPoints=0, bool actualTrack=true)
 
static TSL3DPolylinepath (TSLSatellite *sat, const TSLTimeInstant &currentTime, int timeFrame, double intTime, bool afterNow=false, int numPoints=0, bool actualTrack=true)
 

Member Function Documentation

◆ path() [1/2]

static TSL3DPolyline * TSL3DSatelliteHelper::path ( TSLSatellite * sat,
const TSLTimeInstant & currentTime,
int timeFrame,
double intTime,
bool afterNow = false,
int numPoints = 0,
bool actualTrack = true )
static

Calculate a satellite's ground or actual track given a start time and duration. The path drawn is historical by default, although can be set to be predictive. The resolution of the path is determined by either the interval value or the number of points.

If the interval time given is zero then the number of points is used. Number of points is zero by default.

If neither an interval time nor a number of points is specified, or if the line cannot be created a null pointer is returned.

Note that the interval time needs to be given in minutes.

Note also that the caller owns the resulting 3d polyline.

Parameters
satthe satellite
currentTimethe end time (or start time) for the path
timeFramethe time frame, in whole minutes
afterNowby default, false, indicating that the path is historical, if set to true, the path is predictive
intTimethe interval time, in minutes - the satellite's position is calculated after every intTime minutes
numPointsthe number of points that the polyline should contain, defaults to 0
actualTrackTrue if the actual 3D track should be returned, false if the ground track is required. Default true.
Returns
a 3D polyline representing the ground or actual track, false otherwise.

◆ path() [2/2]

static TSL3DPolyline * TSL3DSatelliteHelper::path ( TSLSatellite * sat,
const TSLTimeInstant & startTime,
const TSLTimeInstant & endTime,
double intTime,
int numPoints = 0,
bool actualTrack = true )
static

Calculate a satellite's ground or actual track given a start time, an end time and either an interval time or a number of points.

If the interval time given is zero then the number of points is used. Number of points is zero by default.

If neither an interval time nor a number of points is specified, or if the line cannot be created a null pointer is returned.

Note that the interval time needs to be given in minutes.

Note also that the caller owns the resulting 3d polyline.

Parameters
satthe satellite
startTimethe start time
endTimethe end time
intTimethe interval time, in minutes - the satellite's position is calculated after every intTime minutes
numPointsthe number of points that the polyline should contain, defaults to 0
actualTrackTrue if the actual 3D track should be returned, false if the ground track is required. Default truel.