This document is archived and information here might be outdated.  Recommended version.


IRasterNeighborhood.SetWedge Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > GeoAnalyst > ESRI.ArcGIS.GeoAnalyst > Interfaces > IR > IRasterNeighborhood Interface > IRasterNeighborhood.SetWedge Method
ArcGIS Developer Help

IRasterNeighborhood.SetWedge Method

Sets a wedge neighborhood object.

[Visual Basic .NET]
Public Sub SetWedge ( _
    ByVal radius As Double, _
    ByVal startAngle As Double, _
    ByVal endAngle As Double, _
    ByVal unitsType As esriGeoAnalysisUnitsEnum _
)
[C#]
public void SetWedge (
    double radius,
    double startAngle,
    double endAngle,
    esriGeoAnalysisUnitsEnum unitsType
);
[C++]
HRESULT SetWedge(
  double radius,
  double startAngle,
  double endAngle,
  esriGeoAnalysisUnitsEnum unitsType
);
[C++]
Parameters
radius [in]

radius is a parameter of type double startAngle [in]
startAngle is a parameter of type double endAngle [in]
endAngle is a parameter of type double unitsType [in]
unitsType is a parameter of type esriGeoAnalysisUnitsEnum

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Remarks

radius

the radius distance value for the wedge neighborhood.  The radius is identified in cells measured perpendicular to the x- or y-axis.

startAngle

the value of the angle to calculate the start of the wedge neigborhood.

endAngle

the value of the angle to calculate the end of the wedge neigborhood.

unitsType

An esriGeoAnalysisUnitsEnum defining the type of units to calculate the neighborhood.
The enumeration types are:

esriUnitsMap  - neghbourhood is identified by map units (i.e., meters, feet)
esriUnitsCells - neighbourhood is identified by number of cells

 

A wedge-shaped neighborhood.  The wedge is specified by the start angle, an end angle, and a radius. The wedge extends the radius distance counterclockwise from the starting angle to the ending angle. Angles are specified in degrees, with 0 or 360 representing East. Negative angles may be used.

 

See Also

IRasterNeighborhood Interface