private double VecLength( UV v ) { double len = v.U * v.U + v.V * v.V; len = Math.Sqrt( len ); return ( len ); }