This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > DataSourcesRaster > ESRI.ArcGIS.DataSourcesRaster > Interfaces > IR > IRasterGeometryProc3 Interface > IRasterGeometryProc3.PointsMap2PixelTransform Method (ArcObjects .NET 10.4 SDK) |
Performs the map to pixel transformation.
[Visual Basic .NET] Public Function PointsMap2PixelTransform ( _ ByVal pInPoints As IPointCollection, _ ByVal isForward As Boolean, _ ByVal pRaster As IRaster _ ) As IPointCollection
[C#] public IPointCollection PointsMap2PixelTransform ( IPointCollection pInPoints, bool isForward, IRaster pRaster );
[C++]
HRESULT PointsMap2PixelTransform(
IPointCollection* pInPoints,
VARIANT_BOOL isForward,
IRaster* pRaster,
IPointCollection** ppOutPoints
);
[C++]
Parameters pInPoints [in]
pInPoints is a parameter of type IPointCollection isForward [in] isForward is a parameter of type VARIANT_BOOL pRaster [in]
pRaster is a parameter of type IRaster ppOutPoints [out, retval]
ppOutPoints is a parameter of type IPointCollection
The PointsMap2PixelTransform method takes all the transformations on a Raster, and then performs transformations between map space and pixel space. This method works better for rasters with square cell size.