Click or drag to resize
PbMeshAddValuesSet Method (Int32, Single, String)

Adds a set of scalar values.

Namespace: OIV.MeshViz.Data
Assembly: OIV.MeshViz (in OIV.MeshViz.dll) Version: 2023.1.3.0 (2023.1.3)
Syntax
public void AddValuesSet(
	int set_index,
	float[] val,
	string set_name
)

Parameters

set_index
Type: SystemInt32

the index of the new set added.

val
Type: SystemSingle

the array of values. Its size must be the number of nodes.

set_name
Type: SystemString

string associated with this set of values.

Remarks

The values are located at nodes so the number of values in a set must be equal to the number of nodes in the mesh. 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.Data.PbMesh.

See Also