MapWindow Home
Search MapWindow.org


  • Home
    • Download
    • Why MW
    • FAQ
    • Contact
  • Products
    • MapWindow
    • ActiveX
    • Plug-ins
  • Software Dev
    • Sample Code
    • Scripts
    • Source
    • Bugs
    • Support
    • Languages
  • Site Tools
    • Forums
    • Tutorials
    • Mailing Lists
    • Team
    • Site Stats
    • Links
  • Get Stuff
    • Buy a CD
    • Buy a T-Shirt
    • MW Book
    • ActiveX Book
    • Donate
    • Buy Support
  • Documentation
    • MWGIS App. User Guide
    • GISTools User Guide
    • MW Plug-ins Dev. Guide
    • MWGIS ActiveX Dev. Guide
    • MWGeoProc Dev. Guide

MapWinGeoProc:Globals ProjToCell

From MapWindow GIS

Jump to: navigation, search

CellToProj

Syntax

 CellToProj(int col, int row, ref double x, ref double y, double XllCenter, double YllCenter, double dX, double dY, int numRows)

Summary

Finds the center point of a grid cell that corresponds to the row/col provided.

Parameters

col The column to be considered.
row The row to be considered.
x The resulting X value of the point that is in the center of the grid's cell.
y The resulting Y value of the point that is in the center of the grid's cell.
XllCenter The X value of the center point of the lower-left corner of the grid.
YllCenter The Y value of the center point of the lower-left corner of the grid.
dX The width of a cell in the grid.
dY The height of a cell in the grid.
numRows The total number of rows in the grid.

Visual Basic Net 2005 Example Implementation Code
Visual C# 2005 Example Implementation Code
Back to Globals

Retrieved from "http://www.mapwindow.org/wiki/index.php/MapWinGeoProc:Globals_ProjToCell"
Views
  • Page
  • Discussion
  • View source
  • History
Personal tools
  • Log in / create account
  • What links here
  • Related changes
  • Upload file
  • Special pages
  • Printable version
  • Permanent link

Geospatial Software Lab

Copyright © 2008 - MapWindow Open Source Team
( last updated: November 12 2008.)
Home | Donate | Download | MapWindow GIS Desktop | MapWinGIS.ocx | Plug-ins | Contact | Lists | Bugs | Sample Code | Documentation
Code Repository | Open Source License | Discussion Forum | Wiki | Join the Team | Site Statistics | Links