ProximityResult Class

  • ProximityResult
  • class Esri::ArcGISRuntime::ProximityResult

    The results returned from calling GeometryEngine::nearestCoordinate or GeometryEngine::nearestVertex. More...

    Header: #include <ProximityResult.h>
    Since: Esri::ArcGISRuntime 100.0

    This class was introduced in Esri::ArcGISRuntime 100.0.

    Public Functions

    ProximityResult(Esri::ArcGISRuntime::ProximityResult &&other)
    ProximityResult(const Esri::ArcGISRuntime::ProximityResult &other)
    Esri::ArcGISRuntime::ProximityResult &operator=(Esri::ArcGISRuntime::ProximityResult &&other)
    Esri::ArcGISRuntime::ProximityResult &operator=(const Esri::ArcGISRuntime::ProximityResult &other)
    ~ProximityResult()
    Esri::ArcGISRuntime::Point coordinate() const
    double distance() const
    bool isEmpty() const
    int partIndex() const
    int pointIndex() const

    Static Public Members

    int npos()

    Detailed Description

    Member Function Documentation

    ProximityResult::ProximityResult(Esri::ArcGISRuntime::ProximityResult &&other)

    Move constructor from other ProximityResult.

    ProximityResult::ProximityResult(const Esri::ArcGISRuntime::ProximityResult &other)

    Copy constructor from other ProximityResult.

    Esri::ArcGISRuntime::ProximityResult &ProximityResult::operator=(Esri::ArcGISRuntime::ProximityResult &&other)

    Equivalency operator to other ProximityResult.

    Esri::ArcGISRuntime::ProximityResult &ProximityResult::operator=(const Esri::ArcGISRuntime::ProximityResult &other)

    Assignment operator from other ProximityResult.

    ProximityResult::~ProximityResult()

    Destructor.

    Esri::ArcGISRuntime::Point ProximityResult::coordinate() const

    Returns the coordinate of the point.

    double ProximityResult::distance() const

    Returns the distance to the point.

    bool ProximityResult::isEmpty() const

    Returns whether this ProximityResult is empty.

    [static] int ProximityResult::npos()

    Returns the maximum possible value for partIndex or pointIndex.

    Used for checking whether the index value is valid. If the index value is equal to npos then the index value is not valid.

    int ProximityResult::partIndex() const

    Returns the index of the part in which the point was found.

    int ProximityResult::pointIndex() const

    Returns the index of the point that was found within the part.

    Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.