inters3DSolid
inters3DSolid
inters3DSolid(entità ) --> booleano
Funzione che in ingresso vuole un'entità 3d ed effettua una operazione booleana passando kBoolIntersect . Ritorna un booleano.
Esempio 1. Esempio inters3DSolid
local a3 = CreateBox(40, 30, 20, Point(0, 0, 0))
local b3 = CreateBox(40, 30, 20, Point(20, 0, 0))
local r = a3:inters3DSolid(b3)
print("\ninters3DSolid ritorno = " .. tostring(r) .. " volume = " .. tostring(a3:getVolume()))
a3:erase()
Created with the Personal Edition of HelpNDoc: Full-featured Documentation generator