0030874: Modeling Algorithms - GCPnts_TangentialDeflection inserts the points between...
[occt.git] / src / GCPnts / GCPnts_QuasiUniformAbscissa.cxx
CommitLineData
b311480e 1// Copyright (c) 1996-1999 Matra Datavision
973c2be1 2// Copyright (c) 1999-2014 OPEN CASCADE SAS
b311480e 3//
973c2be1 4// This file is part of Open CASCADE Technology software library.
b311480e 5//
d5f74e42 6// This library is free software; you can redistribute it and/or modify it under
7// the terms of the GNU Lesser General Public License version 2.1 as published
973c2be1 8// by the Free Software Foundation, with special exception defined in the file
9// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
10// distribution for complete text of the license and disclaimer of any warranty.
b311480e 11//
973c2be1 12// Alternatively, this file may be used under the terms of Open CASCADE
13// commercial license or contractual agreement.
b311480e 14
7fd59977 15//#include <GCPnts_QuasiUniformAbscissa.ixx>
16
17#include <StdFail_NotDone.hxx>
18#include <Standard_DomainError.hxx>
19#include <Standard_OutOfRange.hxx>
20#include <Standard_ConstructionError.hxx>
21#include <GCPnts_QuasiUniformAbscissa.hxx>
22#include <GCPnts_UniformAbscissa.hxx>
23#include <Adaptor3d_Curve.hxx>
24#include <Adaptor2d_Curve2d.hxx>
25#include <TColgp_Array1OfPnt2d.hxx>
26#include <gp_Pnt2d.hxx>
27#include <TColgp_Array1OfPnt.hxx>
28#include <gp_Pnt.hxx>
29
0797d9d3 30#ifdef OCCT_DEBUG
7fd59977 31//#include <DrawTrSurf.hxx>
32
33//static Standard_Integer compteur = 0;
34#endif
35
36//=======================================================================
37//function : GCPnts_QuasiUniformAbscissa
38//purpose :
39//=======================================================================
40
41GCPnts_QuasiUniformAbscissa::GCPnts_QuasiUniformAbscissa ()
c24d4017 42 :myDone(Standard_False),
43 myNbPoints(0)
7fd59977 44{
45}
46
47#include <Geom_BezierCurve.hxx>
48#include <Geom_BSplineCurve.hxx>
49
50#define TheCurve Adaptor3d_Curve
51#define Handle_TheBezierCurve Handle(Geom_BezierCurve)
52#define Handle_TheBSplineCurve Handle(Geom_BSplineCurve)
53#define TheArray1OfPnt TColgp_Array1OfPnt
54#define ThePnt gp_Pnt
55
9bf3ef83 56#include "GCPnts_QuasiUniformAbscissa.pxx"
7fd59977 57
58#undef TheCurve
59#undef Handle_TheBezierCurve
60#undef Handle_TheBSplineCurve
61#undef TheArray1OfPnt
62#undef ThePnt
63
64#include <Geom2d_BezierCurve.hxx>
65#include <Geom2d_BSplineCurve.hxx>
66
67#define TheCurve Adaptor2d_Curve2d
68#define Handle_TheBezierCurve Handle(Geom2d_BezierCurve)
69#define Handle_TheBSplineCurve Handle(Geom2d_BSplineCurve)
70#define TheArray1OfPnt TColgp_Array1OfPnt2d
71#define ThePnt gp_Pnt2d
72
9bf3ef83 73#include "GCPnts_QuasiUniformAbscissa.pxx"
7fd59977 74
75
76