Convert source extent to WGS84 extent
Namespace:
EGIS.ShapeFileLibAssembly: EGIS.ShapeFileLib (in EGIS.ShapeFileLib.dll)
Syntax
| Visual Basic |
|---|
Public Function ConvertExtentToWgs84 ( _ sourceExtent As RectangleD, _ source As ICRS, _ ensureWidthPositive As Boolean _ ) As RectangleD |
| C# |
|---|
public RectangleD ConvertExtentToWgs84( RectangleD sourceExtent, ICRS source, bool ensureWidthPositive ) |
| Visual C++ |
|---|
public: RectangleD ConvertExtentToWgs84( RectangleD sourceExtent, ICRS^ source, bool ensureWidthPositive ) |
| JavaScript |
|---|
function convertExtentToWgs84(sourceExtent, source, ensureWidthPositive); |
Parameters
- sourceExtent
- Type: EGIS.ShapeFileLib..::..RectangleD
- source
- Type: EGIS.Projections..::..ICRS
- ensureWidthPositive
- Type: System..::..Boolean
Return Value
Remarks
For an area of interest crossing the anti-meridian, where west_lon_degree will be greater than east_lon_degree
360 degrees is added to the returned extent.Right to ensure the rectangle width is not negative