This file is indexed.

/usr/include/oce/QANewBRepNaming_BooleanOperationFeat.hxx is in liboce-visualization-dev 0.18.2-2build1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

  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
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
// This file is generated by WOK (CPPExt).
// Please do not edit this file; modify original file instead.
// The copyright and license terms as defined for the original file apply to 
// this header file considered to be the "object code" form of the original source.

#ifndef _QANewBRepNaming_BooleanOperationFeat_HeaderFile
#define _QANewBRepNaming_BooleanOperationFeat_HeaderFile

#include <Standard.hxx>
#include <Standard_DefineAlloc.hxx>
#include <Standard_Macro.hxx>

#include <QANewBRepNaming_TopNaming.hxx>
#include <Standard_Boolean.hxx>
#include <TopAbs_ShapeEnum.hxx>
class TDF_Label;
class BRepAlgoAPI_BooleanOperation;
class TopoDS_Shape;


//! To load the BooleanOperationFeat results
class QANewBRepNaming_BooleanOperationFeat  : public QANewBRepNaming_TopNaming
{
public:

  DEFINE_STANDARD_ALLOC

  
  Standard_EXPORT   void Init (const TDF_Label& ResultLabel) ;
  
  //! Returns the label to insert modified faces of an Object.
  Standard_EXPORT   TDF_Label ModifiedFaces()  const;
  
  //! Returns the label to insert modified edges of an Object.
  Standard_EXPORT   TDF_Label ModifiedEdges()  const;
  
  //! Returns the label to insert deleted faces of an Object.
  Standard_EXPORT   TDF_Label DeletedFaces()  const;
  
  //! Returns the label to insert deleted edges of an Object.
  Standard_EXPORT   TDF_Label DeletedEdges()  const;
  
  //! Returns the label to insert deleted vertices of an Object.
  Standard_EXPORT   TDF_Label DeletedVertices()  const;
  
  //! Returns the label to insert added shapes to an Object
  //! (given from tool).
  Standard_EXPORT   TDF_Label NewShapes()  const;
  
  Standard_EXPORT   TDF_Label Content()  const;
  
  Standard_EXPORT   TDF_Label DeletedDegeneratedEdges()  const;
  
  //! Returns true if the result is not the same as the object shape.
  Standard_EXPORT   Standard_Boolean IsResultChanged (BRepAlgoAPI_BooleanOperation& MakeShape)  const;
  
  //! If the shape is a compound the method
  //! returns the underlying shape type.
  Standard_EXPORT static   TopAbs_ShapeEnum ShapeType (const TopoDS_Shape& theShape) ;
  
  //! Returns true if workaround case identified
  Standard_EXPORT static   Standard_Boolean IsWRCase (const BRepAlgoAPI_BooleanOperation& theMS) ;
  
  //! Returns true if workaround case identified
  Standard_EXPORT static   Standard_Boolean IsWRCase2 (const BRepAlgoAPI_BooleanOperation& theMS) ;




protected:

  
  Standard_EXPORT QANewBRepNaming_BooleanOperationFeat();
  
  Standard_EXPORT QANewBRepNaming_BooleanOperationFeat(const TDF_Label& ResultLabel);
  
  //! If the shape is a compound the method
  //! returns the underlying shape.
  Standard_EXPORT   TopoDS_Shape GetShape (const TopoDS_Shape& theShape)  const;
  
  //! A default implementation for naming of a wire as an object of
  //! a boolean operation.
  Standard_EXPORT   void LoadWire (BRepAlgoAPI_BooleanOperation& MakeShape)  const;
  
  //! A default implementation for naming of a shell as an object of
  //! a boolean operation.
  Standard_EXPORT   void LoadShell (BRepAlgoAPI_BooleanOperation& MakeShape)  const;
  
  //! Loads the content of the result.
  Standard_EXPORT   void LoadContent (BRepAlgoAPI_BooleanOperation& MakeShape)  const;
  
  //! Loads the result.
  Standard_EXPORT   void LoadResult (BRepAlgoAPI_BooleanOperation& MakeShape)  const;
  
  //! Loads the deletion of the degenerated edges.
  Standard_EXPORT   void LoadDegenerated (BRepAlgoAPI_BooleanOperation& MakeShape)  const;
  
  //! To process special cases with evolution 1 to n
  Standard_EXPORT   void LoadModified1n (BRepAlgoAPI_BooleanOperation& theMS, const TopoDS_Shape& theShapeIn, const TopAbs_ShapeEnum theKindOfShape)  const;
  
  //! To process special cases with evolution 1 to 1
  Standard_EXPORT   void LoadModified11 (BRepAlgoAPI_BooleanOperation& theMS, const TopoDS_Shape& theShapeIn, const TopAbs_ShapeEnum theKindOfShape)  const;
  
  //! To process special case when result has symmetrical edges
  Standard_EXPORT   void LoadSymmetricalEdges (BRepAlgoAPI_BooleanOperation& theMS)  const;
  
  Standard_EXPORT   void LoadWRCase (BRepAlgoAPI_BooleanOperation& theMS)  const;




private:

  
  //! used inside LoadModified1n
  Standard_EXPORT   void Load1nFaces (BRepAlgoAPI_BooleanOperation& theMS, const TopoDS_Shape& theShapeIn)  const;




};







#endif // _QANewBRepNaming_BooleanOperationFeat_HeaderFile