FDO API Reference Feature Data Objects

FDO_API_COMMON const FdoVectorP FdoVectorP::operator+ const FdoVectorP  vec2  )  const
 

Adds two vectors, by adding each individual element. The output vector has the same length as the longer of the input vectors. If one input vector is shorter than the other, it is treated as if it is padded with zeros.

Parameters:
vec2 Input vector to add to this vector
Returns:
Returns the sum of the two input vectors

Comments or suggestions? Send us feedback.