 | CPJCreateRectified Method |
Create a rectified PJ from lon,lat,rotation
Namespace:
GeoEngine.Core.GXNetX
Assembly:
geoengine.core.gxnetx (in geoengine.core.gxnetx.dll) Version: 2024.2.0.25
Syntaxpublic static CPJ CreateRectified(
CGXNETCore gxNetShared,
double lon,
double lat,
double x,
double y,
double rot,
double scl,
int dir
)
public static CPJ CreateRectified(
CGXNETCore gxNetShared,
double lon,
double lat,
double x,
double y,
double rot,
double scl,
int dir
)
Public Shared Function CreateRectified (
gxNetShared As CGXNETCore,
lon As Double,
lat As Double,
x As Double,
y As Double,
rot As Double,
scl As Double,
dir As Integer
) As CPJ
Public Shared Function CreateRectified (
gxNetShared As CGXNETCore,
lon As Double,
lat As Double,
x As Double,
y As Double,
rot As Double,
scl As Double,
dir As Integer
) As CPJ
public:
static CPJ^ CreateRectified(
CGXNETCore^ gxNetShared,
double lon,
double lat,
double x,
double y,
double rot,
double scl,
int dir
)
public:
static CPJ^ CreateRectified(
CGXNETCore^ gxNetShared,
double lon,
double lat,
double x,
double y,
double rot,
double scl,
int dir
)
static member CreateRectified :
gxNetShared : CGXNETCore *
lon : float *
lat : float *
x : float *
y : float *
rot : float *
scl : float *
dir : int -> CPJ
static member CreateRectified :
gxNetShared : CGXNETCore *
lon : float *
lat : float *
x : float *
y : float *
rot : float *
scl : float *
dir : int -> CPJ
Parameters
- gxNetShared
- Type: GeoEngine.Core.GXNetXCGXNETCore
A shared CGXNETCore - lon
- Type: SystemDouble
Longitude at (X,Y) origin - lat
- Type: SystemDouble
Latitude at (X,Y) origin - x
- Type: SystemDouble
(X,Y) origin - y
- Type: SystemDouble
- rot
- Type: SystemDouble
Coordinate Y relative to geographic N (deg azm) - scl
- Type: SystemDouble
Scale to convert X,Y to m. - dir
- Type: SystemInt32
<define>PJ_RECT</define>
Return Value
Type:
CPJPJ Object
Remarks
Given an X,Y coordinate system, the lat/lon origin and
angle of the coordinate system, this will create a PJ
to convert between X,Y coordinates and Lon,Lat.
The Lon/Lat is determined using a Transverse Mercator
projection with central meridian through the center
of the coordinates on a WGS 84 datum.
See Also