A Point indicating where the network analysis should not traverse. More...
| Header | #include <Point |
| Since | Esri |
This class was introduced in Esri::ArcGISRuntime 100.0.
Public Functions
| Point | |
| Point | |
| Point | |
| Point | |
| Esri | operator=( |
| Esri | operator=(const Esri |
| ~ | |
| double | added |
| int | barrier |
| Esri | barrier |
| Esri | curb |
| Esri | geometry() const |
| bool | is |
| Esri | location |
| QString | name() const |
| void | set |
| void | set |
| void | set |
| void | set |
| void | set |
| void | set |
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().