summaryrefslogtreecommitdiff
path: root/inc/IntPatch_PolyhedronTool.lxx
blob: 91b6dae93efb96d18652921a7b3e5120d2cba92a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
// File:      IntPatch_PolyhedronTool.lxx
// Created:   Thu May  6 17:35:54 1993
// Author:    Jacques GOUSSARD
// Copyright: Matra Datavision 1993

inline const Bnd_Box& IntPatch_PolyhedronTool::Bounding (const IntPatch_Polyhedron& thePolyh)
{
  return thePolyh.Bounding();
}

inline const Handle(Bnd_HArray1OfBox)& IntPatch_PolyhedronTool::ComponentsBounding (const IntPatch_Polyhedron& thePolyh)
{
  return thePolyh.ComponentsBounding();
}

inline Standard_Real IntPatch_PolyhedronTool::DeflectionOverEstimation (const IntPatch_Polyhedron& thePolyh)
{
  return thePolyh.DeflectionOverEstimation();
}

inline Standard_Integer IntPatch_PolyhedronTool::NbTriangles (const IntPatch_Polyhedron& thePolyh)
{
  return thePolyh.NbTriangles();
}

inline void IntPatch_PolyhedronTool::Triangle (const IntPatch_Polyhedron& thePolyh,
                                               const Standard_Integer Index,
                                               Standard_Integer& P1,
                                               Standard_Integer& P2,
                                               Standard_Integer& P3)
{
  thePolyh.Triangle(Index, P1,P2,P3);
}

inline const gp_Pnt& IntPatch_PolyhedronTool::Point (const IntPatch_Polyhedron& thePolyh,
                                                     const Standard_Integer Index)
{
  return thePolyh.Point(Index);
}

inline Standard_Integer IntPatch_PolyhedronTool::TriConnex 
  (const IntPatch_Polyhedron& 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);
}