returns an array of coords P1, P2, P3, P4 for each quad in the cross section
| section | integer | section row |
| quadCoords | array | array (0..nSections-1) of array (0..nQuads-1) of array of 2 numbers (quad x and y) |
| Return value | none |
Example
' obtain number of sections within attribute
n = attr.getNumberOfSections()
' loop all sections
for i = 0 to n-1
' obtain quads for the i'th section
call attr.getSectionQuads(i, allQuads)
' loop all quads for section
for j = 0 to ubound(allQuads)
singleQuad = allQuads(j)
' loop 4 corners for quad
for k = 0 to 3
' coords of a single corner
x = singleQuad(k,0)
y = singleQuad(k,1)
msgbox "coords: (" & x & ", " & y & ")"
next
next
next
Back to GeometricLine
Back to Overview