7fd59977 |
1 | // File: Functions.hxx |
2 | // Created: Tue Oct 07 09:23:55 1997 |
3 | // Author: Stephane ROUTELOUS |
4 | // <s-routelous@muenchen.matra-dtv.fr> |
5 | |
6 | |
7 | #include "StdAfx.h" |
8 | |
9 | #include <TopoDS_Compound.hxx> |
10 | #include <BRep_Builder.hxx> |
11 | #include <BRepAlgoAPI_Common.hxx> |
12 | |
13 | #include <TColgp_SequenceOfPnt.hxx> |
14 | #include <gp_Pnt.hxx> |
15 | #include <gp_Vec.hxx> |
16 | #include <gp_Vec2d.hxx> |
17 | #include <gp_Pnt2d.hxx> |
18 | #include <Standard.hxx> |
19 | #include <Precision.hxx> |
20 | #include <Standard_Boolean.hxx> |
21 | #include <Geom_BSplineSurface.hxx> |
22 | #include <TColStd_HArray2OfReal.hxx> |
23 | #include "GeomAPI_PointsToBSplineSurface.hxx" |
24 | #include <stdio.h> |
25 | #include <TColStd_HArray2OfReal.hxx> |
26 | #include <Geom_BSplineCurve.hxx> |
27 | #include <TColgp_Array1OfPnt.hxx> |
28 | #include <Geom_CartesianPoint.hxx> |
29 | #include <AIS_Point.hxx> |
30 | #include <GeomAPI_PointsToBSpline.hxx> |
31 | #include <BRepBuilderAPI_Transform.hxx> |
32 | #include <TopoDS_Solid.hxx> |
33 | #include <BRepAlgoAPI_Fuse.hxx> |
34 | #include <BRepTools.hxx> |
35 | #include <AIS_ListIteratorOfListOfInteractive.hxx> |
36 | #include <AIS_InteractiveContext.hxx> |
37 | |
38 | |
576f8b11 |
39 | Standard_Boolean grid2surf(CString ShapeName, Handle(Geom_BSplineSurface)& S); |
7fd59977 |
40 | Handle(Geom_BSplineCurve) SetTransfo(Handle(Geom_BSplineCurve) aBSCurve); |
41 | Handle(Geom_BSplineCurve) BuildBSplineCurve(Standard_Boolean DisplayPoints = Standard_True); |
576f8b11 |
42 | Handle(TColStd_HArray2OfReal) ReadRegularGrid(CString FileName, |
7fd59977 |
43 | Standard_Real& xmin, |
44 | Standard_Real& ymin, |
45 | Standard_Real& Deltax, |
46 | Standard_Real& Deltay); |