File indexing completed on 2026-09-29 09:18:46
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>
0028 struct GCPnts_TCurveTypes
0029 {
0030 };
0031
0032
0033 template <>
0034 struct GCPnts_TCurveTypes<Adaptor3d_Curve>
0035 {
0036 typedef gp_Pnt Point;
0037 typedef Geom_BezierCurve BezierCurve;
0038 typedef Geom_BSplineCurve BSplineCurve;
0039 typedef GCPnts_DistFunction DistFunction;
0040 typedef GCPnts_DistFunctionMV DistFunctionMV;
0041 };
0042
0043
0044 template <>
0045 struct GCPnts_TCurveTypes<Adaptor2d_Curve2d>
0046 {
0047 typedef gp_Pnt2d Point;
0048 typedef Geom2d_BezierCurve BezierCurve;
0049 typedef Geom2d_BSplineCurve BSplineCurve;
0050 typedef GCPnts_DistFunction2d DistFunction;
0051 typedef GCPnts_DistFunction2dMV DistFunctionMV;
0052 };
0053
0054 #endif