Interface ISurface

Namespace
ESRI.ArcGIS.Geodatabase
Assembly
ESRI.Server.Geodatabase.dll

Provides access to members that control surfaces.

[Guid("73B80FBC-FF33-11D1-A549-0000F8774F0F")]
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
public interface ISurface : IFunctionalSurface

Properties

CanDoCurvature

Indicates if earth curvature can be applied.

bool CanDoCurvature { get; }

Property Value

bool

Domain

IPolygon Domain { get; }

Property Value

IPolygon

Z[double, double]

double Z[double X, double Y] { get; }

Parameters

X double
Y double

Property Value

double

ZFactor

Multiplication factor applied to all z values to provide unit-congruency between coordinate components.

double ZFactor { get; set; }

Property Value

double

Methods

AsPolygons(IFeatureClass, esriSurfaceConversionType, IDoubleArray, ILongArray, ref object)

Converts the surface to a polygon feature class representing slope or aspect.

void AsPolygons(IFeatureClass pFeatureClass, esriSurfaceConversionType Type, IDoubleArray pClassBreaks, ILongArray pClassCodes, ref object FieldName)

Parameters

pFeatureClass IFeatureClass
Type esriSurfaceConversionType
pClassBreaks IDoubleArray
pClassCodes ILongArray
FieldName object

Contour(double, double, IFeatureClass, string, int)

Output contours based on the specified root value and interval.

void Contour(double referenceContourHeight, double interval, IFeatureClass pFeatureClass, string FieldName, int digitsAfterDecimalPoint)

Parameters

referenceContourHeight double
interval double
pFeatureClass IFeatureClass
FieldName string
digitsAfterDecimalPoint int

ContourList(IDoubleArray, IFeatureClass, string, int)

Output a list of contours corresponding to the specified eleveation values.

void ContourList(IDoubleArray pBreaks, IFeatureClass pFeatureClass, string FieldName, int digitsAfterDecimalPoint)

Parameters

pBreaks IDoubleArray
pFeatureClass IFeatureClass
FieldName string
digitsAfterDecimalPoint int

FindNormal(double, double)

Restricted.

WKSPointZ FindNormal(double X, double Y)

Parameters

X double
Y double

Returns

WKSPointZ

GetAspectDegrees(IPoint)

Returns the aspect at the specified location in degrees.

double GetAspectDegrees(IPoint pPoint)

Parameters

pPoint IPoint

Returns

double

GetAspectRadians(IPoint)

Returns the aspect at the specified location in radians.

double GetAspectRadians(IPoint pPoint)

Parameters

pPoint IPoint

Returns

double

GetContour(IPoint, out IPolyline, out double)

Returns a countour passing through the queried point.

void GetContour(IPoint pPoint, out IPolyline ppContour, out double pElevation)

Parameters

pPoint IPoint
ppContour IPolyline
pElevation double

GetElevation(IPoint)

Returns the z value of the specified location.

double GetElevation(IPoint pPoint)

Parameters

pPoint IPoint

Returns

double

GetLineOfSight(IPoint, IPoint, out IPoint, out IPolyline, out IPolyline, out bool, bool, bool, ref object)

Computes the visibility of a line-of-sight from the observer to the target.

void GetLineOfSight(IPoint pObserver, IPoint pTarget, out IPoint ppObstruction, out IPolyline ppVisibleLines, out IPolyline ppInvisibleLines, out bool pbIsVisible, bool bApplyCurvature, bool bApplyRefraction, ref object pRefractionFactor)

Parameters

pObserver IPoint
pTarget IPoint
ppObstruction IPoint
ppVisibleLines IPolyline
ppInvisibleLines IPolyline
pbIsVisible bool
bApplyCurvature bool
bApplyRefraction bool
pRefractionFactor object

GetNormal(IPoint)

Returns the normal vector to the specified location.

WKSPointZ GetNormal(IPoint pLocation)

Parameters

pLocation IPoint

Returns

WKSPointZ

GetProfile(IGeometry, out IGeometry, ref object)

Returns a polyline with z values interpolated from the surface.

void GetProfile(IGeometry pShape, out IGeometry ppProfile, ref object pStepSize)

Parameters

pShape IGeometry
ppProfile IGeometry
pStepSize object

GetProjectedArea(double, esriPlaneReferenceType)

Returns the projected area of the surface above or below an input z value.

double GetProjectedArea(double referenceHeight, esriPlaneReferenceType Type)

Parameters

referenceHeight double
Type esriPlaneReferenceType

Returns

double

GetSlopeDegrees(IPoint)

Returns the slope at the specified location in degrees.

double GetSlopeDegrees(IPoint pPoint)

Parameters

pPoint IPoint

Returns

double

GetSlopePercent(IPoint)

Returns the slope at the specified location in percent.

double GetSlopePercent(IPoint pPoint)

Parameters

pPoint IPoint

Returns

double

GetSlopeRadians(IPoint)

Returns the slope at the specified location in radians.

double GetSlopeRadians(IPoint pPoint)

Parameters

pPoint IPoint

Returns

double

GetSteepestPath(IPoint)

Returns the steepest path downhill from the specified point.

IPolyline GetSteepestPath(IPoint pPoint)

Parameters

pPoint IPoint

Returns

IPolyline

GetSurfaceArea(double, esriPlaneReferenceType)

Returns the area measured on its surface above or below an input z value.

double GetSurfaceArea(double referenceHeight, esriPlaneReferenceType Type)

Parameters

referenceHeight double
Type esriPlaneReferenceType

Returns

double

GetVolume(double, esriPlaneReferenceType)

Returns the volume above or below an input z value.

double GetVolume(double reference, esriPlaneReferenceType Type)

Parameters

reference double
Type esriPlaneReferenceType

Returns

double

InterpolateShape(IGeometry, out IGeometry, ref object)

Interpolates z values for a defined geometric shape.

void InterpolateShape(IGeometry pShape, out IGeometry ppOutShape, ref object pStepSize)

Parameters

pShape IGeometry
ppOutShape IGeometry
pStepSize object

InterpolateShapeVertices(IGeometry, out IGeometry)

Interpolates z values for a defined geometric shape at its vertices only.

void InterpolateShapeVertices(IGeometry pShape, out IGeometry ppOutShape)

Parameters

pShape IGeometry
ppOutShape IGeometry

IsVoidZ(double)

Returns TRUE if the passed value is equal to the surface's void value.

bool IsVoidZ(double Value)

Parameters

Value double

Returns

bool

Locate(IRay, int)

Returns the intersection of the query ray and the surface.

IPoint Locate(IRay pRay, int hint)

Parameters

pRay IRay
hint int

Returns

IPoint

LocateAll(IRay, int)

Returns the distances of intersections of the query ray and the surface.

IDoubleArray LocateAll(IRay pRay, int hint)

Parameters

pRay IRay
hint int

Returns

IDoubleArray

QueryNormal(IPoint, IVector3D)

Returns the vector normal to the specified triangle.

void QueryNormal(IPoint pLocation, IVector3D pNormal)

Parameters

pLocation IPoint
pNormal IVector3D

QueryPixelBlock(double, double, double, double, esriRasterizationType, object, object)

Derives slope, aspect, hillshade, or elevation from the input surface and writes the result to the provided PixelBlock.

void QueryPixelBlock(double xOrigin, double yOrigin, double xPixelSize, double yPixelSize, esriRasterizationType Type, object valueForNoData, object block)

Parameters

xOrigin double
yOrigin double
xPixelSize double
yPixelSize double
Type esriRasterizationType
valueForNoData object
block object

QuerySurfaceLength(IGeometry, out double, ref object)

Returns the length of an input polyline measured on the surface.

void QuerySurfaceLength(IGeometry pShape, out double pLength, ref object pStepSize)

Parameters

pShape IGeometry
pLength double
pStepSize object