Click or drag to resize

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.DFS
Assembly:  DHI.Generic.MIKEZero.DFS (in DHI.Generic.MIKEZero.DFS.dll) Version: 19.0.0.0 (11.1.1.1111)
Syntax
public IDfsProjection CreateProjectionProjOrigin(
	string wktProjectionString,
	double easting,
	double northing,
	double orientation
)

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