1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-09-03 14:10:33 +03:00

Integration of OCCT 6.5.0 from SVN

This commit is contained in:
bugmaster
2011-03-16 07:30:28 +00:00
committed by bugmaster
parent 4903637061
commit 7fd59977df
16375 changed files with 3882564 additions and 0 deletions

View File

@@ -0,0 +1,86 @@
#include ThePolyhedron_hxx
inline const Bnd_Box& IntCurveSurface_PolyhedronTool::Bounding
(const ThePolyhedron& thePolyh)
{
return thePolyh.Bounding();
}
inline const Handle(Bnd_HArray1OfBox)& IntCurveSurface_PolyhedronTool::
ComponentsBounding(const ThePolyhedron& thePolyh)
{
return thePolyh.ComponentsBounding();
}
inline Standard_Real IntCurveSurface_PolyhedronTool::DeflectionOverEstimation
(const ThePolyhedron& thePolyh)
{
return thePolyh.DeflectionOverEstimation();
}
inline Standard_Integer IntCurveSurface_PolyhedronTool::NbTriangles
(const ThePolyhedron& thePolyh)
{
return thePolyh.NbTriangles();
}
inline void IntCurveSurface_PolyhedronTool::Triangle(const ThePolyhedron& thePolyh,
const Standard_Integer Index,
Standard_Integer& P1,
Standard_Integer& P2,
Standard_Integer& P3)
{
thePolyh.Triangle(Index, P1,P2,P3);
}
inline const gp_Pnt& IntCurveSurface_PolyhedronTool::Point
(const ThePolyhedron& thePolyh,
const Standard_Integer Index)
{
return thePolyh.Point(Index);
}
inline Standard_Integer IntCurveSurface_PolyhedronTool::TriConnex
(const ThePolyhedron& thePolyh,
const Standard_Integer Triang,
const Standard_Integer Pivot,
const Standard_Integer Pedge,
Standard_Integer& TriCon,
Standard_Integer& OtherP)
{
return thePolyh.TriConnex(Triang, Pivot, Pedge, TriCon, OtherP);
}
// Modified by Sergey KHROMOV - Fri Dec 7 13:47:07 2001 Begin
//=======================================================================
//function : IsOnBound
//purpose : This method returns true if the edge based on points with
// indices Index1 and Index2 represents a boundary edge.
//=======================================================================
inline Standard_Boolean IntCurveSurface_PolyhedronTool::IsOnBound
(const ThePolyhedron& thePolyh,
const Standard_Integer Index1,
const Standard_Integer Index2)
{
return thePolyh.IsOnBound(Index1, Index2);
}
//=======================================================================
//function : GetBorderDeflection
//purpose : This method returns a border deflection of the polyhedron.
//=======================================================================
inline Standard_Real IntCurveSurface_PolyhedronTool::GetBorderDeflection
(const ThePolyhedron& thePolyh)
{
return thePolyh.GetBorderDeflection();
}
// Modified by Sergey KHROMOV - Fri Dec 7 13:46:56 2001 End