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
public virtual void AddValuesSet( int index, float[] val, PoMeshPropertyDataBindings binding, string set_name )
the index of the new set added.
the array of values. Its size must be either the number of nodes or the number of cells depending on the binding argument.
specifies the location of the values.
string associated with this set of values.
PbMesh.addValuesSet().
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 PoMeshProperty.