IUF-SDK-3
Interventional Ultrasound Library
iuf3DAngle.h
Go to the documentation of this file.
1 #ifndef IUFLIBRARY_IUFHL3DANGLE_H
2 #define IUFLIBRARY_IUFHL3DANGLE_H
3 
4 // ADT
5 typedef struct Iuf3DAngle
6 {
7  float theta;
8  float phi;
9 } Iuf3DAngle;
10 
15 #define IU3DA_INVALID (iu3da_t) NULL
16 
21 (
22  float theta,
23  float phi
24 );
25 
31 (
32  iu3da_t angle
33 );
34 
40 (
41  iu3da_t reference,
42  iu3da_t actual
43 );
44 
45 #endif //IUFLIBRARY_IUFHL3DANGLE_H
int iuf3DAngleCompare(iu3da_t reference, iu3da_t actual)
Compare two 3D angles, the order of arguments does not matter.
Definition: iuf3DAngle.c:36
float theta
rotation around y axis */
Definition: iuf3DAngle.h:7
int iuf3DAngleDelete(iu3da_t angle)
Delete a 3D angle.
Definition: iuf3DAngle.c:25
float phi
rotation round x axis */
Definition: iuf3DAngle.h:8
Iuf3DAngle * iu3da_t
3D elements are considered block shaped and aligned (z-angle rotation=0) and can rotate in theta (y-a...
Definition: iuf3DAngle.h:14
Definition: iuf3DAngle.h:5
iu3da_t iuf3DAngleCreate(float theta, float phi)
create a 2-axis rotation in 3D space
Definition: iuf3DAngle.c:10