home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Chip 1997 January
/
Chip_1997-01_cd.bin
/
ms95
/
disk22
/
dir08
/
f012290.re_
/
f012290.re
Wrap
Text File
|
1996-04-02
|
3KB
|
170 lines
/*----------------------------------------------------------------------+
| |
| Copyright (c) 1985-93; Bentley Systems, Inc., All rights reserved. |
| |
| "MicroStation", "MDL", and "MicroCSL" are trademarks of Bentley |
| Systems, Inc. |
| |
| Limited permission is hereby granted to reproduce and modify this |
| copyrighted material provided that the resulting code is used only |
| in conjunction with Bentley Systems products under the terms of the |
| license agreement provided therein, and that this notice is retained |
| in its entirety in any such reproduction or modification. |
| |
+----------------------------------------------------------------------*/
/*----------------------------------------------------------------------+
| |
| $Workfile: mstmatrx.fdf $
| $Revision: 6.3 $
| $Date: 16 Jun 1995 15:22:34 $
| |
+----------------------------------------------------------------------*/
#if !defined (__mstmatrxFDF__)
#define __mstmatrxFDF__
/*----------------------------------------------------------------------+
| |
| Header File Dependencies |
| |
+----------------------------------------------------------------------*/
#if !defined (__dloadlibH__)
#include "dloadlib.h"
#endif
#if !defined (__mdlH__)
#include "mdl.h"
#endif
#if !defined (__mselemsH__)
#include "mselems.h"
#endif
/*======================================================================+
| |
| Function Definitions |
| |
+======================================================================*/
void mdlTMatrix_fromRMatrix
(
Transform *out,
RotMatrix *tMatrix
);
void mdlTMatrix_getIdentity
(
Transform *t
);
void mdlTMatrix_getTranslation
(
Dpoint3d *translation,
Transform *in
);
int mdlTMatrix_masterToReference
(
Transform *trans,
int slot
);
void mdlTMatrix_multiply
(
Transform *out,
Transform *t1,
Transform *t2
);
int mdlTMatrix_referenceToMaster
(
Transform *trans,
int slot
);
void mdlTMatrix_rotateByAngles
(
Transform *outTrans,
Transform *inTrans,
double xrot,
double yrot,
double zrot
);
void mdlTMatrix_rotateByRMatrix
(
Transform *outTrans,
Transform *inTrans,
RotMatrix *rotTrans
);
void mdlTMatrix_rotateScalePoint
(
Dpoint3d *r,
Transform *t
);
void mdlTMatrix_scale
(
Transform *outTrans,
Transform *inTrans,
double xScale,
double yScale,
double zScale
);
void mdlTMatrix_setOrigin
(
Transform *out,
Dpoint3d *origin
);
void mdlTMatrix_setTranslation
(
Transform *out,
Dpoint3d *translation
);
void mdlTMatrix_transformPoint
(
Dpoint3d *r,
Transform *t
);
void mdlTMatrix_transformPointArray
(
Dpoint3d *pnts,
Transform *trans,
int npnts
);
void mdlTMatrix_transformRange
(
Dpoint3d *low,
Dpoint3d *high,
Transform *trans
);
void mdlTMatrix_translate
(
Transform *outTrans,
Transform *inTrans,
double x,
double y,
double z
);
void mdlTMatrix_transpose
(
Transform *out,
Transform *in
);
int mdlTMatrix_getInverse
(
Transform *outTMatrix,
Transform *inTMatrix
);
#endif