summaryrefslogtreecommitdiff
path: root/inc/IGESSolid_RightAngularWedge.hxx
blob: 9c7ff67bbe2bc005f5dc5539eac44d1119a8dda0 (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
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
// 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 _IGESSolid_RightAngularWedge_HeaderFile
#define _IGESSolid_RightAngularWedge_HeaderFile

#ifndef _Standard_HeaderFile
#include <Standard.hxx>
#endif
#ifndef _Standard_DefineHandle_HeaderFile
#include <Standard_DefineHandle.hxx>
#endif
#ifndef _Handle_IGESSolid_RightAngularWedge_HeaderFile
#include <Handle_IGESSolid_RightAngularWedge.hxx>
#endif

#ifndef _gp_XYZ_HeaderFile
#include <gp_XYZ.hxx>
#endif
#ifndef _Standard_Real_HeaderFile
#include <Standard_Real.hxx>
#endif
#ifndef _IGESData_IGESEntity_HeaderFile
#include <IGESData_IGESEntity.hxx>
#endif
class gp_XYZ;
class gp_Pnt;
class gp_Dir;


//! defines RightAngularWedge, Type <152> Form Number <0> <br>
//!          in package IGESSolid <br>
//!          A right angular wedge is a triangular/trapezoidal prism <br>
class IGESSolid_RightAngularWedge : public IGESData_IGESEntity {

public:

  
  Standard_EXPORT   IGESSolid_RightAngularWedge();
  //! This method is used to set the fields of the class <br>
//!           RightAngularWedge <br>
//!       - aSize    : the lengths along the local axes <br>
//!       - lowX     : the length at the smaller X-side <br>
//!       - aCorner  : the corner point coordinates <br>
//!                    default (0,0,0) <br>
//!       - anXAxis  : the unit vector defining local X-axis <br>
//!                    default (1,0,0) <br>
//!       - anZAxis  : the unit vector defining local Z-axis <br>
//!                    default (0,0,1) <br>
  Standard_EXPORT     void Init(const gp_XYZ& aSize,const Standard_Real lowX,const gp_XYZ& aCorner,const gp_XYZ& anXAxis,const gp_XYZ& anZAxis) ;
  //! returns the size <br>
  Standard_EXPORT     gp_XYZ Size() const;
  //! returns the length along the local X-axis <br>
  Standard_EXPORT     Standard_Real XBigLength() const;
  //! returns the smaller length along the local X-direction at Y=LY <br>
  Standard_EXPORT     Standard_Real XSmallLength() const;
  //! returns the length along the local Y-axis <br>
  Standard_EXPORT     Standard_Real YLength() const;
  //! returns the length along the local Z-axis <br>
  Standard_EXPORT     Standard_Real ZLength() const;
  //! returns the corner point coordinates <br>
  Standard_EXPORT     gp_Pnt Corner() const;
  //! returns the corner point coordinates after applying <br>
//! TransformationMatrix <br>
  Standard_EXPORT     gp_Pnt TransformedCorner() const;
  //! returns the direction defining the local X-axis <br>
  Standard_EXPORT     gp_Dir XAxis() const;
  //! returns the direction defining the local X-axis <br>
//! after applying the TransformationMatrix <br>
  Standard_EXPORT     gp_Dir TransformedXAxis() const;
  //! returns the direction defining the local Y-axis <br>
//! it is got by taking the cross product of ZAxis and XAxis <br>
  Standard_EXPORT     gp_Dir YAxis() const;
  //! returns the direction defining the local Y-axis <br>
//! after applying the TransformationMatrix <br>
  Standard_EXPORT     gp_Dir TransformedYAxis() const;
  //! returns the direction defining the local Z-axis <br>
  Standard_EXPORT     gp_Dir ZAxis() const;
  //! returns the direction defining the local Z-axis <br>
//! after applying the TransformationMatrix <br>
  Standard_EXPORT     gp_Dir TransformedZAxis() const;




  DEFINE_STANDARD_RTTI(IGESSolid_RightAngularWedge)

protected:




private: 


gp_XYZ theSize;
Standard_Real theXSmallLength;
gp_XYZ theCorner;
gp_XYZ theXAxis;
gp_XYZ theZAxis;


};





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


#endif