summaryrefslogtreecommitdiff
path: root/inc/IGESGeom_TransformationMatrix.hxx
blob: 35f86c02185834b94226bd07bf3ff80e229db4a4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
// This file is generated by WOK (CPPExt).
// Please do not edit this file; modify original file instead.
// The copyright and license terms as defined for the original file apply to 
// this header file considered to be the "object code" form of the original source.

#ifndef _IGESGeom_TransformationMatrix_HeaderFile
#define _IGESGeom_TransformationMatrix_HeaderFile

#ifndef _Standard_HeaderFile
#include <Standard.hxx>
#endif
#ifndef _Standard_DefineHandle_HeaderFile
#include <Standard_DefineHandle.hxx>
#endif
#ifndef _Handle_IGESGeom_TransformationMatrix_HeaderFile
#include <Handle_IGESGeom_TransformationMatrix.hxx>
#endif

#ifndef _Handle_TColStd_HArray2OfReal_HeaderFile
#include <Handle_TColStd_HArray2OfReal.hxx>
#endif
#ifndef _IGESData_TransfEntity_HeaderFile
#include <IGESData_TransfEntity.hxx>
#endif
#ifndef _Standard_Integer_HeaderFile
#include <Standard_Integer.hxx>
#endif
#ifndef _Standard_Real_HeaderFile
#include <Standard_Real.hxx>
#endif
class TColStd_HArray2OfReal;
class Standard_DimensionMismatch;
class Standard_OutOfRange;
class gp_GTrsf;


//! defines IGESTransformationMatrix, Type <124> Form <0> <br>
//!          in package IGESGeom <br>
//!          The transformation matrix entity transforms three-row column <br>
//!          vectors by means of matrix multiplication and then a vector <br>
//!          addition. This entity can be considered as an "operator" <br>
//!          entity in that it starts with the input vector, operates on <br>
//!          it as described above, and produces the output vector. <br>
class IGESGeom_TransformationMatrix : public IGESData_TransfEntity {

public:

  
  Standard_EXPORT   IGESGeom_TransformationMatrix();
  //! This method is used to set the fields of the class <br>
//!           TransformationMatrix <br>
//!       - aMatrix : 3 x 4 array containing elements of the <br>
//!                   transformation matrix <br>
//! raises exception if aMatrix is not 3 x 4 array <br>
  Standard_EXPORT     void Init(const Handle(TColStd_HArray2OfReal)& aMatrix) ;
  //! Changes FormNumber (indicates the Type of Transf : <br>
//!           Transformation 0-1 or Coordinate System 10-11-12) <br>
//!           Error if not in ranges [0-1] or [10-12] <br>
  Standard_EXPORT     void SetFormNumber(const Standard_Integer form) ;
  //! returns individual Data <br>
//! Errro if I not in [1-3] or J not in [1-4] <br>
  Standard_EXPORT     Standard_Real Data(const Standard_Integer I,const Standard_Integer J) const;
  //! returns the transformation matrix <br>
//! 4th row elements of GTrsf will always be 0, 0, 0, 1 (not defined) <br>
  Standard_EXPORT     gp_GTrsf Value() const;




  DEFINE_STANDARD_RTTI(IGESGeom_TransformationMatrix)

protected:




private: 


Handle_TColStd_HArray2OfReal theData;


};





// other Inline functions and methods (like "C++: function call" methods)


#endif