0032961: Coding - get rid of unused headers [IGESAppli to IGESToBRep]
[occt.git] / src / IGESSolid / IGESSolid_PlaneSurface.hxx
1 // Created on: 1993-01-09
2 // Created by: CKY / Contract Toubro-Larsen ( SIVA )
3 // Copyright (c) 1993-1999 Matra Datavision
4 // Copyright (c) 1999-2014 OPEN CASCADE SAS
5 //
6 // This file is part of Open CASCADE Technology software library.
7 //
8 // This library is free software; you can redistribute it and/or modify it under
9 // the terms of the GNU Lesser General Public License version 2.1 as published
10 // by the Free Software Foundation, with special exception defined in the file
11 // OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
12 // distribution for complete text of the license and disclaimer of any warranty.
13 //
14 // Alternatively, this file may be used under the terms of Open CASCADE
15 // commercial license or contractual agreement.
16
17 #ifndef _IGESSolid_PlaneSurface_HeaderFile
18 #define _IGESSolid_PlaneSurface_HeaderFile
19
20 #include <Standard.hxx>
21 #include <Standard_Type.hxx>
22
23 #include <IGESData_IGESEntity.hxx>
24 class IGESGeom_Point;
25 class IGESGeom_Direction;
26
27
28 class IGESSolid_PlaneSurface;
29 DEFINE_STANDARD_HANDLE(IGESSolid_PlaneSurface, IGESData_IGESEntity)
30
31 //! defines PlaneSurface, Type <190> Form Number <0,1>
32 //! in package IGESSolid
33 //! A plane surface entity is defined by a point on the
34 //! surface and a normal to it.
35 class IGESSolid_PlaneSurface : public IGESData_IGESEntity
36 {
37
38 public:
39
40   
41   Standard_EXPORT IGESSolid_PlaneSurface();
42   
43   //! This method is used to set the fields of the class
44   //! PlaneSurface
45   //! - aLocation : the point on the surface
46   //! - aNormal   : the surface normal direction
47   //! - refdir    : the reference direction (default NULL) for
48   //! unparameterised curves
49   Standard_EXPORT void Init (const Handle(IGESGeom_Point)& aLocation, const Handle(IGESGeom_Direction)& aNormal, const Handle(IGESGeom_Direction)& refdir);
50   
51   //! returns the point on the surface
52   Standard_EXPORT Handle(IGESGeom_Point) LocationPoint() const;
53   
54   //! returns the normal to the surface
55   Standard_EXPORT Handle(IGESGeom_Direction) Normal() const;
56   
57   //! returns the reference direction (for parameterised curve)
58   //! returns NULL for unparameterised curve
59   Standard_EXPORT Handle(IGESGeom_Direction) ReferenceDir() const;
60   
61   //! returns True if parameterised, else False
62   Standard_EXPORT Standard_Boolean IsParametrised() const;
63
64
65
66
67   DEFINE_STANDARD_RTTIEXT(IGESSolid_PlaneSurface,IGESData_IGESEntity)
68
69 protected:
70
71
72
73
74 private:
75
76
77   Handle(IGESGeom_Point) theLocationPoint;
78   Handle(IGESGeom_Direction) theNormal;
79   Handle(IGESGeom_Direction) theRefDir;
80
81
82 };
83
84
85
86
87
88
89
90 #endif // _IGESSolid_PlaneSurface_HeaderFile