📄 cogboxtest.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->setMinimum(0.15,0.15,0.15);
box->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 + -