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
Domain
IPolygon Domain { get; }
Property Value
Z[double, double]
double Z[double X, double Y] { get; }
Parameters
Property Value
ZFactor
Multiplication factor applied to all z values to provide unit-congruency between coordinate components.
double ZFactor { get; set; }
Property Value
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
pFeatureClassIFeatureClassTypeesriSurfaceConversionTypepClassBreaksIDoubleArraypClassCodesILongArrayFieldNameobject
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
referenceContourHeightdoubleintervaldoublepFeatureClassIFeatureClassFieldNamestringdigitsAfterDecimalPointint
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
pBreaksIDoubleArraypFeatureClassIFeatureClassFieldNamestringdigitsAfterDecimalPointint
FindNormal(double, double)
Restricted.
WKSPointZ FindNormal(double X, double Y)
Parameters
Returns
GetAspectDegrees(IPoint)
Returns the aspect at the specified location in degrees.
double GetAspectDegrees(IPoint pPoint)
Parameters
pPointIPoint
Returns
GetAspectRadians(IPoint)
Returns the aspect at the specified location in radians.
double GetAspectRadians(IPoint pPoint)
Parameters
pPointIPoint
Returns
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
GetElevation(IPoint)
Returns the z value of the specified location.
double GetElevation(IPoint pPoint)
Parameters
pPointIPoint
Returns
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
pObserverIPointpTargetIPointppObstructionIPointppVisibleLinesIPolylineppInvisibleLinesIPolylinepbIsVisibleboolbApplyCurvatureboolbApplyRefractionboolpRefractionFactorobject
GetNormal(IPoint)
Returns the normal vector to the specified location.
WKSPointZ GetNormal(IPoint pLocation)
Parameters
pLocationIPoint
Returns
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
GetProjectedArea(double, esriPlaneReferenceType)
Returns the projected area of the surface above or below an input z value.
double GetProjectedArea(double referenceHeight, esriPlaneReferenceType Type)
Parameters
referenceHeightdoubleTypeesriPlaneReferenceType
Returns
GetSlopeDegrees(IPoint)
Returns the slope at the specified location in degrees.
double GetSlopeDegrees(IPoint pPoint)
Parameters
pPointIPoint
Returns
GetSlopePercent(IPoint)
Returns the slope at the specified location in percent.
double GetSlopePercent(IPoint pPoint)
Parameters
pPointIPoint
Returns
GetSlopeRadians(IPoint)
Returns the slope at the specified location in radians.
double GetSlopeRadians(IPoint pPoint)
Parameters
pPointIPoint
Returns
GetSteepestPath(IPoint)
Returns the steepest path downhill from the specified point.
IPolyline GetSteepestPath(IPoint pPoint)
Parameters
pPointIPoint
Returns
GetSurfaceArea(double, esriPlaneReferenceType)
Returns the area measured on its surface above or below an input z value.
double GetSurfaceArea(double referenceHeight, esriPlaneReferenceType Type)
Parameters
referenceHeightdoubleTypeesriPlaneReferenceType
Returns
GetVolume(double, esriPlaneReferenceType)
Returns the volume above or below an input z value.
double GetVolume(double reference, esriPlaneReferenceType Type)
Parameters
referencedoubleTypeesriPlaneReferenceType
Returns
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
InterpolateShapeVertices(IGeometry, out IGeometry)
Interpolates z values for a defined geometric shape at its vertices only.
void InterpolateShapeVertices(IGeometry pShape, out IGeometry ppOutShape)
Parameters
IsVoidZ(double)
Returns TRUE if the passed value is equal to the surface's void value.
bool IsVoidZ(double Value)
Parameters
Valuedouble
Returns
Locate(IRay, int)
Returns the intersection of the query ray and the surface.
IPoint Locate(IRay pRay, int hint)
Parameters
Returns
LocateAll(IRay, int)
Returns the distances of intersections of the query ray and the surface.
IDoubleArray LocateAll(IRay pRay, int hint)
Parameters
Returns
QueryNormal(IPoint, IVector3D)
Returns the vector normal to the specified triangle.
void QueryNormal(IPoint pLocation, IVector3D pNormal)
Parameters
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
xOrigindoubleyOrigindoublexPixelSizedoubleyPixelSizedoubleTypeesriRasterizationTypevalueForNoDataobjectblockobject
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)