ArcObjects Library Reference (NetworkAnalyst)  

INALocatorAgent3.QueryLocationRangesByGeometry Method

Find network location ranges from a geometry.

[Visual Basic .NET]
Public Sub QueryLocationRangesByGeometry ( _
    ByVal Geometry As IGeometry, _
    ByRef locationRanges As INALocationRanges _
)
[C#]
public void QueryLocationRangesByGeometry (
    IGeometry Geometry,
    ref INALocationRanges locationRanges
);
[C++]
HRESULT QueryLocationRangesByGeometry(
  IGeometry* Geometry,
  INALocationRanges** locationRanges
);
[C++]

Parameters

Geometry [in]

  Geometry is a parameter of type IGeometry

locationRanges [in, out]

  locationRanges is a parameter of type INALocationRanges

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server. Requires Network Analyst Extension.

Remarks

QueryLocationRangesByGeometry determines the set of junctions and edge ranges that intersect the input geometry and returns this information by populating the referenced INALocationRanges parameter.

The NALocatorLocationFieldsAgent should not be used with this method.

See Also

INALocatorAgent3 Interface