Class SARXformClass
- Namespace
- ESRI.ArcGIS.DatasourcesRaster
- Assembly
- ESRI.Server.DatasourcesRaster.dll
[Guid("109616B1-8DF0-45E1-9F71-782602978635")]
[ClassInterface(ClassInterfaceType.None)]
public class SARXformClass : SARXform, IClone, ICustomXform, IDocumentVersionSupportGEN, IPersistStream, IPersist, ISARXform, IGeodataXform, ISensorXform, ITransformation, IXMLSerialize, IXMLVersionSupport
- Inheritance
-
SARXformClass
- Implements
- Inherited Members
Constructors
SARXformClass()
public SARXformClass()
Explicit Interface Implementations
Approximation
Indicates if approximation is desired.
virtual bool Approximation { get; }
Returns
Assign(IClone)
Assigns the properties of src to the receiver.
virtual void Assign(IClone src)
Parameters
srcIClone
Clone()
Clones the receiver and assigns the result to *clone.
virtual IClone Clone()
Returns
ConstantZ
The constant Z value in meters.
virtual double ConstantZ { get; set; }
Returns
Remarks
This property can be used to set a constant elevation across the image when DEM method is not used.
ConvertToSupportedObject(esriArcGISVersion)
Convert the object to another object that is supported.
virtual object ConvertToSupportedObject(esriArcGISVersion docVersion)
Parameters
docVersionesriArcGISVersion
Returns
Remarks
This method should be used when IDocumentVersionSupportGEN::IsSupportedAtVersion returns FALSE. Calling ConvertToSupportedObject will return an IUnknown pointer to a relevant object supported at the particular ArcGIS version. Not all objects will return a supported object; in these cases a null pointer will be returned.
CorrectGeoid
Indicates if Geoid correction is needed.
virtual bool CorrectGeoid { get; set; }
Returns
Remarks
If the property is set to true, the DEM used in orthorectification will be corrected to use the true elevation.
DEM
The Digital Elevation Model (DEM).
virtual IRaster DEM { get; set; }
Returns
Deserialize(IXMLSerializeData)
Deserializes an object from XML.
virtual void Deserialize(IXMLSerializeData data)
Parameters
dataIXMLSerializeData
Domains
virtual IGeometryCollection Domains { get; }
Returns
ExtractRequiredSensorModelParameters(string, IRasterDataset)
Extracts all the sensor model parameters required to be used to initialize the sensor model for this ISARXform (Input must be an IRadarSupportData).
virtual void ExtractRequiredSensorModelParameters(string requestedSM, IRasterDataset pRadarSupportData)
Parameters
requestedSMstringpRadarSupportDataIRasterDataset
GetClassID(out Guid)
virtual void GetClassID(out Guid pClassID)
Parameters
pClassIDGuid
GetSensorModelProperty(string)
Gets a property value of the sensor model currently being used by this ISARXform.
virtual object GetSensorModelProperty(string propertyName)
Parameters
propertyNamestring
Returns
GetSizeMax(out _ULARGE_INTEGER)
virtual void GetSizeMax(out _ULARGE_INTEGER pcbSize)
Parameters
pcbSize_ULARGE_INTEGER
InitSensorModel(IRasterDataset)
Initializes the sensor model to be used by this ISARXform (Input must be an IRadarSupportData).
virtual void InitSensorModel(IRasterDataset pRadarSupportData)
Parameters
pRadarSupportDataIRasterDataset
Initialize(string, string)
Initializes a custom geodata transform.
virtual void Initialize(string filename, string Data)
Parameters
IsDirty()
virtual void IsDirty()
IsEqual(IClone)
Indicates if the receiver and other have the same properties.
virtual bool IsEqual(IClone other)
Parameters
otherIClone
Returns
IsIdentical(IClone)
Indicates if the receiver and other are the same object.
virtual bool IsIdentical(IClone other)
Parameters
otherIClone
Returns
IsIdentity
virtual bool IsIdentity { get; }
Returns
IsSupportedAtVersion(esriArcGISVersion)
Is this object valid at the given document version.
virtual bool IsSupportedAtVersion(esriArcGISVersion docVersion)
Parameters
docVersionesriArcGISVersion
Returns
Remarks
Use IsSupportedAtVersion to identify if a particular object should be saved to the ObjectStream. This result is based on the esriArcGISVersion enumeration. In some instances, if the object is not supported at a particular ArcGIS version, the object may support conversion to another similar object; use IDocumentVersionSupportGEN::ConvertToSupportedObject to accomplish this.
IterPrecision
Precision value to be used for iterative processes.
virtual double IterPrecision { get; set; }
Returns
Load(IStream)
virtual void Load(IStream pstm)
Parameters
pstmIStream
MinNamespaceSupported
The minimum namespace the class can serialize to (eg the 90 namespace).
virtual string MinNamespaceSupported { get; }
Returns
PutSensorModelProperty(string, string)
Sets a property value of the sensor model.
virtual void PutSensorModelProperty(string propertyKey, string propertyValue)
Parameters
RadarDataset
The Radar Dataset.
virtual IRasterDataset RadarDataset { get; set; }
Returns
RequireDEM
Indicates if DEM is required for applying this transform.
virtual bool RequireDEM { get; set; }
Returns
SARFilename
Returns the filename used for the SAR Xform.
virtual string SARFilename { get; set; }
Returns
Save(IStream, int)
virtual void Save(IStream pstm, int fClearDirty)
Parameters
SensorModelName
Returns the sensor model name used for the SAR Xform.
virtual string SensorModelName { get; set; }
Returns
Serialize(IXMLSerializeData)
Serializes an object to XML.
virtual void Serialize(IXMLSerializeData data)
Parameters
dataIXMLSerializeData
SetSensorModel(ref IntPtr, bool)
Allows program-specific initialization of the sensor model to be used by this ISARXform (Input must be an instance of SAR::SM::SARSensorModel).
virtual void SetSensorModel(ref IntPtr aSARSensorModel, bool aTakeOwnershipOfSM)
Parameters
SpatialReference
virtual ISpatialReference SpatialReference { get; set; }
Returns
Transform(esriTransformDirection, int, ref WKSPoint)
virtual void Transform(esriTransformDirection Direction, int npoints, ref WKSPoint points)
Parameters
DirectionesriTransformDirectionnpointsintpointsWKSPoint
TransformCellsize(esriTransformDirection, ref double, ref double, IEnvelope)
virtual void TransformCellsize(esriTransformDirection Direction, ref double dx, ref double dy, IEnvelope AreaOfInterest)
Parameters
DirectionesriTransformDirectiondxdoubledydoubleAreaOfInterestIEnvelope
TransformExtent(esriTransformDirection, IEnvelope)
virtual void TransformExtent(esriTransformDirection Direction, IEnvelope Extent)
Parameters
DirectionesriTransformDirectionExtentIEnvelope
TransformMeasuresFF(esriTransformDirection, int, ref double, ref double)
Transforms floating point measures to floating point measures (or do the inverse).
virtual void TransformMeasuresFF(esriTransformDirection Direction, int cMeasures, ref double inMeasures, ref double outMeasures)
Parameters
DirectionesriTransformDirectioncMeasuresintinMeasuresdoubleoutMeasuresdouble
TransformMeasuresFI(esriTransformDirection, int, ref double, ref int)
Transforms floating point measures to integer measures (or do the inverse).
virtual void TransformMeasuresFI(esriTransformDirection Direction, int cMeasures, ref double inMeasures, ref int outMeasures)
Parameters
DirectionesriTransformDirectioncMeasuresintinMeasuresdoubleoutMeasuresint
TransformMeasuresIF(esriTransformDirection, int, ref int, ref double)
Transforms integer measures to floating point measures (or do the inverse).
virtual void TransformMeasuresIF(esriTransformDirection Direction, int cMeasures, ref int inMeasures, ref double outMeasures)
Parameters
DirectionesriTransformDirectioncMeasuresintinMeasuresintoutMeasuresdouble
TransformMeasuresII(esriTransformDirection, int, ref int, ref int)
Transforms integer measures to integer measures (or do the inverse).
virtual void TransformMeasuresII(esriTransformDirection Direction, int cMeasures, ref int inMeasures, ref int outMeasures)
Parameters
DirectionesriTransformDirectioncMeasuresintinMeasuresintoutMeasuresint
TransformPoints(esriTransformDirection, IPointCollection)
virtual void TransformPoints(esriTransformDirection Direction, IPointCollection points)
Parameters
DirectionesriTransformDirectionpointsIPointCollection
TransformPointsFF(esriTransformDirection, int, ref double, ref double)
Transforms floating point points to floating point points (or do the inverse).
virtual void TransformPointsFF(esriTransformDirection Direction, int cPoints, ref double inPoints, ref double outPoints)
Parameters
DirectionesriTransformDirectioncPointsintinPointsdoubleoutPointsdouble
Remarks
The cPoints parameter is the number of points you wish to transform. inPoints and outPoints are one-dimensional arrays so you must interleave coordinate pairs into the arrays.
The cPoints parameter is the number of points you wish to transform. inPoints and outPoints are one-dimensional arrays so you must interleave coordinate pairs into the arrays. This code is a shift of the points to the east and north.
IAffineTransformation2D transform = new AffineTransformation2D() as IAffineTransformation2D;
//Sets the type of transformation moving the values 10 degrees East and 20 degrees North
transform.Move(10, 20);
//Create two single dimensioned arrays for the inPoints and OutPoints
double[] inPoints = new double[4];
double[] outPoints = new double[4];
//Interleave the Longitude and Latitude value for two points 1.1E 5.2N, 2.3E 6.4N
inPoints[0]=1.1; //Longitude point 1
inPoints[1]=5.2; //Latitude point 1
inPoints[2]=2.3; //Longitude point 2
inPoints[3] = 6.4; //Latitude point 2
transform.TransformPointsFF(0,2,ref inPoints[0],ref outPoints[0]);
Debug.Print(outPoints[0].ToString()); //11.1
Debug.Print(outPoints[1].ToString()); //25.2
Debug.Print(outPoints[2].ToString()); //12.3
Debug.Print(outPoints[3].ToString()); //26.4
TransformPointsFI(esriTransformDirection, int, ref double, ref int)
Transforms floating point points to integer points (or do the inverse).
virtual void TransformPointsFI(esriTransformDirection Direction, int cPoints, ref double inPoints, ref int outPoints)
Parameters
DirectionesriTransformDirectioncPointsintinPointsdoubleoutPointsint
Remarks
The cPoints parameter is the number of points you wish to transform. inPoints and outPoints are one-dimensional arrays so you must interleave coordinate pairs into the arrays.
TransformPointsIF(esriTransformDirection, int, ref int, ref double)
Transforms integer points to floating point points (or do the inverse).
virtual void TransformPointsIF(esriTransformDirection Direction, int cPoints, ref int inPoints, ref double outPoints)
Parameters
DirectionesriTransformDirectioncPointsintinPointsintoutPointsdouble
Remarks
The cPoints parameter is the number of points you wish to transform. inPoints and outPoints are one-dimensional arrays so you must interleave coordinate pairs into the arrays.
TransformPointsII(esriTransformDirection, int, ref int, ref int)
Transforms integer points to integer points (or do the inverse).
virtual void TransformPointsII(esriTransformDirection Direction, int cPoints, ref int inPoints, ref int outPoints)
Parameters
DirectionesriTransformDirectioncPointsintinPointsintoutPointsint
Remarks
The cPoints parameter is the number of points you wish to transform. inPoints and outPoints are one-dimensional arrays so you must interleave coordinate pairs into the arrays.
ZFactor
The conversion factor from DEM Z unit to meters.
virtual double ZFactor { get; set; }
Returns
Remarks
A factor that converts the unit of the DEM to meter
ZOffset
The Z offset in meters applied to DEM.
virtual double ZOffset { get; set; }
Returns
Remarks
If the DEM data used is not based on sea level, this property can be used to do the adjustment.