DfsFactoryCreateProjectionProjOrigin Method |
Create an
IDfsProjection based on the
wktProjectionString,
and set the origin (in projected coordinates) and orientation of the model coordinate system.
See IDfsProjection for details on the lon-lat origin and orientation.
The projection returned will store values as longitude, lattitude and orientation
from true north.
Namespace: DHI.Generic.MikeZero.DFSAssembly: DHI.Generic.MikeZero.DFS (in DHI.Generic.MikeZero.DFS.dll) Version: 16.0.0.0 (11.1.1.1111)
Syntaxpublic IDfsProjection CreateProjectionProjOrigin(
string wktProjectionString,
double easting,
double northing,
double orientation
)
Public Function CreateProjectionProjOrigin (
wktProjectionString As String,
easting As Double,
northing As Double,
orientation As Double
) As IDfsProjection
public:
IDfsProjection^ CreateProjectionProjOrigin(
String^ wktProjectionString,
double easting,
double northing,
double orientation
)
member CreateProjectionProjOrigin :
wktProjectionString : string *
easting : float *
northing : float *
orientation : float -> IDfsProjection
Parameters
- wktProjectionString
- Type: SystemString
WKT string for a spatial reference system. - easting
- Type: SystemDouble
Origin easting/x coordinate value - northing
- Type: SystemDouble
Origin northing/y coordinate value - orientation
- Type: SystemDouble
Orientation of model coordinates. The rotation from projection north to the model coordinate y-axis, positive clockwise
Return Value
Type:
IDfsProjection
See Also