File indexing completed on 2025-01-18 10:03:32
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014 #ifndef _GCPnts_TCurveTypes_HeaderFile
0015 #define _GCPnts_TCurveTypes_HeaderFile
0016
0017 #include <Adaptor2d_Curve2d.hxx>
0018 #include <Adaptor3d_Curve.hxx>
0019 #include <Geom_BezierCurve.hxx>
0020 #include <Geom_BSplineCurve.hxx>
0021 #include <Geom2d_BezierCurve.hxx>
0022 #include <Geom2d_BSplineCurve.hxx>
0023 #include <GCPnts_DistFunction.hxx>
0024 #include <GCPnts_DistFunction2d.hxx>
0025
0026
0027 template<class TheCurve> struct GCPnts_TCurveTypes {};
0028
0029
0030 template<> struct GCPnts_TCurveTypes<Adaptor3d_Curve>
0031 {
0032 typedef gp_Pnt Point;
0033 typedef Geom_BezierCurve BezierCurve;
0034 typedef Geom_BSplineCurve BSplineCurve;
0035 typedef GCPnts_DistFunction DistFunction;
0036 typedef GCPnts_DistFunctionMV DistFunctionMV;
0037 };
0038
0039
0040 template<> struct GCPnts_TCurveTypes<Adaptor2d_Curve2d>
0041 {
0042 typedef gp_Pnt2d Point;
0043 typedef Geom2d_BezierCurve BezierCurve;
0044 typedef Geom2d_BSplineCurve BSplineCurve;
0045 typedef GCPnts_DistFunction2d DistFunction;
0046 typedef GCPnts_DistFunction2dMV DistFunctionMV;
0047 };
0048
0049 #endif