Click or drag to resize

IDfsAxisEqD2 Interface

Axis description of a 2-dimensional equidistant structured grid.

The user must know whether the data values are based on the coordinates (node values) or between coordinates (element values)

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 interface IDfsAxisEqD2 : IDfsAxisEqD1, 
	IDfsSpatialAxis

The IDfsAxisEqD2 type exposes the following members.

Properties
  NameDescription
Public propertyAxisType
Type of spatial axis. Depending on this type, the class can be cast to one of the sub-types.
(Inherited from IDfsSpatialAxis.)
Public propertyAxisUnit
Unit of the axis coordinate values.
(Inherited from IDfsSpatialAxis.)
Public propertyDimension
Axis dimension
(Inherited from IDfsSpatialAxis.)
Public propertyDx
space between each gridpoint
(Inherited from IDfsAxisEqD1.)
Public propertyDy
Space between each gridpoint in the y direction
Public propertySizeOfData
Size of data, number of data values.
(Inherited from IDfsSpatialAxis.)
Public propertyX0
Relative offset to origin
(Inherited from IDfsAxisEqD1.)
Public propertyXCount
Number of data points in the x direction
(Inherited from IDfsAxisEqD1.)
Public propertyY0
Relative offset to origin in the y direction
Public propertyYCount
Number of data points in the y direction
Top
Methods
  NameDescription
Public methodSizeOfDimension
Size of data in the given dimension. Return 1 if data dimension is less than argument dimension.

First dimension uses 1 for dimension.

(Inherited from IDfsSpatialAxis.)
Top
Extension Methods
  NameDescription
Public Extension MethodAxisEquals
Check whether two spatial axis equals.
(Defined by DfsExtensions.)
Public Extension MethodClone
Make a clone/copy of a spatial axis. Array data are copied (deep clone)
(Defined by DfsExtensions.)
Public Extension MethodCreateAllCoordinates
Create coordinates for all data points, based on the spatial axis.

It calculates node coordinates for all nodes in the axis, i.e. the number of Coords returned may not equal the number of data values in the item. And the coordinates may be offset by half a grid cell compared to the center coordinate for the data values.

(Defined by DfsExtensions.)
Public Extension MethodGeometryItemType
Get the item type of the spatial axis geometry.
(Defined by DfsExtensions.)
Public Extension MethodUpdate
Updates the destination axis with the properties from the source axis. Only the editable properties are edited.
(Defined by DfsExtensions.)
Top
See Also