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

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)