IDfsuBuilder Interface |
See DfsuBuilder for details
Namespace: DHI.Generic.MikeZero.DFS.dfsu
The IDfsuBuilder type exposes the following members.
Name | Description | |
---|---|---|
![]() | ApplicationTitle |
Get/Set the title of the application writing the file.
|
![]() | ApplicationVersion |
Set the version number of the application writing the file.
|
![]() | FileTitle |
Get/Set the title of the file.
|
Name | Description | |
---|---|---|
![]() | AddDynamicItem |
Add a dynamic item.
|
![]() | CreateFile |
Create and return a dfsu file
|
![]() | CreateStream |
Create and return a dfsu file, writing content to stream
|
![]() | SetElementIds |
Set the element id's. Optional. If not set, default values are used (1,2,3,...)
|
![]() | SetElements |
Set element connectivity: For each element is specified which nodes
the element consist of. The node is specified by its index into the list of nodes.
|
![]() | SetFromMeshFile |
Set projection, nodes and elements from mesh file.
This is equivalent to calling SetProjection(IDfsProjection), SetNodes(Double, Double, Single, Int32), SetElements(Int32). |
![]() | SetNodeIds |
Set the node id's. Optional. If not set, default values are used (1,2,3,...)
|
![]() | SetNodes |
Set node coordinates and code. Depending on the projection string,
node coordinates are in meters or degrees.
|
![]() | SetNumberOfTimeSteps |
Sets the number of time steps in the file.
This is only required in streaming context, where it is not possible to update the dfs header when everything is written to the file. In a non-streaming context this should not be used. |
![]() | SetProjection |
Set the geographical projection
|
![]() | SetTimeInfo |
Set time info for the temporal axis.
|
![]() | SetZUnit |
Set unit of the z coordinate. By default the unit is meters, but
the unit can be overridden by setting it explicitly here. The unit
must be a length unit (convertable to meters).
|
![]() | Validate |
Validate will return a string of issues from the item builder.
When this returns an empty list, the item has been properly build.
|