C# Class SharpMap.Utilities.Transform

Class for transforming between world and image coordinate
Mostra file Open project: jumpinjackie/fdotoolbox

Public Methods

Method Description
MapToWorld ( System p, SharpMap map ) : SharpMap.Geometries.Point

Transforms from image coordinates to world coordinate system (WCS). NOTE: This method DOES NOT take the MapTransform property into account (use SharpMap.Map.MapToWorld instead)

WorldtoMap ( SharpMap p, SharpMap map ) : System.Drawing.PointF

Transforms from world coordinate system (WCS) to image coordinates NOTE: This method DOES NOT take the MapTransform property into account (use SharpMap.Map.MapToWorld instead)

Method Details

MapToWorld() public static method

Transforms from image coordinates to world coordinate system (WCS). NOTE: This method DOES NOT take the MapTransform property into account (use SharpMap.Map.MapToWorld instead)
public static MapToWorld ( System p, SharpMap map ) : SharpMap.Geometries.Point
p System Point in image coordinate system
map SharpMap Map reference
return SharpMap.Geometries.Point

WorldtoMap() public static method

Transforms from world coordinate system (WCS) to image coordinates NOTE: This method DOES NOT take the MapTransform property into account (use SharpMap.Map.MapToWorld instead)
public static WorldtoMap ( SharpMap p, SharpMap map ) : System.Drawing.PointF
p SharpMap Point in WCS
map SharpMap Map reference
return System.Drawing.PointF