0030675: Visualization - remove redundant proxy classes in hierarchy of PrsMgr_Presen...
[occt.git] / src / IGESSolid / IGESSolid_PlaneSurface.hxx
CommitLineData
42cf5bc1 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#include <Standard_Boolean.hxx>
25class IGESGeom_Point;
26class IGESGeom_Direction;
27
28
29class IGESSolid_PlaneSurface;
30DEFINE_STANDARD_HANDLE(IGESSolid_PlaneSurface, IGESData_IGESEntity)
31
32//! defines PlaneSurface, Type <190> Form Number <0,1>
33//! in package IGESSolid
34//! A plane surface entity is defined by a point on the
35//! surface and a normal to it.
36class IGESSolid_PlaneSurface : public IGESData_IGESEntity
37{
38
39public:
40
41
42 Standard_EXPORT IGESSolid_PlaneSurface();
43
44 //! This method is used to set the fields of the class
45 //! PlaneSurface
46 //! - aLocation : the point on the surface
47 //! - aNormal : the surface normal direction
48 //! - refdir : the reference direction (default NULL) for
49 //! unparameterised curves
50 Standard_EXPORT void Init (const Handle(IGESGeom_Point)& aLocation, const Handle(IGESGeom_Direction)& aNormal, const Handle(IGESGeom_Direction)& refdir);
51
52 //! returns the point on the surface
53 Standard_EXPORT Handle(IGESGeom_Point) LocationPoint() const;
54
55 //! returns the normal to the surface
56 Standard_EXPORT Handle(IGESGeom_Direction) Normal() const;
57
58 //! returns the reference direction (for parameterised curve)
59 //! returns NULL for unparameterised curve
60 Standard_EXPORT Handle(IGESGeom_Direction) ReferenceDir() const;
61
62 //! returns True if parameterised, else False
63 Standard_EXPORT Standard_Boolean IsParametrised() const;
64
65
66
67
92efcf78 68 DEFINE_STANDARD_RTTIEXT(IGESSolid_PlaneSurface,IGESData_IGESEntity)
42cf5bc1 69
70protected:
71
72
73
74
75private:
76
77
78 Handle(IGESGeom_Point) theLocationPoint;
79 Handle(IGESGeom_Direction) theNormal;
80 Handle(IGESGeom_Direction) theRefDir;
81
82
83};
84
85
86
87
88
89
90
91#endif // _IGESSolid_PlaneSurface_HeaderFile