DiscreteField Class

Represents a table of discrete field data.

Definition

Namespace: HyperX.Scripting
Assembly: HyperX.Scripting (in HyperX.Scripting.dll) Version: 9.0.0.0 (9.0.0)
C#
public class DiscreteField : IdNameEntityRenameable
Inheritance
Object    IdEntity    IdNameEntity    IdNameEntityRenameable    DiscreteField

Constructors

DiscreteFieldInitializes a new instance of the DiscreteField class

Properties

ColumnCount 
Columns Lookup of Columns by Id, Name.
DataType 
Id
(Inherited from IdEntity)
Name
(Inherited from IdNameEntity)
PhysicalEntityType 
PointIds Get a list of the points for a Discrete Field (point-based only).
RowCount 
RowIds Get a list of the entity IDs for a Discrete Field (not point-based).

Methods

AddColumn Create a new column with the given name. Returns the Id of the newly created column
AddPointRow Create an empty row in a point-based table.
DeleteAllRows Delete all rows for this discrete field.
DeleteColumn Delete a specified column for this discrete field. Columns are 1-indexed.
DeletePointRow Delete a specific row for a point-based table.
DeleteRow Delete a specific row for a non-point-based table.
DeleteRowsAndColumns Delete all rows and columns for this discrete field.
EqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
GetHashCodeServes as the default hash function.
(Inherited from Object)
GetTypeGets the Type of the current instance.
(Inherited from Object)
ReadNumericCell(Int32, Int32) Valid only for non-point-based discrete fields containing scalar or vector data.
ReadNumericCell(Vector3d, Int32) Valid only for point-based discrete fields containing scalar or vector data.
ReadStringCell(Int32, Int32) Valid only for non point-based discrete fields containing string-based data.
ReadStringCell(Vector3d, Int32) Valid only for point-based discrete fields containing string-based data.
Rename
(Inherited from IdNameEntityRenameable)
SetColumnName 
SetNumericValue(Int32, Int32, Double) 
SetNumericValue(Vector3d, Int32, Double) 
SetStringValue(Int32, Int32, String) 
SetStringValue(Vector3d, Int32, String) 
ToStringReturns a string that represents the current object.
(Inherited from Object)

See Also