jvs:cigal:manual:chapter6:r_vecadd
CIGAL Reference Manual, Chapter 6 (RealTime): r_vecadd
r_vecadd -- Add (or subtract) vector variables
usage: r_vecadd opflg eflag ltime Vec1 Vec2 NewVec Flag
R_VECADD is a REALTIME operator that adds values to 2-D or 3-D vector VEC1.
VEC2 can be another vector (same dimension as VEC1), or it can be a scalar value. If it is a scalar (single value) then it will be added to every element of VEC1.
NEWVEC is the output vector; it must be the same dimension as VEC1.
If NEWVEC is not specified, the new values will be stored in VEC1.
FLAG: 0 - default 2 - 2-D vectors (default) 3 - 3-D vectors 4 - subtract VEC2 from VEC1 (instead of adding) 8 - just use 1 value from VEC2 (scalar addition)
See Also:
R_VECMULT
jvs/cigal/manual/chapter6/r_vecadd.txt · Last modified: 2024/06/21 15:44 by 127.0.0.1