DfsFactory Class |
It contains functionality for creating classes that are to be used when building a new file, e.g. the DfsBuilder.
Namespace: DHI.Generic.MikeZero.DFS
The DfsFactory type exposes the following members.
Name | Description | |
---|---|---|
DfsFactory | Initializes a new instance of the DfsFactory class |
Name | Description | |
---|---|---|
CreateAxisCurveLinearD2 |
Create a 2D curve-linear spatial axis. See IDfsAxisCurveLinearD2 for details.
This 2D axis is used for curve-linear dfs2 files.
| |
CreateAxisCurveLinearD3 |
Create a 3D curve-linear spatial axis. See IDfsAxisCurveLinearD3 for details.
This 3D axis is used for special types of dfs3 files.
| |
CreateAxisDummy |
Create a dummy spatial axis that can contain numberOfValues
data values.
This can be used when an item does not have a relevant spatial axis and it is required to store a number of values. It is used for items of a dfsu file. | |
CreateAxisEqD0 |
Create a 0D spatial axis.
This 0D axis is used for dfs0 files.
See IDfsAxisEqD0 for details.
| |
CreateAxisEqD1 |
Create a 1D equidistant spatial axis.
This 1D axis is used for dfs1 files.
See IDfsAxisEqD1 for details.
| |
CreateAxisEqD2 |
Create a 2D equidistant spatial axis.
This 2D axis is used for dfs2 files.
See IDfsAxisEqD2 for details.
| |
CreateAxisEqD3 |
Create a 3D equidistant spatial axis.
This 3D axis is used for dfs3 files.
See IDfsAxisEqD3 for details.
| |
CreateAxisEqD4 |
Create a 4D equidistant spatial axis. Currently not supported.
| |
CreateAxisNeqD1 |
Create a 1D non-equidistant spatial axis.
This 1D axis is used for dfs1 files.
See IDfsAxisNeqD1 for details.
This is actually more alike a 1D curve-linear axis. | |
CreateAxisNeqD2 |
Create a 2D non-equidistant spatial axis.
This 2D axis is used for special types of dfs2 files.
See IDfsAxisNeqD2 for details.
| |
CreateAxisNeqD3 |
Create a 3D non-equidistant spatial axis.
This 3D axis is used for special types of dfs3 files.
| |
CreateCustomBlock(String, Array) |
Create a custom block, with the provided name and data.
The arrayData must be an array of type float, double, byte, int, uint, short or ushort | |
CreateCustomBlockT(String, T) |
Create a custom block, with the provided name and data.
| |
CreateDfs1Builder |
Create a Dfs2Builder for building a dfs1 file.
| |
CreateDfs2Builder |
Create a Dfs2Builder for building a dfs2 file.
| |
CreateDfs3Builder |
Create a Dfs2Builder for building a dfs3 file.
| |
CreateDfsuBuilder |
Create a Dfs2Builder for building a dfsu file.
| |
CreateGenericDfsBuilder |
Create a DfsBuilder for building a generic dfs file.
| |
CreateMeshBuilder |
Create a MeshBuilder for building a mesh file.
| |
CreateProjection |
Create an IDfsProjection based on the wktProjectionString.
The reference coordinates are set to the origin of the projected coordinate system. | |
CreateProjectionGeoOrigin |
Create an IDfsProjection based on the wktProjectionString,
and set the origin (in geo (lon-lat) coordinates) and orientation of the model coordinate system.
See IDfsProjection for details on the lon-lat origin and orientation. | |
CreateProjectionProjOrigin |
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. | |
CreateProjectionUndefined |
Creates an undefined IDfsProjection which is provided for backward
compatibility. Use preferably one of the other projection methods.
| |
CreateStaticItem |
Create a static item with the provided name, quantity and data.
data must an array with one of the supported DfsSimpleType, e.g. int[]. The spatial axis is set to a dummy axis of the correct length. | |
CreateTemporalEqCalendarAxis |
Create a temporal axis, equidistant calendar axis.
| |
CreateTemporalEqTimeAxis |
Create a temporal axis, equidistant time axis.
| |
CreateTemporalNonEqCalendarAxis |
Create a temporal axis, non-equidistant calendar axis.
| |
CreateTemporalNonEqTimeAxis |
Create a temporal axis, non-equidistant time axis.
| |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |