TABLE OF CONTENTS


::pwtk::m2cell

SYNOPSIS

proc ::pwtk::m2cell {m} {

PURPOSE

Tranform a 3x3 matrix into a CELL_PARAMETERS 3x3 form, i.e.:

                                              {x1 y1 z1
      {{x1 y1 z1} {x2 y2 z2} {x3 y3 z3}}  -->  x2 y2 z2
                                               x3 y3 z3}

SOURCE

    lassign [matricize $m] v1 v2 v3
    return [concat $v1\n$v2\n$v3]
}