Interface IMensuration
- Namespace
- ESRI.ArcGIS.DatasourcesRaster
- Assembly
- ESRI.Server.DatasourcesRaster.dll
Provides basic mensuration functionality utilizing sensor models that are compliant with the Community Sensor Model (CSM) specification.
[Guid("63AE4F70-BF55-480E-B2E0-49C5528BC4F2")]
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
public interface IMensuration
Properties
CanErrorPropagate
Indicates if the sensor model associated with the current image segment supports error propagation.
bool CanErrorPropagate { get; }
Property Value
CanMeasure
Indicates if the specified image segment can be used for mensuration.
bool CanMeasure { get; }
Property Value
CanMeasureHeightBaseToTop
Indicates if the sensor model associated with the current image segment supports height mensuration.
bool CanMeasureHeightBaseToTop { get; }
Property Value
CanMeasureHeightBaseToTopShadow
Indicates if the sensor model associated with the current image segment supports shadow mensuration.
bool CanMeasureHeightBaseToTopShadow { get; }
Property Value
CanMeasureHeightTopToTopShadow
Indicates if the sensor model associated with the current image segment supports shadow mensuration.
bool CanMeasureHeightTopToTopShadow { get; }
Property Value
CanMeasureMonoscopic
Indicates if the sensor model associated with the current image segment supports monoscopic mensuration.
bool CanMeasureMonoscopic { get; }
Property Value
CanMeasureMultiImages
Indicates if the sensor model associated with the current image segment supports multi-image mensuration.
bool CanMeasureMultiImages { get; }
Property Value
CanMeasureStereoscopic
Indicates if the sensor model associated with the current image segment supports stereoscopic mensuration.
bool CanMeasureStereoscopic { get; }
Property Value
DEM
The DEM for the raster to be used for mensuration.
IRaster DEM { get; set; }
Property Value
DefaultPointingErrCovariance
Default pointing error covariance matrix.
IDoubleArray DefaultPointingErrCovariance { get; set; }
Property Value
DesiredPrecision
The iteration precision of the image-to-ground and ground-to-image calculations.
double DesiredPrecision { get; set; }
Property Value
Name
The name of this IMensuration object.
string Name { get; }
Property Value
Raster
The raster object to be used for mensuration.
IRaster Raster { set; }
Property Value
SensorModel
The name of the sensor model currently being used by this IMensuration object.
string SensorModel { get; }
Property Value
SensorModelProperties
The properties of the current sensor model.
IPropertySet SensorModelProperties { get; }
Property Value
TMName
The name of the TerrainModel used by this IMensuration object.
string TMName { get; }
Property Value
Valid
Indicates if all the required system parameters and resources of this IMensuration have been successfully initialized.
bool Valid { get; }
Property Value
Version
The version of this IMensuration.
string Version { get; }
Property Value
Methods
ConvertAngular(esriDirectionUnits, esriDirectionUnits, double, out double)
Converts angular measurement from 'fromUnit' to 'toUnit.
void ConvertAngular(esriDirectionUnits FromUnit, esriDirectionUnits ToUnit, double inputValue, out double pOutputValue)
Parameters
FromUnitesriDirectionUnitsToUnitesriDirectionUnitsinputValuedoublepOutputValuedouble
ConvertArea(esriAreaUnits, esriAreaUnits, double, out double)
Converts area measurement from 'fromUnit' to 'toUnit.
void ConvertArea(esriAreaUnits FromUnit, esriAreaUnits ToUnit, double inputValue, out double pOutputValue)
Parameters
FromUnitesriAreaUnitsToUnitesriAreaUnitsinputValuedoublepOutputValuedouble
ConvertDisplayCoordUnit(esriDisplayCoordUnitType, IPoint)
Gets different coordinate unit display representation for input point (latitude, longitude).
string ConvertDisplayCoordUnit(esriDisplayCoordUnitType desiredDisplayUnit, IPoint pGeographicPt)
Parameters
desiredDisplayUnitesriDisplayCoordUnitTypepGeographicPtIPoint
Returns
ConvertErrCovarianceUnits(esriDirectionUnits, esriDirectionUnits, esriUnits, esriUnits, esriUnits, esriUnits, int, IDoubleArray)
Converts the covariance matrix's units.
void ConvertErrCovarianceUnits(esriDirectionUnits inHorizAngularUnit, esriDirectionUnits outHorizAngularUnit, esriUnits inHorizLinearUnit, esriUnits outHorizLinearUnit, esriUnits inVertUnit, esriUnits outVertUnit, int horizontalUnitType, IDoubleArray pCovariance)
Parameters
inHorizAngularUnitesriDirectionUnitsoutHorizAngularUnitesriDirectionUnitsinHorizLinearUnitesriUnitsoutHorizLinearUnitesriUnitsinVertUnitesriUnitsoutVertUnitesriUnitshorizontalUnitTypeintpCovarianceIDoubleArray
ConvertLinear(esriUnits, esriUnits, double, out double)
Converts linear measurement from 'fromUnit' to 'toUnit.
void ConvertLinear(esriUnits FromUnit, esriUnits ToUnit, double inputValue, out double pOutputValue)
Parameters
GetAreaAndPerimeter(IPolygon, out IPolygonMeasurement)
Computes the area and perimeter of a polygon with no interior holes.
void GetAreaAndPerimeter(IPolygon pPolygon, out IPolygonMeasurement ppPolygonMeasurement)
Parameters
pPolygonIPolygonppPolygonMeasurementIPolygonMeasurement
GetAzimuthAngle(IPoint, IPoint, out IAngularMeasurement)
Computes the azimuth angle of the line connecting the two input map points.
void GetAzimuthAngle(IPoint pFirstPoint, IPoint pSecondPoint, out IAngularMeasurement ppAngleMeasurement)
Parameters
pFirstPointIPointpSecondPointIPointppAngleMeasurementIAngularMeasurement
GetCentroid(IPolygon, out IPointMeasurement)
Gets the coordinates of the centroid of a polygon and the associated error covariance matrix.
void GetCentroid(IPolygon pPolygon, out IPointMeasurement ppPointMeasurement)
Parameters
pPolygonIPolygonppPointMeasurementIPointMeasurement
GetDistance(IPoint, IPoint, out IDistanceMeasurement)
Computes the actual distance between two points given their map points.
void GetDistance(IPoint pFirstPoint, IPoint pSecondPoint, out IDistanceMeasurement ppDistMeasurement)
Parameters
pFirstPointIPointpSecondPointIPointppDistMeasurementIDistanceMeasurement
GetHeightFromBaseAndTop(IPoint, IPoint, out IHeightMeasurement)
Estimates the height of an object given the base and the top map points of the object.
void GetHeightFromBaseAndTop(IPoint pBaseOfObject, IPoint pTopOfObject, out IHeightMeasurement ppHtMeasurement)
Parameters
pBaseOfObjectIPointpTopOfObjectIPointppHtMeasurementIHeightMeasurement
GetHeightFromBaseAndTopShadow(IPoint, IPoint, out IHeightMeasurement)
Estimates the height of an object given the map point of the object's base and the tip of the object's top shadow.
void GetHeightFromBaseAndTopShadow(IPoint pBaseOfObject, IPoint pTopShadowOfObject, out IHeightMeasurement ppHtMeasurement)
Parameters
pBaseOfObjectIPointpTopShadowOfObjectIPointppHtMeasurementIHeightMeasurement
GetHeightFromTopAndTopShadow(IPoint, IPoint, out IHeightMeasurement)
Estimates the height of an object given the top map point of the object and the tip of the object's top shadow.
void GetHeightFromTopAndTopShadow(IPoint pTopOfObject, IPoint pTopShadowOfObject, out IHeightMeasurement ppHtMeasurement)
Parameters
pTopOfObjectIPointpTopShadowOfObjectIPointppHtMeasurementIHeightMeasurement
GetPoint(IPoint, out IPointMeasurement)
Gets the coordinates of a map point and the associated error covariance matrix.
void GetPoint(IPoint pPoint, out IPointMeasurement ppPointMeasurement)
Parameters
pPointIPointppPointMeasurementIPointMeasurement
GetSensorModelProperty(string)
Gets a property value of the sensor model currently being used by this IMensuration.
object GetSensorModelProperty(string propertyName)
Parameters
propertyNamestring
Returns
PutSensorModelProperty(string, string)
Sets a property value of the sensor model.
void PutSensorModelProperty(string propertyKey, string propertyValue)
Parameters
PutTerrainParameters(string, string)
Sets the name of the terrain model and the associated terrain model data source information.
void PutTerrainParameters(string terrainModelDataSrc, string terrainModelName)
Parameters
SignificantFigures(double, double, out string, out string)
Truncates input mensuration and uncertainty values based on acceptable rules for reporting measurement and uncertianty values.
void SignificantFigures(double measurementValue, double uncertainty, out string pMeasurement, out string pUncertainty)