LCOV - code coverage report
Current view: top level - geom/cgm - TDSurfaceOverlap.hpp (source / functions) Hit Total Coverage
Test: coverage_sk.info Lines: 0 3 0.0 %
Date: 2020-06-30 00:58:45 Functions: 0 2 0.0 %
Branches: 0 6 0.0 %

           Branch data     Line data    Source code
       1                 :            : //-Class: TDSurfaceOverlap.hpp
       2                 :            : 
       3                 :            : #ifndef TD_SURFACE_OVERLAP
       4                 :            : #define TD_SURFACE_OVERLAP
       5                 :            : 
       6                 :            : #include "ToolData.hpp"
       7                 :            : #include "CastTo.hpp"
       8                 :            : #include "DLIList.hpp"
       9                 :            : #include "RTree.hpp"
      10                 :            : #include "AbstractTree.hpp"
      11                 :            : #include "CGMGeomConfigure.h"
      12                 :            : 
      13                 :            : class RefFace;
      14                 :            : class Body;
      15                 :            : class SurfaceOverlapFacet;
      16                 :            : 
      17                 :            : class CUBIT_GEOM_EXPORT TDSurfaceOverlap : public ToolData
      18                 :            : {
      19                 :            : public:
      20                 :            : 
      21                 :            :   TDSurfaceOverlap( RefFace *ref_face_ptr, unsigned short ang_facet_tol, double abs_facet_tol,
      22                 :            :     double gap_max );
      23                 :            :   ~TDSurfaceOverlap();
      24                 :            : 
      25         [ #  # ]:          0 :   int has_rtree(){if(aTree) return CUBIT_TRUE; else return CUBIT_FALSE;}
      26                 :            : 
      27                 :            :   DLIList<SurfaceOverlapFacet*> *get_facet_list();
      28                 :            :   AbstractTree<SurfaceOverlapFacet*> *get_facet_rtree();
      29                 :            :   //- Get an AbstractTree containing the facets for this surface.  Note this returns
      30                 :            :   //- a pointer to the AbstractTree stored in this class, so the calling code should
      31                 :            :   //- not free it.
      32                 :            : 
      33                 :            :   DLIList<Body*> *get_body_list();
      34                 :            : 
      35                 :          0 :   static int is_surface_overlap(const ToolData* td)
      36 [ #  # ][ #  # ]:          0 :      {return (CAST_TO(td, const TDSurfaceOverlap) != NULL);}
      37                 :            : 
      38                 :            : private:
      39                 :            : 
      40                 :            :   RefFace *refFacePtr;
      41                 :            :   DLIList<SurfaceOverlapFacet*> facetList;
      42                 :            :   AbstractTree<SurfaceOverlapFacet*> *aTree;
      43                 :            :   DLIList<Body*> bodyList;
      44                 :            :   int bodiesRetrieved;
      45                 :            :   int marked;
      46                 :            :   unsigned short angFacetTol;
      47                 :            :   double absFacetTol;
      48                 :            :   double gapMax;
      49                 :            : };
      50                 :            : 
      51                 :            : #endif // TD_SURFACE_OVERLAP
      52                 :            : 

Generated by: LCOV version 1.11