ElementDefinition Class

Default implementation of IElementDefinition.

Definition

Namespace: DHI.Mike1D.Generic
Assembly: DHI.Mike1D.Generic (in DHI.Mike1D.Generic.dll) Version: 24.0.0.0 (11.1.1.1111)
C#
[SerializableAttribute]
public class ElementDefinition : IElementDefinition
Inheritance
Object    ElementDefinition
Implements
IElementDefinition

Remarks

Does not implement 3D version yet.

Constructors

ElementDefinitionInitializes a new instance of the ElementDefinition class

Properties

Id Id of element.
Vertices Return the vertex coordinates

Methods

EqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
FaceCount Returns the number of faces in a 3D element. Zero when not a 3D element.
FaceVertices Returns the list of vertices that comprise a given face number.
FinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
GetHashCodeServes as the default hash function.
(Inherited from Object)
GetTypeGets the Type of the current instance.
(Inherited from Object)
GetVertex Return a specific vertex
MemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
ToStringReturns a string that represents the current object.
(Inherited from Object)
VertexCount Number of vertices in this element. Can be zero, if element is IdBased only and has no geographical reference.

See Also