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.
X | double | X ordinate |
Y | double | Y ordinate |
Z | double | Z ordinate |
pos | Array | Array of 3 doubles, representing the coordinates |
array | Array | Two dimensional array of doubles. The first dimension is the number coordinates to be added, the second dimension must be 3 (X,Y,Z) |
Return value | Pointer to this object | Allows multiple function calls to be chained together |
Back to GeometryData
Back to Overview