Returns a matrix to map coordinates from one coordinate system to another.
NOTE: rp1 and rp2 are invalid when they contain a zero direction vector, or
the X and Y vectors are parallel.
Return:
void.
Environment: Internal & External
See Also:
History:
*******************************************************************************/
extern UFUNEXPORT void FTN(uf5940)(
double *rp1, /* <I>
Real Data For Reference Coordinate System
rp1[0-2] is the origin in absolute coordinates.
rp1[3-8] are the X and Y vectors in absolute coordinates.
*/
double *rp2, /* <I>
Real Data For Destination Coordinate System
rp2[0-2] is the origin in absolute coordinates.
rp2[3-8] are the X and Y vectors in absolute coordinates.
*/
double *rr3, /* <O>
Resulting Matrix. This must be declared to hold 16 doubles.
*/
int *ir4 /* <O>
Status Code
0 = Success
1 = rp1 Is Invalid
2 = rp2 Is Invalid
*/
);
/*******************************************************************************
Returns the transformation of a position. No new objects are created here.
When rp2 is the "Change Coordinate" matrix (from UF5940), ra1 should be a
position with respect to the reference coordinate system in the input in order
to get back ra1 as a position with respect to the destination coordinate system
in the output. When rp2 is any other type of transformation matrix, ra1 should
be a position in the absolute coordinates. The output in ra1 is then a
transformed position in absolute coordinates as well.
Return: void.
Environment: Internal & External
See Also:
History:
*******************************************************************************/
extern UFUNEXPORT void FTN(uf5941)(
double *ra1, /* <I/O>
 osition/ Transformed Position
*/
double *rp2 /* <I>
Defined Transformation Matrix. This must be declared
to hold 16 doubles.
*/
);作者: sizu 时间: 2005-4-27 23:24
太感谢qingwufy了^_^。不好意思,我还真不知道怎么在帮助文件里搜索函数呢。