ElemSet Class

Defines sets of elements.

Definition

Namespace: Karamba.Elements
Assembly: KarambaCommon (in KarambaCommon.dll) Version: 3.0.8.0+eb23a7103f0eca0b6d808121e15fec6899194e15
C#
[SerializableAttribute]
public class ElemSet : CommonObject, ISerializable
Inheritance
Object    CommonObject    ElemSet
Implements
ISerializable

Constructors

ElemSet Initializes a new instance of the ElemSet class. create an empty element set.
ElemSet(ElemSet) Initializes a new instance of the ElemSet class. copy constructor for element-set.
ElemSet(SerializationInfo, StreamingContext) Initializes a new instance of the ElemSet class. Deserialize ElemSet.
ElemSet(String, Double) Initializes a new instance of the ElemSet class. create element set based on an element identifier.

Properties

color Gets or sets color of the element-set.
colorIsSet Gets a value indicating whether a color is defined for an element-set.
elem_ids Gets the identifiers of elements which belong to the element set.
id Gets the identifier of the element set.
IsValid Gets a value indicating whether the element-set is valid.
split_length Gets or sets split-length of the element-set.
UserData Gets access to the user-data dictionary.
(Inherited from CommonObject)

Methods

add add beam identifier to the list of beam identifiers.
Clone Creates a new object that is a copy of the current instance.
(Inherited from CommonObject)
Equals Determines whether the specified object is equal to the current object.
(Inherited from Object)
fem_beam_set Return beam set object for fe-model. Assumes that receiver is the owner of the object.
Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
GetHashCode Serves as the default hash function.
(Inherited from Object)
GetObjectData Serialize ElemSet.
(Overrides CommonObjectGetObjectData(SerializationInfo, StreamingContext))
GetType Gets the Type of the current instance.
(Inherited from Object)
HasUserData Checks whether the object has user-data attached.
(Inherited from CommonObject)
MemberwiseClone Creates a shallow copy of the current Object.
(Inherited from Object)
ToString string representation of the element-set.
(Overrides CommonObjectToString)

Fields

_beam_ids identifiers of beams that belong to the beam-set.
_color user defined color of the beam-set.
_id user given identification of beam-set.
_split_length default minimum length for splitting.

Extension Methods

ContainerType test if object is (a container like) a list or an array.
(Defined by MiniUtil)

See Also