Click or drag to resize
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.Fields
Assembly: OIV.MeshViz (in OIV.MeshViz.dll) Version: 10.12.3.0 (10.12.3.0)
Syntax
public void AddValuesSet(
	int index,
	float[] val,
	PoMeshPropertyDataBindings binding,
	string setName
)

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)