add3DSolid
add3DSolid
add3DSolid(entità ) --> booleano
Funzione che in ingresso vuole un'entità 3d ed effettua una operazione booleana passando kBoolUnite. Ritorna un booleano.
Esempio 1. Esempio add3DSolid
local a1 = CreateBox(40, 30, 20, Point(0, 0, 0))
local b1 = CreateBox(40, 30, 20, Point(20, 0, 0))
local r = a1:add3DSolid(b1)
print("\nadd3DSolid ritorno = " .. tostring(r) .. " volume = " .. tostring(a1:getVolume()))
a1:erase()
Created with the Personal Edition of HelpNDoc: Single source CHM, PDF, DOC and HTML Help creation