xform
xform
selset:xform(mat: Matrix3d)
<selset>:xform({i1, ..., i16})
Applica la matrice di trasformazione al selection set.
Esempio 1. Esempio xform
local top = top_ptop()
local x = top:new("Q_XF")
x:activate()
local ds = NewDrawStyle()
ds:line(Point(0, 0, 0), Point(10, 0, 0))
local b1 = x:getBox(1)
local m = {1,0,0,100, 0,1,0,50, 0,0,1,0, 0,0,0,1}
x:xform(m)
local b2 = x:getBox(1)
print("\nxform: minX " .. tostring(b1:getX()) .. "->" .. tostring(b2:getX()) .. " (atteso +100)")
EraseEmptyParts(1)
Created with the Personal Edition of HelpNDoc: Create cross-platform Qt Help files