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

📄 cogboxtest.html

📁 有限元学习研究用源代码(老外的),供科研人员参考
💻 HTML
字号:
<TITLE>COG 1.0 - CogeometryBox</TITLE>
<H2>class <A NAME="Box">CogeometryBox</A></H2>

<PRE>
#include "<A HREF="cogmap.hxx">cogmap.hxx</A>"
</PRE>

 <P>The class <B>CogeometryBox</B> defines a 3D box by minimal and
maximal coordinates. Inside the box, the geometry is left unchanged,
but outside it makes 1D-continuation.

 <P>Such a box may be very useful if you have a geometry description
which works correctly only inside a box. The input geometry will never
be called with coordinates outside the box.

<PRE>
cogeometry	test_cogeometry()
{
  cogeometry original = test_cogeometry_1();
</PRE>

 <P>Now, the creation of the box is simple:

<PRE>
 CogeometryBox *box = new CogeometryBox(original);
 box-&gt;setMinimum(0.15,0.15,0.15);
 box-&gt;setMaximum(0.85,0.85,0.85);
 return box;
}


#ifdef test_cogeometry
this code can be used only in cogtest.cxx !!!!!  see test.html#parameters for more;
#endif

</PRE>

⌨️ 快捷键说明

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