Click or drag to resize

MeshBuilder Class

Inheritance Hierarchy
SystemObject
  DHI.Generic.MikeZero.DFS.meshMeshBuilder

Namespace:  DHI.Generic.MikeZero.DFS.mesh
Assembly:  DHI.Generic.MIKEZero.DFS (in DHI.Generic.MIKEZero.DFS.dll) Version: 19.0.0.0 (11.1.1.1111)
Syntax
public class MeshBuilder

The MeshBuilder type exposes the following members.

Constructors
  NameDescription
Public methodMeshBuilder
Initializes a new instance of the MeshBuilder class
Top
Methods
  NameDescription
Public methodStatic memberCreate
Create a mesh file from the provided dfsu file.

The dfsu file must be a 2D dfsu file.

Public methodCreateMesh
Create and return a new MeshFile object
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodSetElementIds
Set the element id's. Optional. If not set, default values are used (1,2,3,...)
Public methodSetElements
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.
Public methodSetEumQuantity
Set the quantity to use for the mesh Z variable. If not set, it will use a Bathymetry item type (eumIBathymetry) with meter unit (eumUmeter).
Public methodSetNodeIds
Set the node id's. Optional. If not set, default values are used (1,2,3,...)
Public methodSetNodes(Double, Double, Double, Int32)
Set node coordinates and code.
Public methodSetNodes(Single, Single, Single, Int32)
Set node coordinates and code.

Coordinates are converted to doubles and stored.

Public methodSetProjection(String)
Set the projection to use for the mesh
Public methodSetProjection(IDfsProjection)
Set the projection to use for the mesh
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodValidate
Validate will return a string of issues from the item builder. When this returns an empty list, the item has been properly build.
Top
See Also