0024530: TKMesh - remove unused package IntPoly
[occt.git] / src / BRepMesh / BRepMesh_FastDiscret.lxx
CommitLineData
b311480e 1// Created on: 2003-09-26
2// Created by: Open CASCADE Support
973c2be1 3// Copyright (c) 2003-2014 OPEN CASCADE SAS
b311480e 4//
973c2be1 5// This file is part of Open CASCADE Technology software library.
b311480e 6//
973c2be1 7// This library is free software; you can redistribute it and / or modify it
8// under the terms of the GNU Lesser General Public version 2.1 as published
9// by the Free Software Foundation, with special exception defined in the file
10// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
11// distribution for complete text of the license and disclaimer of any warranty.
b311480e 12//
973c2be1 13// Alternatively, this file may be used under the terms of Open CASCADE
14// commercial license or contractual agreement.
7fd59977 15
16#include <BRepMesh_DataStructureOfDelaun.hxx>
17
7fd59977 18//=======================================================================
19//function : GetDeflection
20//purpose :
21//=======================================================================
22
23inline Standard_Real BRepMesh_FastDiscret::GetDeflection() const
24{
703a6abd 25 return myDeflection;
7fd59977 26}
27
28//=======================================================================
29//function : GetAngle
30//purpose :
31//=======================================================================
32
33inline Standard_Real BRepMesh_FastDiscret::GetAngle() const
34{
703a6abd 35 return myAngle;
7fd59977 36}
37
38//=======================================================================
39//function : GetMapOfDefEdge
40//purpose :
41//=======================================================================
42
43inline const TopTools_DataMapOfShapeReal& BRepMesh_FastDiscret::GetMapOfDefEdge() const
44{
703a6abd 45 return myMapdefle;
7fd59977 46}
47
48//=======================================================================
49//function : EdgesOfDomain
50//purpose :
51//=======================================================================
52
0d88155b 53inline void BRepMesh_FastDiscret::EdgesOfDomain(BRepMesh_MapOfInteger& Indices) const
7fd59977 54{
703a6abd 55 Indices = myStructure->LinkOfDomain();
7fd59977 56}
57
58//=======================================================================
59//function : TrianglesOfDomain
60//purpose :
61//=======================================================================
62
0d88155b 63inline void BRepMesh_FastDiscret::TrianglesOfDomain(BRepMesh_MapOfInteger& Indices) const
7fd59977 64{
703a6abd 65 Indices = myStructure->ElemOfDomain();
7fd59977 66}
67
68//=======================================================================
69//function : NbPoint3d
70//purpose :
71//=======================================================================
72
73inline Standard_Integer BRepMesh_FastDiscret::NbPoint3d() const
74{
703a6abd 75 return myNbLocat;
7fd59977 76}
77
78//=======================================================================
79//function : Point3d
80//purpose :
81//=======================================================================
82
83inline const gp_Pnt& BRepMesh_FastDiscret::Point3d(const Standard_Integer Index) const
84{
703a6abd 85 return myLocation3d(Index);
7fd59977 86}
87
88//=======================================================================
89//function : WithShare
90//purpose :
91//=======================================================================
92
93inline Standard_Boolean BRepMesh_FastDiscret::WithShare() const
94{
95 return myWithShare;
96}
97
98//=======================================================================
99//function : InShape
100//purpose :
101//=======================================================================
102
103inline Standard_Boolean BRepMesh_FastDiscret::InShape() const
104{
703a6abd 105 return myInshape;
7fd59977 106}
107
108//=======================================================================
109//function : ShapeTrigu
110//purpose :
111//=======================================================================
112
113inline Standard_Boolean BRepMesh_FastDiscret::ShapeTrigu() const
114{
703a6abd 115 return myShapetrigu;
7fd59977 116}