File indexing completed on 2025-01-18 10:04:01
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017 #ifndef _IGESGeom_Plane_HeaderFile
0018 #define _IGESGeom_Plane_HeaderFile
0019
0020 #include <Standard.hxx>
0021 #include <Standard_Type.hxx>
0022
0023 #include <gp_XYZ.hxx>
0024 #include <IGESData_IGESEntity.hxx>
0025 #include <Standard_Integer.hxx>
0026 class gp_Pnt;
0027
0028
0029 class IGESGeom_Plane;
0030 DEFINE_STANDARD_HANDLE(IGESGeom_Plane, IGESData_IGESEntity)
0031
0032
0033
0034
0035
0036
0037
0038
0039 class IGESGeom_Plane : public IGESData_IGESEntity
0040 {
0041
0042 public:
0043
0044
0045 Standard_EXPORT IGESGeom_Plane();
0046
0047 Standard_EXPORT void Init (const Standard_Real A, const Standard_Real B, const Standard_Real C, const Standard_Real D, const Handle(IGESData_IGESEntity)& aCurve, const gp_XYZ& attach, const Standard_Real aSize);
0048
0049
0050
0051
0052
0053
0054 Standard_EXPORT void SetFormNumber (const Standard_Integer form);
0055
0056 Standard_EXPORT void Equation (Standard_Real& A, Standard_Real& B, Standard_Real& C, Standard_Real& D) const;
0057
0058 Standard_EXPORT void TransformedEquation (Standard_Real& A, Standard_Real& B, Standard_Real& C, Standard_Real& D) const;
0059
0060
0061 Standard_EXPORT Standard_Boolean HasBoundingCurve() const;
0062
0063
0064 Standard_EXPORT Standard_Boolean HasBoundingCurveHole() const;
0065
0066
0067
0068 Standard_EXPORT Handle(IGESData_IGESEntity) BoundingCurve() const;
0069
0070
0071 Standard_EXPORT Standard_Boolean HasSymbolAttach() const;
0072
0073
0074 Standard_EXPORT gp_Pnt SymbolAttach() const;
0075
0076
0077
0078 Standard_EXPORT gp_Pnt TransformedSymbolAttach() const;
0079
0080
0081 Standard_EXPORT Standard_Real SymbolSize() const;
0082
0083
0084
0085
0086 DEFINE_STANDARD_RTTIEXT(IGESGeom_Plane,IGESData_IGESEntity)
0087
0088 protected:
0089
0090
0091
0092
0093 private:
0094
0095
0096 Standard_Real theA;
0097 Standard_Real theB;
0098 Standard_Real theC;
0099 Standard_Real theD;
0100 Handle(IGESData_IGESEntity) theCurve;
0101 gp_XYZ theAttach;
0102 Standard_Real theSize;
0103
0104
0105 };
0106
0107
0108
0109
0110
0111
0112
0113 #endif