1 #ifndef IntPatch_Polygo_HeaderFile
2 #include <IntPatch_Polygo.hxx>
4 #ifndef Bnd_Box2d_HeaderFile
5 #include <Bnd_Box2d.hxx>
7 #ifndef gp_Pnt2d_HeaderFile
8 #include <gp_Pnt2d.hxx>
11 inline const Bnd_Box2d& IntPatch_PolygoTool::Bounding(const IntPatch_Polygo& Line)
12 { return Line.Bounding(); }
15 inline Standard_Real IntPatch_PolygoTool::DeflectionOverEstimation
16 (const IntPatch_Polygo& Line)
17 { return Line.Error();} // fleche non calculable
19 inline Standard_Boolean IntPatch_PolygoTool::Closed(const IntPatch_Polygo& Line)
20 { return Line.Closed();}
22 inline Standard_Integer IntPatch_PolygoTool::NbSegments(const IntPatch_Polygo& Line)
23 { return Line.NbPoints()-1;}
25 inline gp_Pnt2d IntPatch_PolygoTool::BeginOfSeg(const IntPatch_Polygo& Line,
26 const Standard_Integer Index)
27 { return Line.Point(Index);}
30 inline gp_Pnt2d IntPatch_PolygoTool::EndOfSeg(const IntPatch_Polygo& Line,
31 const Standard_Integer Index)
32 { return Line.Point(Index+1);}