isPerpendicularTo

line:isPerpendicularTo(lin) --> booleano

Ritorna un booleano indicante se i due segmenti di linea sono perpendicolari.

Esempio 1. Esempio isPerpendicularTo

local vx = VectorX()
local vy = VectorY()
if vx:isPerpendicularTo(vy) then
  print("\nisPerpendicularTo vy: true (OK)")
else
  print("\nisPerpendicularTo vy: false")
end

Created with the Personal Edition of HelpNDoc: Elevate Your CHM Help Files with HelpNDoc's Advanced Customization Options