Provides access to vector properties and operations.
Product Availability
Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.
Description
A general vector interface containing functions to manipulate vectors in an arbitrary number of dimensions. Contains basic vector characteristics including Dimension and Magnitude as well as general vector operations including Normalization, scalar nultiplication, Vector Addition, Vector Subtraction, Vector Dot Product, and Vector Cross Product. To access methods specific to 3D Vectors, use the IVector3D interface.
Members
Description | ||
---|---|---|
AddVector | Construct a new vector by adding a different vector to this vector. | |
ComponentByIndex | The component corresponding to a given index. | |
ConstructAddVector | Set this vector by adding two input vectors. | |
ConstructSubtractVector | Set this vector by subtracting the second input vector from the first one. | |
Dimension | The dimension of this vector. | |
DotProduct | Returns the dot product of this vector and another vector. | |
IsEmpty | Indicates if the vector is empty (unset). | |
Magnitude | The length of the vector. | |
Normalize | Normalize the vector (scale it to magnitude = 1). | |
Scale | Scale the vector by the given factor. | |
SetEmpty | Makes the vector empty (unset). | |
SubtractVector | Construct a new vector by subtracting a different vector from this vector. |
CoClasses that implement IVector
CoClasses and Classes | Description |
---|---|
Vector3D | A 3D vector containing dx, dy, and dz components. |