Skip To Content ArcGIS for Developers Sign In Dashboard

SimulationParameters Class

(Esri::ArcGISRuntime::SimulationParameters)

A structure that defines an input into the SimulatedLocationDataSource::setLocationsWithPolyline method. More...

Header: #include <SimulationParameters>
Since: Esri::ArcGISRuntime 100.8
Inherits: Object

Public Functions

SimulationParameters(QObject *parent = nullptr)
SimulationParameters(const QDateTime &startTime, double velocity, double horizontalAccuracy, double verticalAccuracy, QObject *parent = nullptr)
SimulationParameters(std::shared_ptr<QRTImpl::SimulationParametersImpl> impl, QObject *parent)
~SimulationParameters()
double horizontalAccuracy() const
void setHorizontalAccuracy(double horizontalAccuracy)
void setStartTime(const QDateTime &startTime)
void setVelocity(double velocity)
void setVerticalAccuracy(double verticalAccuracy)
QDateTime startTime() const
double velocity() const
double verticalAccuracy() const
  • 31 public functions inherited from QObject

Additional Inherited Members

Detailed Description

A structure that defines an input into the SimulatedLocationDataSource::setLocationsWithPolyline method.

Member Function Documentation

SimulationParameters::SimulationParameters(QObject *parent = nullptr)

Creates a new SimulationParameters parameters object with an optional parent.

SimulationParameters::SimulationParameters(const QDateTime &startTime, double velocity, double horizontalAccuracy, double verticalAccuracy, QObject *parent = nullptr)

Creates a new SimulationParameters parameters object.

  • startTime - Date and time of first location
  • velocity - Velocity of travel, in meters per second, default value is 10.0
  • horizontalAccuracy - Horizontal accuracy, default value is 0.0
  • verticalAccuracy - Vertical accuracy, default value is 0.0
  • parent - The optional parent QObject.

SimulationParameters::SimulationParameters(std::shared_ptr<QRTImpl::SimulationParametersImpl> impl, QObject *parent)

SimulationParameters::~SimulationParameters()

Destructor.

double SimulationParameters::horizontalAccuracy() const

Returns horizontal accuracy, default value is 0.0.

See also setHorizontalAccuracy().

void SimulationParameters::setHorizontalAccuracy(double horizontalAccuracy)

Sets the horizontalAccuracy to horizontalAccuracy.

See also horizontalAccuracy.

void SimulationParameters::setStartTime(const QDateTime &startTime)

Sets the startTime to startTime.

See also startTime.

void SimulationParameters::setVelocity(double velocity)

Sets the velocity to velocity.

See also velocity.

void SimulationParameters::setVerticalAccuracy(double verticalAccuracy)

Sets the verticalAccuracy to verticalAccuracy.

See also verticalAccuracy.

QDateTime SimulationParameters::startTime() const

Returns date and time of first location.

See also setStartTime().

double SimulationParameters::velocity() const

Returns velocity of travel, in meters per sec, default value is 10.0.

Pay attention to very small values as these may greatly increase the count of locations.

See also setVelocity().

double SimulationParameters::verticalAccuracy() const

Returns vertical accuracy, default value is 0.0.

See also setVerticalAccuracy().


Feedback on this topic?