|
bool | Inside (IViewport outer, double tolerance=0.0) |
|
bool | Intersects (IViewport vp) |
|
GeoPos[] | GetCorners () |
| Returns an array of geographic positions of raster corners,.
|
|
Vector | GetNorthVector (GeoPos pos) |
| Returns a vector in pixel coordinates pointing north at geopos, with a length of 1m.
|
|
Vector | GetEastVector (GeoPos pos) |
| Returns a vector in pixel coordinates pointing east at geopos, with a length of 1m.
|
|
Vector | GetPixelSize (GeoPos pos) |
| Returns pixel size in meters at geopos, separate X & Y sizes. Note: PixelSize().Length is NOT the pixel size,.
|
|
bool | Contains (GeoPos pos) |
| Returns true if pos is inside rectangle (0,0,Width,Height)
|
|
bool | Intersects (IRasterProjector rp) |
| Check if this raster projector intersects another raster projector.
|
|
GeoPos[] | GetRefinedBoundary (int subdivisions) |
| Calculate a set of geographical points along the border of the raster projector. This set will include the corners, as well as a number of points along each edge, corresponding to the subdivisions parameter. If subdivisions is 1, only the corners are returned.
|
|
GeoRect | CalcGeoRect () |
| Calculate geographical bounds. This method will calculate the geographical bounds of the raster projector by checking the corners and midpoints. This will account for projections with some curvature, but if you need even higher precision, you may have to do this with more sample points.
|
|
bool | LatLonToXY (GeoPos latlon, out Point xy) |
| Convert from geographical lat/lon coordinate to pixel coordinates.
|
|
bool | LatLonToXY (GeoPos[] latlon, out Point[] xy) |
| Convert multiple points from geographical lat/lon coordinates to pixel coordinates.
|
|
bool | XYToLatLon (Point xy, out GeoPos latlon) |
| Convert from pixel coordinate to geographical lat/lon.
|
|
bool | XYToLatLon (Point[] xy, out GeoPos[] latlon) |
| Convert multiple points from pixel coordinates to geographical lat/lon.
|
|
|
DeviceInfo | DeviceInfo [get] |
|
Viewspec | Viewspec [get] |
|
Int32Rect | DeviceRect [get] |
|
Point | DeviceCenter [get] |
|
GeoRect | GeoRect [get] |
|
Extents | MetersRect [get] |
|
double | Rotation [get] |
| Get viewport rotation.
|
|
string | ProjectorId [get] |
|
Vector | NorthVector [get] |
|
Vector | EastVector [get] |
|
PointXY | Size [get] |
|
double | PixelSize [get] |
|
int | Width [get] |
| Width of the raster area in pixels.
|
|
int | Height [get] |
| Height of the raster area in pixels.
|
|
GeoPos | Center [get] |
| Geographic center, position of pixelpos at Width/2, Height/2.
|
|
Point | CenterPoint [get] |
| Pixel coordinate of center = (Width/2, Height/2)
|
|
Matrix3x3 | ProjToImage [get] |
| Transformation matrix for converting from projected coordinates to pixel coordinates.
|
|
Matrix3x3 | ImageToProj [get] |
| Transformation matrix for converting from pixel coordinates to projected coordinates.
|
|
IProjector | GeoProjector [get] |
| Projector between geographical and projected coordinates. The complete raster projection is this projector combined with the raster projection matrix.
|
|
String | ProjectionString [get] |
| Get projection ID for the current projection.
|
|
DistanceUnit | Unit [get] |
| Nominal unit in the XY plane.
|
|
double | UnitScale [get] |
| XY unit scale factor. Used with IProjectors of type GeoTransform. XY values may be multiplied by this factor to produce values corresponding to given DistanceUnit.
|
|
bool | IsProjection [get] |
| True if the IProjector transform contains a projection component, false if the transform is 'only' a datum converion.
|
|