168 |
} |
} |
169 |
} |
} |
170 |
/** Set the coordinate systems. |
/** Set the coordinate systems. |
171 |
* @param points1 npts floats |
* @param points1 floats: the parameters of the coordinate |
172 |
* @param typeindex1 Array of length ninds*3, containing interleaved |
* systems. |
173 |
* the type of the coordsys, the parent coordsys, then index in points1 |
* @param inds1 Array of length ninds, |
174 |
* Note: the first three elements are purposefully ignored. |
* containing descriptions of coordinate systems. |
175 |
* @param typeindex2 Array of length ninds*3, containing interleaved |
* 1) type code |
176 |
* the type of the coordsys, the parent coordsys, then index in points2 |
* 2) parent and determining coordinate systems, |
177 |
* Note: the first three elements are purposefully ignored. |
* as many as the type code requires (usually 1 or 2) |
178 |
* The only elements used here are the indices in point2, indexed |
* 3) an index to the points1 array, where the parameters |
179 |
* by interpinds. |
* of the coordinate system should be read from. |
180 |
|
* @param inds2 A second array, similar to inds1, but for points2. |
181 |
*/ |
*/ |
182 |
void CoordSet::setPoints( int ninds, |
void CoordSet::setPoints( int ninds, |
183 |
int *inds1, float *points1, |
int *inds1, float *points1, |