getVolume

getVolume(entità)

Funzione che ritorna il volume dell'entità 3d passata. In ingresso vuole un'entità 3d.

Esempio 1. Esempio getVolume

local box = CreateBox(40, 30, 20, Point(0, 0, 0))
local vol = box:getVolume()
print("\ngetVolume box 40x30x20 = " .. tostring(vol) .. " (atteso 24000)")
box:erase()

Created with the Personal Edition of HelpNDoc: Bring your WinHelp HLP help files into the present with HelpNDoc's easy CHM conversion