This document is archived and information here might be outdated. Recommended version. |
Rotates a raster around a point by a specified angle.
[Visual Basic .NET] Public Function Rotate ( _ ByVal GeoDataset As IGeoDataset, _ ByVal resampleType As esriGeoAnalysisResampleEnum, _ ByVal angle As Double, _ [ByRef origin As Object] _ ) As IGeoDataset
[C#] public IGeoDataset Rotate ( IGeoDataset GeoDataset, esriGeoAnalysisResampleEnum resampleType, double angle, ref object origin );
[C++]
HRESULT Rotate(
IGeoDataset* GeoDataset,
esriGeoAnalysisResampleEnum resampleType,
double angle,
Variant* origin
);
[C++] Parameters GeoDataset [in]
GeoDataset is a parameter of type IGeoDataset* resampleType [in]
resampleType is a parameter of type esriGeoAnalysisResampleEnum angle [in]
angle is a parameter of type double origin [in, optional]
origin is a parameter of type VARIANT*
GeoDataset |
an input Raster, RasterDataset, RasterBand, or RasterDescriptor |
resampleType |
an esriGeoAnalysisResampleEnum specifing the resampling algorithm to be used when sampling a Raster can be of type: esriGeoAnalysisResampleBilinear - bilinear interpolation. This is Default. esriGeoAnalysisResampleCubic - cubic convolution. esriGeoAnalysisResampleNearest - nearest neighbor assignment. |
angle |
The angle in degrees to rotate the raster. This can be any floating-point number. |
[origin] |
The pivot point to rotate the raster around. The default is the lower left corner of input GeoDataset |