GeometryData.addCoords


addCoords(X, Y, Z)

addCoords(pos)

addCoords(array)

Add one or more sets of 3d coordinates to the geometry definition Coordinates can be entered as three values (x,y,z) or as a single dimensional array of three values, or as a two dimensional array. In the latter case the first dimension represents the number of coordinates to be added, the second dimension must be 3 Note that if a local coordinate object has been specified using setLocalCoord, the arguments could represent r z and theta.

XdoubleX ordinate
YdoubleY ordinate
ZdoubleZ ordinate
posArrayArray of 3 doubles, representing the coordinates
arrayArrayTwo dimensional array of doubles. The first dimension is the number coordinates to be added, the second dimension must be 3 (X,Y,Z)
Return valuePointer to this objectAllows multiple function calls to be chained together

Back to GeometryData

Back to Overview