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

Detailed Description

The TSL2DSatelliteHelper is used to draw satellite paths in a 2D standard data layer.

Static Public Member Functions

static TSLEntitySetpath (const TSLCoordinateSystem *coordSystem, TSLSatellite *sat, const TSLTimeInstant &startTime, const TSLTimeInstant &endTime, double intTime, int numPoints=0)
 
static TSLEntitySetpath (const TSLCoordinateSystem *coordSystem, TSLSatellite *sat, const TSLTimeInstant &currentTime, int timeFrame, double intTime, bool afterNow=false, int numPoints=0)
 

Member Function Documentation

◆ path() [1/2]

static TSLEntitySet * TSL2DSatelliteHelper::path ( const TSLCoordinateSystem * coordSystem,
TSLSatellite * sat,
const TSLTimeInstant & currentTime,
int timeFrame,
double intTime,
bool afterNow = false,
int numPoints = 0 )
static

Calculate a satellite's ground 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 entity set, which may contain multiple polylines due to discontinuities.

Parameters
coordSystemthe coordinate system in which the path lives
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

◆ path() [2/2]

static TSLEntitySet * TSL2DSatelliteHelper::path ( const TSLCoordinateSystem * coordSystem,
TSLSatellite * sat,
const TSLTimeInstant & startTime,
const TSLTimeInstant & endTime,
double intTime,
int numPoints = 0 )
static

Calculate a satellite's ground 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 entity set, which may contain multiple polylines due to discontinuities.

Parameters
coordSystemthe coordinate system in which the path lives
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