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

bool

CanMeasure

Indicates if the specified image segment can be used for mensuration.

bool CanMeasure { get; }

Property Value

bool

CanMeasureHeightBaseToTop

Indicates if the sensor model associated with the current image segment supports height mensuration.

bool CanMeasureHeightBaseToTop { get; }

Property Value

bool

CanMeasureHeightBaseToTopShadow

Indicates if the sensor model associated with the current image segment supports shadow mensuration.

bool CanMeasureHeightBaseToTopShadow { get; }

Property Value

bool

CanMeasureHeightTopToTopShadow

Indicates if the sensor model associated with the current image segment supports shadow mensuration.

bool CanMeasureHeightTopToTopShadow { get; }

Property Value

bool

CanMeasureMonoscopic

Indicates if the sensor model associated with the current image segment supports monoscopic mensuration.

bool CanMeasureMonoscopic { get; }

Property Value

bool

CanMeasureMultiImages

Indicates if the sensor model associated with the current image segment supports multi-image mensuration.

bool CanMeasureMultiImages { get; }

Property Value

bool

CanMeasureStereoscopic

Indicates if the sensor model associated with the current image segment supports stereoscopic mensuration.

bool CanMeasureStereoscopic { get; }

Property Value

bool

DEM

The DEM for the raster to be used for mensuration.

IRaster DEM { get; set; }

Property Value

IRaster

DefaultPointingErrCovariance

Default pointing error covariance matrix.

IDoubleArray DefaultPointingErrCovariance { get; set; }

Property Value

IDoubleArray

DesiredPrecision

The iteration precision of the image-to-ground and ground-to-image calculations.

double DesiredPrecision { get; set; }

Property Value

double

Name

The name of this IMensuration object.

string Name { get; }

Property Value

string

Raster

The raster object to be used for mensuration.

IRaster Raster { set; }

Property Value

IRaster

SensorModel

The name of the sensor model currently being used by this IMensuration object.

string SensorModel { get; }

Property Value

string

SensorModelProperties

The properties of the current sensor model.

IPropertySet SensorModelProperties { get; }

Property Value

IPropertySet

TMName

The name of the TerrainModel used by this IMensuration object.

string TMName { get; }

Property Value

string

Valid

Indicates if all the required system parameters and resources of this IMensuration have been successfully initialized.

bool Valid { get; }

Property Value

bool

Version

The version of this IMensuration.

string Version { get; }

Property Value

string

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

FromUnit esriDirectionUnits
ToUnit esriDirectionUnits
inputValue double
pOutputValue double

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

FromUnit esriAreaUnits
ToUnit esriAreaUnits
inputValue double
pOutputValue double

ConvertDisplayCoordUnit(esriDisplayCoordUnitType, IPoint)

Gets different coordinate unit display representation for input point (latitude, longitude).

string ConvertDisplayCoordUnit(esriDisplayCoordUnitType desiredDisplayUnit, IPoint pGeographicPt)

Parameters

desiredDisplayUnit esriDisplayCoordUnitType
pGeographicPt IPoint

Returns

string

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

inHorizAngularUnit esriDirectionUnits
outHorizAngularUnit esriDirectionUnits
inHorizLinearUnit esriUnits
outHorizLinearUnit esriUnits
inVertUnit esriUnits
outVertUnit esriUnits
horizontalUnitType int
pCovariance IDoubleArray

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

FromUnit esriUnits
ToUnit esriUnits
inputValue double
pOutputValue double

GetAreaAndPerimeter(IPolygon, out IPolygonMeasurement)

Computes the area and perimeter of a polygon with no interior holes.

void GetAreaAndPerimeter(IPolygon pPolygon, out IPolygonMeasurement ppPolygonMeasurement)

Parameters

pPolygon IPolygon
ppPolygonMeasurement IPolygonMeasurement

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

pFirstPoint IPoint
pSecondPoint IPoint
ppAngleMeasurement IAngularMeasurement

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

pPolygon IPolygon
ppPointMeasurement IPointMeasurement

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

pFirstPoint IPoint
pSecondPoint IPoint
ppDistMeasurement IDistanceMeasurement

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

pBaseOfObject IPoint
pTopOfObject IPoint
ppHtMeasurement IHeightMeasurement

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

pBaseOfObject IPoint
pTopShadowOfObject IPoint
ppHtMeasurement IHeightMeasurement

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

pTopOfObject IPoint
pTopShadowOfObject IPoint
ppHtMeasurement IHeightMeasurement

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

pPoint IPoint
ppPointMeasurement IPointMeasurement

GetSensorModelProperty(string)

Gets a property value of the sensor model currently being used by this IMensuration.

object GetSensorModelProperty(string propertyName)

Parameters

propertyName string

Returns

object

PutSensorModelProperty(string, string)

Sets a property value of the sensor model.

void PutSensorModelProperty(string propertyKey, string propertyValue)

Parameters

propertyKey string
propertyValue string

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

terrainModelDataSrc string
terrainModelName string

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)

Parameters

measurementValue double
uncertainty double
pMeasurement string
pUncertainty string