A Point indicating where the network analysis should not traverse. More...
Header: | #include <PointBarrier.h> |
Since: | Esri::ArcGISRuntime 100.0 |
This class was introduced in Esri::ArcGISRuntime 100.0.
Public Functions
PointBarrier(Esri::ArcGISRuntime::PointBarrier &&other) | |
PointBarrier(const Esri::ArcGISRuntime::PointBarrier &other) | |
PointBarrier(const Esri::ArcGISRuntime::Point &point) | |
PointBarrier() | |
Esri::ArcGISRuntime::PointBarrier & | operator=(Esri::ArcGISRuntime::PointBarrier &&other) |
Esri::ArcGISRuntime::PointBarrier & | operator=(const Esri::ArcGISRuntime::PointBarrier &other) |
~PointBarrier() | |
double | addedCost(const QString &attributeName) const |
int | barrierId() const |
Esri::ArcGISRuntime::BarrierType | barrierType() const |
Esri::ArcGISRuntime::CurbApproach | curbApproach() const |
Esri::ArcGISRuntime::Point | geometry() const |
bool | isEmpty() const |
Esri::ArcGISRuntime::LocationStatus | locationStatus() const |
QString | name() const |
void | setAddedCost(const QString &attributeName, double addedCost) |
void | setBarrierId(int id) |
void | setBarrierType(Esri::ArcGISRuntime::BarrierType type) |
void | setCurbApproach(Esri::ArcGISRuntime::CurbApproach curbApproach) |
void | setGeometry(const Esri::ArcGISRuntime::Point &point) |
void | setName(const QString &name) |
Detailed Description
Barriers are used in network analyses. PointBarriers can either restrict a point on the underlying network from being traversed (such as a road closure) or to penalize traversing the point (such as taking time to pass through a checkpoint or road slowdown).
Member Function Documentation
PointBarrier::PointBarrier (Esri::ArcGISRuntime::PointBarrier &&other)
Move constructor from other PointBarrier.
PointBarrier::PointBarrier (const Esri::ArcGISRuntime::PointBarrier &other)
Copy constructor from other PointBarrier.
PointBarrier::PointBarrier (const Esri::ArcGISRuntime::Point &point)
Constructor that takes in a point.
PointBarrier::PointBarrier ()
Default constructor.
Esri::ArcGISRuntime::PointBarrier &PointBarrier::operator=(Esri::ArcGISRuntime::PointBarrier &&other)
Move operator from other PointBarrier.
Esri::ArcGISRuntime::PointBarrier &PointBarrier::operator=(const Esri::ArcGISRuntime::PointBarrier &other)
Assignment operator from other PointBarrier.
PointBarrier::~PointBarrier ()
Destructor.
double PointBarrier::addedCost (const QString &attributeName ) const
Returns added cost of a given attributeName.
See also setAddedCost().
int PointBarrier::barrierId () const
Returns ID of this barrier.
This function was introduced in Esri::ArcGISRuntime 100.6.
See also setBarrierId().
Esri::ArcGISRuntime::BarrierType PointBarrier::barrierType () const
Returns the BarrierType of this PointBarrier.
See also setBarrierType().
Esri::ArcGISRuntime::CurbApproach PointBarrier::curbApproach () const
Returns the CurbApproach of this PointBarrier.
See also setCurbApproach().
Esri::ArcGISRuntime::Point PointBarrier::geometry() const
Returns the Point of this PointBarrier.
See also setGeometry().
bool PointBarrier::isEmpty () const
Returns true
if this PointBarrier is empty.
Esri::ArcGISRuntime::LocationStatus PointBarrier::locationStatus () const
Returns the LocationStatus of this PointBarrier.
QString PointBarrier::name() const
Returns the name of this PointBarrier.
This function was introduced in Esri::ArcGISRuntime 100.3.
See also setName().
void PointBarrier::setAddedCost (const QString &attributeName , double addedCost )
Sets the addedCost for a given attributeName.
See also addedCost().
void PointBarrier::setBarrierId (int id)
Sets the id of this barrier.
This function was introduced in Esri::ArcGISRuntime 100.6.
See also barrierId().
void PointBarrier::setBarrierType (Esri::ArcGISRuntime::BarrierType type)
Returns the barrier type of this PointBarrier.
See also barrierType().
void PointBarrier::setCurbApproach (Esri::ArcGISRuntime::CurbApproach curbApproach )
Sets the curbApproach of this PointBarrier.
See also curbApproach().
void PointBarrier::setGeometry (const Esri::ArcGISRuntime::Point &point)
Sets the point of this PointBarrier.
See also geometry().
void PointBarrier::setName (const QString &name)
Sets the name of this PointBarrier.
This function was introduced in Esri::ArcGISRuntime 100.3.
See also name().