sub3DSolid
sub3DSolid
sub3DSolid(entità ) --> booleano
Funzione che in ingresso vuole un'entità 3d ed effettua una operazione booleana passando kBoolSubtract. Ritorna un booleano.
Esempio 1. Esempio sub3DSolid
local a2 = CreateBox(40, 30, 20, Point(0, 0, 0))
local b2 = CreateBox(40, 30, 20, Point(20, 0, 0))
local r = a2:sub3DSolid(b2)
print("\nsub3DSolid ritorno = " .. tostring(r) .. " volume = " .. tostring(a2:getVolume()))
a2:erase()
Created with the Personal Edition of HelpNDoc: Effortlessly upgrade your WinHelp HLP help files to CHM with HelpNDoc