File: dxall1124

package info (click to toggle)
dx 1%3A4.4.0-2
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 51,684 kB
  • ctags: 48,796
  • sloc: ansic: 365,033; cpp: 156,603; sh: 13,395; java: 10,374; makefile: 2,377; awk: 444; yacc: 327; cs: 49
file content (16 lines) | stat: -rw-r--r-- 1,094 bytes parent folder | download | duplicates (12)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!F-adobe-helvetica-medium-r-normal--18*
#!N 
#!CSeaGreen #!N  #!Run99 Example #!N #!EC #!N #!N The following code 
segment finds every picked vertex. (The comment at bottom is left 
as an exercise for the user.) #!CForestGreen #!N #!N  #!F-adobe-courier-bold-r-normal--18*   #!N 
DXQueryPokeCount(pickField, &nPokes); #!N #!N for (poke = 0; poke < nPokes; 
poke++) #!N { #!N DXQueryPickCount(pickField, poke, &nPicks); #!N #!N for (pick 
= 0; pick < nPicks; pick++) #!N { #!N DXQueryPickPath(pickField, poke, 
pick, #!N &pathLen, &path, &elementId, &vertexId); #!N #!N current = dataObject; 
#!N matrix = Identity; #!N #!N for (i = 0; i 
< pathLen; i++) #!N { #!N current = DXTraversePickPath(current, path[i], &matrix); 
#!N if (current == NULL) #!N goto error; #!N } #!N 
#!N #!N /* now manipulate vertex #vertexId in field  #!F-adobe-times-bold-r-normal--18*   current 
#!EF . */ #!N #!N } #!N } #!EF #!N #!N 
#!EC #!N #!N #!N  #!F-adobe-times-medium-i-normal--18*   Next Topic #!EF #!N #!N  #!Lgeochap,dxall1125 h Geometric Objects  #!EL  
#!N  #!F-adobe-times-medium-i-normal--18*   #!N