Click or drag to resize
PbMesh2DAddVecsSet Method (Int32, SbVec2f, String)

Adds a set of 2D vectors on the mesh.

Namespace: OIV.MeshViz.Data
Assembly: OIV.MeshViz (in OIV.MeshViz.dll) Version: 10.12.3.0 (10.12.3.0)
Syntax
public void AddVecsSet(
	int set_index,
	SbVec2f[] val,
	string setName
)

Parameters

set_index
Type: SystemInt32
val
Type: OIV.InventorSbVec2f
setName
Type: SystemString
Remarks

set_index is the index of the set. Note that even if the OIV.MeshViz.Data.PbMesh.IsDataDuplicated() field is false, this set of 2D vectors is always duplicated in a OIV.MeshViz.Data.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 OIV.MeshViz.Data.PbMesh.AddVecsSet(System.Int32, OIV.Inventor.SbVec3f[], System.String).

See Also