Method: Bivector#angles_to

Defined in:
lib/bivector.rb

#angles_to(another, style = :rad) ⇒ Object



64
65
66
67
68
# File 'lib/bivector.rb', line 64

def angles_to(another, style = :rad)
  if another.is_a? Bivector
    BV::Angle.new(Math.acos(dot_product(another) / ( norm * another.norm))).values_in(style)
  end
end