📄 cog1test.html
字号:
<TITLE>COG 1.0 - test_cogeometry_1</TITLE>
<H1>First Cogeometry-Argument For Test-Cogeometries</H1>
<P>Some cogeometries (
<A HREF="cogfunctiontest.html">function</A>
<A HREF="cogmaptest.html">map</A>
<A HREF="cogintersectiontest.html">intersection</A>
<A HREF="coguniontest.html">union</A>
<A HREF="cogsplittest.html">split</A>
<A HREF="cogoverlaytest.html">overlay</A>
<A HREF="cogboxtest.html">box</A>
<A HREF="cogperiodictest.html">periodic</A>
) use other cogeometries as arguments.
<P>This file defines the default for the first argument for the test
of such cogeometries. You can use also another test cogeometry xxx (if
xxx does not depend on arguments itself) instead of the cogeometry
defined below simply by the command
<P>> <B>use cog xxx 1</B>
<P>Here we use a simple <A HREF="cog1dtest.html">1D
cogeometry</A>. This usually looks nice, because of many different
colors, and suggests very well how the operation works.
<PRE>
#include "cog1d.hxx"
cogeometry test_cogeometry()
{
return new Cogeometry1D(wzRegion(1),
0.1, wzRegion(2),
0.2, wzRegion(3),
0.3, wzRegion(4),
0.4, wzRegion(5),
0.5, wzRegion(6),
0.6, wzRegion(7),
0.7, wzRegion(8),
0.8, wzRegion(9),
0.9, wzRegion(10));
}
</PRE>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -