#!F-adobe-helvetica-medium-r-normal--18* #!N #!CDarkGreen #!N #!Rall626 Example 2. A Regular Skewed Grid #!N #!EC #!N #!N This example is similar to the previous one. However, the "positions" component is changed slightly so that the Objects and data describe a regular skewed grid. This file is found in #!F-adobe-times-bold-r-normal--18* /usr/lpp/dx/samples/data/regularskewed.dx #!EF . #!Lregskwd106,dxall627 f Figure 106 #!EL shows the resulting structure. #!CForestGreen #!N #!N #!F-adobe-courier-bold-r-normal--18* #!N # This example describes a regular grid, where the axes are #!N # non-orthogonal #!EF #!N #!N #!EC #!CForestGreen #!N #!N #!F-adobe-courier-bold-r-normal--18* #!N # object 1 is the regular positions, where the deltas is non-orthogonal #!N object 1 class gridpositions counts 4 2 3 #!T,104,190,268 #!N origin TAB 0 TAB 0 TAB 0 #!N delta TAB 1 TAB 0.2 TAB 0 #!N delta TAB 0 TAB 2 TAB 0 #!N delta TAB 0 TAB 0 TAB 1 #!EF #!N #!N #!EC #!CForestGreen #!N #!N #!F-adobe-courier-bold-r-normal--18* #!N # object 2 is the regular connections #!N object 2 class gridconnections counts 4 2 3 #!EF #!N #!N #!EC #!CForestGreen #!N #!N #!F-adobe-courier-bold-r-normal--18* #!N # object 3 is the data, which is in a one-to-one correspondence with the #!N # positions ("dep" on positions) #!N object 3 class array type float rank 0 items 24 data follows #!T,69,129,216,303 #!N TAB 1 TAB 3.4 TAB 5 TAB 2 #!N TAB 3.4 TAB 5.1 TAB 0.3 TAB 4.5 #!N TAB 1 TAB 2.3 TAB 4.1 TAB 2.1 #!N TAB 6 TAB 8 TAB 9.1 TAB 2.3 #!N TAB 4.5 TAB 5 TAB 3.0 TAB 4.3 #!N TAB 1.2 TAB 1.2 TAB 3.0 TAB 3.2 #!N attribute "dep" string "positions" #!EF #!N #!N #!EC #!CForestGreen #!N #!N #!F-adobe-courier-bold-r-normal--18* #!N # the field contains three components: "positions", "connections", and #!N # "data" #!N object "regular positions regular connections" class field #!N component "positions" value 1 #!N component "connections" value 2 #!N component "data" value 3 #!N #!N end #!EF #!N #!N #!EC #!Cbrown #!N #!F-adobe-times-medium-r-normal--18* #!Rregskwd106 #!N Graphics omitted from Online Documentation. Please see the manual. #!N #!N Figure 106. Regular Skewed Grid Example. The argument "off front" has been substituted for "off diagonal" in the script used to generate this figure (see #!Lxmples,dxall625 h Examples #!EL ). #!EF #!N #!EC #!N #!N #!N #!F-adobe-times-medium-i-normal--18* Next Topic #!EF #!N #!N #!Lall627,dxall628 h Example 3. A Warped Regular Grid #!EL #!N #!F-adobe-times-medium-i-normal--18* #!N
Generated by dwww version 1.15 on Sat Jun 22 12:56:37 CEST 2024.