/** * Returns the (n-space) angle in radians between this vector and the vector parameter; the return * value is constrained to the range [0,PI]. * * @param v1 The other vector * @return The angle in radians in the range [0,PI] */ public final double angle(GVector v1) { return (Math.acos(this.dot(v1) / (this.norm() * v1.norm()))); }