This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > Geometry > ESRI.ArcGIS.Geometry > Interfaces > IV > IVector Interface > IVector.ConstructAddVector Method (ArcObjects .NET 10.5 SDK) |
Set this vector by adding two input vectors.
[Visual Basic .NET] Public Sub ConstructAddVector ( _ ByVal vector1 As IVector, _ ByVal vector2 As IVector _ )
[C#] public void ConstructAddVector ( IVector vector1, IVector vector2 );
[C++]
HRESULT ConstructAddVector(
IVector* vector1,
IVector* vector2
);
[C++]
Parameters vector1
vector1 is a parameter of type IVector vector2
vector2 is a parameter of type IVector
Constructs a new Vector by adding the components of the first vector to the corresponding components of the second vector.