Logo Search packages:      
Sourcecode: qcad version File versions  Download package

RS_Vector RS_Units::convert ( const RS_Vector  val,
RS2::Unit  src,
RS2::Unit  dest 
) [static]

Converts the given vector 'val' from unit 'src' to unit 'dest'.

Definition at line 431 of file rs_units.cpp.

References convert(), RS_Vector::x, RS_Vector::y, and RS_Vector::z.

    return RS_Vector(convert(val.x, src, dest),
                     convert(val.y, src, dest),
                     convert(val.z, src, dest));

Generated by  Doxygen 1.6.0   Back to index