|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IMensuration
Provides basic mensuration functionality utilizing sensor models that are compliant with the Community Sensor Model (CSM) specification.
Method Summary | |
---|---|
void |
convertAngular(int fromUnit,
int toUnit,
double inputValue,
double[] pOutputValue)
Converts angular measurement from 'fromUnit' to 'toUnit. |
void |
convertArea(int fromUnit,
int toUnit,
double inputValue,
double[] pOutputValue)
Converts area measurement from 'fromUnit' to 'toUnit. |
String |
convertDisplayCoordUnit(int desiredDisplayUnit,
IPoint pGeographicPt)
Gets different coordinate unit display representation for input point (latitude, longitude). |
void |
convertErrCovarianceUnits(int inHorizAngularUnit,
int outHorizAngularUnit,
int inHorizLinearUnit,
int outHorizLinearUnit,
int inVertUnit,
int outVertUnit,
int horizontalUnitType,
IDoubleArray pCovariance)
Converts the covariance matrix's units. |
void |
convertLinear(int fromUnit,
int toUnit,
double inputValue,
double[] pOutputValue)
Converts linear measurement from 'fromUnit' to 'toUnit. |
void |
getAreaAndPerimeter(IPolygon pPolygon,
IPolygonMeasurement[] ppPolygonMeasurement)
Computes the area and perimeter of a polygon with no interior holes. |
void |
getAzimuthAngle(IPoint pFirstPoint,
IPoint pSecondPoint,
IAngularMeasurement[] ppAngleMeasurement)
Computes the azimuth angle of the line connecting the two input map points. |
void |
getCentroid(IPolygon pPolygon,
IPointMeasurement[] ppPointMeasurement)
Gets the coordinates of the centroid of a polygon and the associated error covariance matrix. |
IDoubleArray |
getDefaultPointingErrCovariance()
Default pointing error covariance matrix. |
IRaster |
getDEM()
The DEM for the raster to be used for mensuration. |
double |
getDesiredPrecision()
The iteration precision of the image-to-ground and ground-to-image calculations. |
void |
getDistance(IPoint pFirstPoint,
IPoint pSecondPoint,
IDistanceMeasurement[] ppDistMeasurement)
Computes the actual distance between two points given their map points. |
void |
getHeightFromBaseAndTop(IPoint pBaseOfObject,
IPoint pTopOfObject,
IHeightMeasurement[] ppHtMeasurement)
Estimates the height of an object given the base and the top map points of the object. |
void |
getHeightFromBaseAndTopShadow(IPoint pBaseOfObject,
IPoint pTopShadowOfObject,
IHeightMeasurement[] ppHtMeasurement)
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 |
getHeightFromTopAndTopShadow(IPoint pTopOfObject,
IPoint pTopShadowOfObject,
IHeightMeasurement[] ppHtMeasurement)
Estimates the height of an object given the top map point of the object and the tip of the object's top shadow. |
String |
getName()
The name of this IMensuration object. |
void |
getPoint(IPoint pPoint,
IPointMeasurement[] ppPointMeasurement)
Gets the coordinates of a map point and the associated error covariance matrix. |
String |
getSensorModel()
The name of the sensor model currently being used by this IMensuration object. |
IPropertySet |
getSensorModelProperties()
The properties of the current sensor model. |
Object |
getSensorModelProperty(String propertyName)
Gets a property value of the sensor model currently being used by this IMensuration. |
String |
getTMName()
The name of the TerrainModel used by this IMensuration object. |
String |
getVersion()
The version of this IMensuration. |
boolean |
isCanErrorPropagate()
Indicates if the sensor model associated with the current image segment supports error propagation. |
boolean |
isCanMeasure()
Indicates if the specified image segment can be used for mensuration. |
boolean |
isCanMeasureHeightBaseToTop()
Indicates if the sensor model associated with the current image segment supports height mensuration. |
boolean |
isCanMeasureHeightBaseToTopShadow()
Indicates if the sensor model associated with the current image segment supports shadow mensuration. |
boolean |
isCanMeasureHeightTopToTopShadow()
Indicates if the sensor model associated with the current image segment supports shadow mensuration. |
boolean |
isCanMeasureMonoscopic()
Indicates if the sensor model associated with the current image segment supports monoscopic mensuration. |
boolean |
isCanMeasureMultiImages()
Indicates if the sensor model associated with the current image segment supports multi-image mensuration. |
boolean |
isCanMeasureStereoscopic()
Indicates if the sensor model associated with the current image segment supports stereoscopic mensuration. |
boolean |
isValid()
Indicates if all the required system parameters and resources of this IMensuration have been successfully initialized. |
void |
putSensorModelProperty(String propertyKey,
String propertyValue)
Sets a property value of the sensor model. |
void |
putTerrainParameters(String terrainModelDataSrc,
String terrainModelName)
Sets the name of the terrain model and the associated terrain model data source information. |
void |
setDefaultPointingErrCovariance(IDoubleArray ppPointingErrCovMatrix)
Default pointing error covariance matrix. |
void |
setDEMByRef(IRaster ppRaster)
The DEM for the raster to be used for mensuration. |
void |
setDesiredPrecision(double pPrecision)
The iteration precision of the image-to-ground and ground-to-image calculations. |
void |
setRasterByRef(IRaster rhs1)
The raster object to be used for mensuration. |
void |
significantFigures(double measurementValue,
double uncertainty,
String[] pMeasurement,
String[] pUncertainty)
Truncates input mensuration and uncertainty values based on acceptable rules for reporting measurement and uncertianty values. |
Method Detail |
---|
boolean isCanErrorPropagate() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.boolean isCanMeasure() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.boolean isCanMeasureHeightBaseToTop() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.boolean isCanMeasureMonoscopic() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.boolean isCanMeasureMultiImages() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.boolean isCanMeasureHeightTopToTopShadow() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.boolean isCanMeasureHeightBaseToTopShadow() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.boolean isCanMeasureStereoscopic() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void convertAngular(int fromUnit, int toUnit, double inputValue, double[] pOutputValue) throws IOException, AutomationException
fromUnit
- A com.esri.arcgis.system.esriDirectionUnits constant (in)toUnit
- A com.esri.arcgis.system.esriDirectionUnits constant (in)inputValue
- The inputValue (in)pOutputValue
- The pOutputValue (out: use single element array)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void convertArea(int fromUnit, int toUnit, double inputValue, double[] pOutputValue) throws IOException, AutomationException
fromUnit
- A com.esri.arcgis.system.esriAreaUnits constant (in)toUnit
- A com.esri.arcgis.system.esriAreaUnits constant (in)inputValue
- The inputValue (in)pOutputValue
- The pOutputValue (out: use single element array)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.String convertDisplayCoordUnit(int desiredDisplayUnit, IPoint pGeographicPt) throws IOException, AutomationException
desiredDisplayUnit
- A com.esri.arcgis.datasourcesraster.esriDisplayCoordUnitType constant (in)pGeographicPt
- A reference to a com.esri.arcgis.geometry.IPoint (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void convertLinear(int fromUnit, int toUnit, double inputValue, double[] pOutputValue) throws IOException, AutomationException
fromUnit
- A com.esri.arcgis.system.esriUnits constant (in)toUnit
- A com.esri.arcgis.system.esriUnits constant (in)inputValue
- The inputValue (in)pOutputValue
- The pOutputValue (out: use single element array)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void convertErrCovarianceUnits(int inHorizAngularUnit, int outHorizAngularUnit, int inHorizLinearUnit, int outHorizLinearUnit, int inVertUnit, int outVertUnit, int horizontalUnitType, IDoubleArray pCovariance) throws IOException, AutomationException
inHorizAngularUnit
- A com.esri.arcgis.system.esriDirectionUnits constant (in)outHorizAngularUnit
- A com.esri.arcgis.system.esriDirectionUnits constant (in)inHorizLinearUnit
- A com.esri.arcgis.system.esriUnits constant (in)outHorizLinearUnit
- A com.esri.arcgis.system.esriUnits constant (in)inVertUnit
- A com.esri.arcgis.system.esriUnits constant (in)outVertUnit
- A com.esri.arcgis.system.esriUnits constant (in)horizontalUnitType
- The horizontalUnitType (in)pCovariance
- A reference to a com.esri.arcgis.system.IDoubleArray (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.IDoubleArray getDefaultPointingErrCovariance() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setDefaultPointingErrCovariance(IDoubleArray ppPointingErrCovMatrix) throws IOException, AutomationException
ppPointingErrCovMatrix
- A reference to a com.esri.arcgis.system.IDoubleArray (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.IRaster getDEM() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setDEMByRef(IRaster ppRaster) throws IOException, AutomationException
ppRaster
- A reference to a com.esri.arcgis.geodatabase.IRaster (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.double getDesiredPrecision() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setDesiredPrecision(double pPrecision) throws IOException, AutomationException
pPrecision
- The pPrecision (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void getAreaAndPerimeter(IPolygon pPolygon, IPolygonMeasurement[] ppPolygonMeasurement) throws IOException, AutomationException
pPolygon
- A reference to a com.esri.arcgis.geometry.IPolygon (in)ppPolygonMeasurement
- A reference to a com.esri.arcgis.datasourcesraster.IPolygonMeasurement (out: use single element array)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void getAzimuthAngle(IPoint pFirstPoint, IPoint pSecondPoint, IAngularMeasurement[] ppAngleMeasurement) throws IOException, AutomationException
pFirstPoint
- A reference to a com.esri.arcgis.geometry.IPoint (in)pSecondPoint
- A reference to a com.esri.arcgis.geometry.IPoint (in)ppAngleMeasurement
- A reference to a com.esri.arcgis.datasourcesraster.IAngularMeasurement (out: use single element array)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void getCentroid(IPolygon pPolygon, IPointMeasurement[] ppPointMeasurement) throws IOException, AutomationException
pPolygon
- A reference to a com.esri.arcgis.geometry.IPolygon (in)ppPointMeasurement
- A reference to a com.esri.arcgis.datasourcesraster.IPointMeasurement (out: use single element array)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void getDistance(IPoint pFirstPoint, IPoint pSecondPoint, IDistanceMeasurement[] ppDistMeasurement) throws IOException, AutomationException
pFirstPoint
- A reference to a com.esri.arcgis.geometry.IPoint (in)pSecondPoint
- A reference to a com.esri.arcgis.geometry.IPoint (in)ppDistMeasurement
- A reference to a com.esri.arcgis.datasourcesraster.IDistanceMeasurement (out: use single element array)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void getHeightFromBaseAndTop(IPoint pBaseOfObject, IPoint pTopOfObject, IHeightMeasurement[] ppHtMeasurement) throws IOException, AutomationException
pBaseOfObject
- A reference to a com.esri.arcgis.geometry.IPoint (in)pTopOfObject
- A reference to a com.esri.arcgis.geometry.IPoint (in)ppHtMeasurement
- A reference to a com.esri.arcgis.datasourcesraster.IHeightMeasurement (out: use single element array)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void getHeightFromBaseAndTopShadow(IPoint pBaseOfObject, IPoint pTopShadowOfObject, IHeightMeasurement[] ppHtMeasurement) throws IOException, AutomationException
pBaseOfObject
- A reference to a com.esri.arcgis.geometry.IPoint (in)pTopShadowOfObject
- A reference to a com.esri.arcgis.geometry.IPoint (in)ppHtMeasurement
- A reference to a com.esri.arcgis.datasourcesraster.IHeightMeasurement (out: use single element array)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void getHeightFromTopAndTopShadow(IPoint pTopOfObject, IPoint pTopShadowOfObject, IHeightMeasurement[] ppHtMeasurement) throws IOException, AutomationException
pTopOfObject
- A reference to a com.esri.arcgis.geometry.IPoint (in)pTopShadowOfObject
- A reference to a com.esri.arcgis.geometry.IPoint (in)ppHtMeasurement
- A reference to a com.esri.arcgis.datasourcesraster.IHeightMeasurement (out: use single element array)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void getPoint(IPoint pPoint, IPointMeasurement[] ppPointMeasurement) throws IOException, AutomationException
pPoint
- A reference to a com.esri.arcgis.geometry.IPoint (in)ppPointMeasurement
- A reference to a com.esri.arcgis.datasourcesraster.IPointMeasurement (out: use single element array)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.Object getSensorModelProperty(String propertyName) throws IOException, AutomationException
propertyName
- The propertyName (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.String getName() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void putSensorModelProperty(String propertyKey, String propertyValue) throws IOException, AutomationException
propertyKey
- The propertyKey (in)propertyValue
- The propertyValue (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void putTerrainParameters(String terrainModelDataSrc, String terrainModelName) throws IOException, AutomationException
terrainModelDataSrc
- The terrainModelDataSrc (in)terrainModelName
- The terrainModelName (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setRasterByRef(IRaster rhs1) throws IOException, AutomationException
rhs1
- A reference to a com.esri.arcgis.geodatabase.IRaster (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.String getSensorModel() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.IPropertySet getSensorModelProperties() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void significantFigures(double measurementValue, double uncertainty, String[] pMeasurement, String[] pUncertainty) throws IOException, AutomationException
measurementValue
- The measurementValue (in)uncertainty
- The uncertainty (in)pMeasurement
- The pMeasurement (out: use single element array)pUncertainty
- The pUncertainty (out: use single element array)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.String getTMName() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.boolean isValid() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.String getVersion() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |