The position information of a volume is handled by a routine, which writes the coordinates and the rotation matrix. The tree decoding routine transforms the coordinates and the rotation matrix of a volume to the global coordinate system, and then transfers the data to the routine which writes the translation and rotation of a volume into the SET format as follows:
@302,N1#301,M1,M2,M3,M4,M5,M6,M7,M8,M9,XC,YC,ZC
@100,N2,:9,'Name'#101,!N1(of the shape),!N1
Where
The geometric transformation is first defined with the given parameters and then the transformation operation is defined for a constructed solid. The principle of writing divisions into the SET format is equivalent to the case of normal volumes.