PoMeshPropertyAddValuesSet Method (Int32, Single, PoMeshPropertyDataBindings, String) |
Adds a set of scalar values that can be located either at nodes or at cells.
Namespace: OIV.MeshViz.NodesAssembly: OIV.MeshViz (in OIV.MeshViz.dll) Version: 2023.1.3.0 (2023.1.3)
Syntax public virtual void AddValuesSet(
int index,
float[] val,
PoMeshPropertyDataBindings binding,
string set_name
)
Public Overridable Sub AddValuesSet (
index As Integer,
val As Single(),
binding As PoMeshPropertyDataBindings,
set_name As String
)
public:
virtual void AddValuesSet(
int index,
array<float>^ val,
PoMeshPropertyDataBindings binding,
String^ set_name
)
abstract AddValuesSet :
index : int *
val : float32[] *
binding : PoMeshPropertyDataBindings *
set_name : string -> unit
override AddValuesSet :
index : int *
val : float32[] *
binding : PoMeshPropertyDataBindings *
set_name : string -> unit
Parameters
- index
- Type: SystemInt32
the index of the new set added.
- val
- Type: SystemSingle
the array of values. Its size must be either the number of nodes or the number of cells depending on the binding argument.
- binding
- Type: OIV.MeshViz.NodesPoMeshPropertyDataBindings
specifies the location of the values.
- set_name
- Type: SystemString
string associated with this set of values.
Remarks
NOTE: This method must be called after a setGeometry method because the size of the argument
val is determined by the number of nodes in the mesh. The setGeometry methods are defined in subclasses of
OIV.MeshViz.Nodes.PoMeshProperty.
See Also Reference
OIV.MeshViz.Data.PbMesh.AddValuesSet(System.Int32, System.Single[], System.String)