PbMesh2DAddVecsSet Method (Int32, SbVec2f, String) |
Adds a set of 2D vectors on the mesh.
Namespace: OIV.MeshViz.DataAssembly: OIV.MeshViz (in OIV.MeshViz.dll) Version: 9.9.13.0 (9.9.13.0)
Syntaxpublic void AddVecsSet(
int set_index,
SbVec2f[] val,
string setName
)
Public Sub AddVecsSet (
set_index As Integer,
val As SbVec2f(),
setName As String
)
public:
void AddVecsSet(
int set_index,
array<SbVec2f>^ val,
String^ setName
)
member AddVecsSet :
set_index : int *
val : SbVec2f[] *
setName : string -> unit
Parameters
- set_index
- Type: SystemInt32
- val
- Type: OIV.InventorSbVec2f
- setName
- Type: SystemString
Remarksset_index is the index of the set. Note that even if the isDataDuplicated field is false, this set of 2D vectors is always duplicated in a PbMesh2D object. If you do not want to duplicate your vectors set, you must set is_data_duplicated to false in your mesh constructor and use the method PbMesh.addVecsSet().
See Also