This document is archived and information here might be outdated.  Recommended version.


IVector.ConstructAddVector Method (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (Geometry)  

IVector.ConstructAddVector Method

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

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Description

Constructs a new Vector by adding the components of the first vector to the corresponding components of the second vector.

Remarks

 

IVector ConstructAddVector Example

See Also

IVector Interface