PoSFMeshAddValuesSet Method (Int32, Single, PoMeshPropertyDataBindings, String) |
Adds a set of scalar values that can be located either at nodes or at cells.
Namespace: OIV.MeshViz.FieldsAssembly: OIV.MeshViz (in OIV.MeshViz.dll) Version: 2024.2.2.0 (10.16.2.0)
Syntax public void AddValuesSet(
int index,
float[] val,
PoMeshPropertyDataBindings binding,
string setName
)
Public Sub AddValuesSet (
index As Integer,
val As Single(),
binding As PoMeshPropertyDataBindings,
setName As String
)
public:
void AddValuesSet(
int index,
array<float>^ val,
PoMeshPropertyDataBindings binding,
String^ setName
)
member AddValuesSet :
index : int *
val : float32[] *
binding : PoMeshPropertyDataBindings *
setName : 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.
- setName
- 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.Fields.PoSFMesh.
See Also Reference
OIV.MeshViz.Data.PbMesh.AddValuesSet(System.Int32, System.Single[], System.String)