Method | Description | |
---|---|---|
CreateFeatureWorkspace ( string workspaceNameString ) : IFeatureWorkspace |
Create the feature workspace
|
|
CreateObserversFeatureClass ( IFeatureWorkspace featWorkspace, string name ) : IFeatureClass |
Create the point feature class for observer locations
|
|
GetSpatialAnalystLicense ( ) : esriLicenseStatus |
Check out spatial analyst license
|
|
RLOSViewModel ( ) : System |
One and only constructor
|
|
SetDatabaseFieldValue ( IRowBuffer ipRowBuffer, string strFieldName, object oFieldValue ) : void |
Sets a database fields value Throws an exception if the field is not found.
|
|
StartEditOperation ( IWorkspace ipWorkspace ) : void |
Start Editing operation
|
|
StopEditOperation ( IWorkspace ipWorkspace ) : bool |
Stop Editing operation
|
|
UnqueValueRenderer ( IFeatureWorkspace workspace, IFeatureClass fc ) : IFeatureRenderer |
Method | Description | |
---|---|---|
CreateMapElement ( ) : void |
Where all of the work is done. Override from TabBaseViewModel
|
|
CreateMaskFeatureClass ( IFeatureWorkspace featWorkspace, string name ) : IFeatureClass |
Create a polygon feature class used to store buffer geometries for observer points
|
|
EnableOkCancelClearBtns ( bool enable ) : void |
Enable or disable the form buttons
|
|
GenerateRasterRenderer ( IRaster pRaster ) : IRasterRenderer |
Generates a raster renderer using the provided settings
|
|
GetAngularDistance ( IMap map, double inputDistance, AngularTypes angularType ) : double |
Method to get an angular distance in the correct units for the map
|
|
GetAngularDistanceFromTo ( AngularTypes fromType, AngularTypes toType, double input ) : double |
Method to convert to/from different types of angular units
|
|
GetAngularType ( int angularUnitFactoryCode ) : AngularTypes |
Retrieves the angular type based on the esriSRUnit type
|
|
GetConversionFactor ( ISpatialReference ipSpatialReference ) : double |
Gets native units to meters conversion factor
|
|
GetLayerPath ( ILayer layer ) : string |
Return the layer file path of the provided layer
|
|
GetLinearDistance ( IMap map, double inputDistance, DistanceTypes distanceType ) : double | ||
IntersectOutput ( IRasterLayer rasterLayer, IDataset ipDataset, IFeatureWorkspace workspace, List |
Run RasterToPoly tool to convert input raster to poly's. Then run Intersect if input geomList has features
|
|
OnCancelCommand ( object obj ) : void | ||
OnClearCommand ( object obj ) : void | ||
OnDeleteAllPointsCommand ( object obj ) : void | ||
OnDeletePointCommand ( object obj ) : void | ||
OnNewMapPointEvent ( object obj ) : void |
Override this event to collect observer points based on tool mode Setting the observer point to blue since the output is green / red
|
|
OnSubmitCommand ( object obj ) : void | ||
Reset ( bool toolReset ) : void | ||
SetFieldValues ( double finalObserverOffset, double finalSurfaceOffset, double finalMinDistance, double finalMaxDistance, double finalLeftHorizontalFOV, double finalRightHorizontalFOV, double finalBottomVerticalFOV, double finalTopVerticalFOV, IFeature ipFeature ) : void |
Set the values for the associated fields
|
|
SetGPMask ( IFeatureWorkspace workspace, List |
Set a mask on the gp object to buffer the output to the specified distance
|
public static CreateFeatureWorkspace ( string workspaceNameString ) : IFeatureWorkspace | ||
workspaceNameString | string | Workspace name |
return | IFeatureWorkspace |
public static CreateObserversFeatureClass ( IFeatureWorkspace featWorkspace, string name ) : IFeatureClass | ||
featWorkspace | IFeatureWorkspace | |
name | string | |
return | IFeatureClass |
public GetSpatialAnalystLicense ( ) : esriLicenseStatus | ||
return | esriLicenseStatus |
public static SetDatabaseFieldValue ( IRowBuffer ipRowBuffer, string strFieldName, object oFieldValue ) : void | ||
ipRowBuffer | IRowBuffer | The tables row buffer |
strFieldName | string | The fields name |
oFieldValue | object | The value to set |
return | void |
public static StartEditOperation ( IWorkspace ipWorkspace ) : void | ||
ipWorkspace | IWorkspace | IWorkspace |
return | void |
public static StopEditOperation ( IWorkspace ipWorkspace ) : bool | ||
ipWorkspace | IWorkspace | IWorkspace |
return | bool |
public UnqueValueRenderer ( IFeatureWorkspace workspace, IFeatureClass fc ) : IFeatureRenderer | ||
workspace | IFeatureWorkspace | |
fc | IFeatureClass | |
return | IFeatureRenderer |