ITK Function Reference
(V10000.1.0.60_20160308.00)
Main Page
Related Pages
Modules
Data Structures
Files
File List
Globals
tc
tc_matrix.h
Go to the documentation of this file.
1
// Copyright 2012 Siemens Product Lifecycle Management Software Inc. All Rights Reserved.
2
// ==================================================
3
// Copyright 2012.
4
// Siemens Product Lifecycle Management Software Inc.
5
// All Rights Reserved.
6
// ==================================================
7
// Copyright 2012 Siemens Product Lifecycle Management Software Inc. All Rights Reserved.
8
// ==================================================
9
// File Description:
10
// tc_matrix.h contains declarations to some of the commonly
11
// used matrix operations like matrix multiply, transpose,
12
// transformation of a point and matrix comparison.
13
//
14
// ==================================================
15
16
#ifndef TEAMCENTER_TC_MATRIX_H
17
#define TEAMCENTER_TC_MATRIX_H
18
19
#include <tc/libtc_exports.h>
20
26
#ifdef __cplusplus
27
extern
"C"
{
28
#endif
29
38
extern
TC_API
int
TC_matrix_fixup
(
39
double
mx[16]
40
);
41
42
50
extern
TC_API
int
TC_matrix_is_equal
(
51
const
double
mx1[16],
52
const
double
mx2[16],
53
bool
* eq
54
);
55
63
extern
TC_API
int
TC_matrix_multiply
(
64
const
double
mx1[16],
65
const
double
mx2[16],
66
double
**mx_result
67
);
68
76
extern
TC_API
int
TC_matrix_point_multiply
(
77
const
double
point[3],
78
const
double
matrix[16],
79
double
**mx_result
80
);
81
82
89
extern
TC_API
int
TC_matrix_transpose
(
90
const
double
mx[16],
91
double
**mx_transposed
92
);
93
105
extern
TC_API
int
TC_matrix_euler_angle
(
106
const
double
mx[16],
107
const
double
precision,
108
double
euler_angles[3]
109
);
110
#ifdef __cplusplus
111
}
112
#endif
113
117
#include <tc/libtc_undef.h>
118
#endif