File indexing completed on 2024-11-15 09:46:48
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017 #ifndef _GeomFill_Profiler_HeaderFile
0018 #define _GeomFill_Profiler_HeaderFile
0019
0020 #include <Standard.hxx>
0021 #include <Standard_DefineAlloc.hxx>
0022 #include <Standard_Handle.hxx>
0023
0024 #include <TColGeom_SequenceOfCurve.hxx>
0025 #include <Standard_Integer.hxx>
0026 #include <TColgp_Array1OfPnt.hxx>
0027 #include <TColStd_Array1OfReal.hxx>
0028 #include <TColStd_Array1OfInteger.hxx>
0029 class Geom_Curve;
0030
0031
0032
0033
0034
0035
0036 class GeomFill_Profiler
0037 {
0038 public:
0039
0040 DEFINE_STANDARD_ALLOC
0041
0042
0043 Standard_EXPORT GeomFill_Profiler();
0044 Standard_EXPORT virtual ~GeomFill_Profiler();
0045
0046 Standard_EXPORT void AddCurve (const Handle(Geom_Curve)& Curve);
0047
0048
0049
0050
0051 Standard_EXPORT virtual void Perform (const Standard_Real PTol);
0052
0053
0054 Standard_EXPORT Standard_Integer Degree() const;
0055
0056 Standard_Boolean IsPeriodic() const;
0057
0058
0059 Standard_EXPORT Standard_Integer NbPoles() const;
0060
0061
0062
0063
0064
0065
0066
0067 Standard_EXPORT void Poles (const Standard_Integer Index, TColgp_Array1OfPnt& Poles) const;
0068
0069
0070
0071
0072
0073
0074
0075 Standard_EXPORT void Weights (const Standard_Integer Index, TColStd_Array1OfReal& Weights) const;
0076
0077
0078 Standard_EXPORT Standard_Integer NbKnots() const;
0079
0080
0081
0082
0083 Standard_EXPORT void KnotsAndMults (TColStd_Array1OfReal& Knots, TColStd_Array1OfInteger& Mults) const;
0084
0085 const Handle(Geom_Curve)& Curve (const Standard_Integer Index) const;
0086
0087
0088
0089
0090 protected:
0091
0092
0093
0094 TColGeom_SequenceOfCurve mySequence;
0095 Standard_Boolean myIsDone;
0096 Standard_Boolean myIsPeriodic;
0097
0098
0099 private:
0100
0101
0102
0103
0104
0105 };
0106
0107
0108 #include <GeomFill_Profiler.lxx>
0109
0110
0111
0112
0113
0114 #endif