⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 intersectiondetector.h

📁 利用C
💻 H
字号:
// Copyright (C) 2006 Anders Logg.// Licensed under the GNU LGPL Version 2.1.//// First added:  2006-06-21// Last changed: 2008-02-18#ifndef __INTERSECTION_DETECTOR_H#define __INTERSECTION_DETECTOR_H#include <dolfin/common/types.h>#include "GTSInterface.h"namespace dolfin{  class Mesh;  class Cell;  class Point;  //class GTSInterface;  template <class T> class Array;  class IntersectionDetector  {  public:    /// Constructor    IntersectionDetector(Mesh& mesh);    /// Destructor    ~IntersectionDetector();    /// Compute overlap with mesh    void overlap(Cell& c, Array<uint>& overlap);    /// Compute overlap with point    void overlap(Point& p, Array<uint>& overlap);    /// Compute overlap with bounding box    void overlap(Point& p1, Point& p2, Array<uint>& overlap);    /// Compute which cells are intersected by a polygon (defined by points)    void overlap(Array<Point>& points, Array<uint>& overlap);  private:    IntersectionDetector();    IntersectionDetector(const IntersectionDetector&);    GTSInterface gts;  };}#endif

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -