📄 cogtest.html
字号:
<TITLE>COG 1.0 - Default Cogeometry</TITLE>
<H1><A HREF="cog.html">COG 1.0</A>: Default Cogeometry
Construction</H1>
<P>This file defines the default cogeometry.
<P>You can replace this default code by other test cogeometries with
the following command:
<P>> use cog <B>opt</B>
<P>Here, <B>opt</B> denotes one of the following options:
<UL>
<LI> without option, this default will be recovered. Moreover, you
see the actual list of options. Mail me if the list below is invalid;
<LI> <A HREF="cogregiontest.html">region</A> by user-defined
function which defines the region containing a given point;
<LI> <A HREF="cogfacetest.html">face</A> subdivides boundary faces;
<LI> <A HREF="cognonetest.html">none</A> for the trivial cogeometry;
<LI> <A HREF="cog1dtest.html">1d</A> planes in x-direction;
<LI> <A HREF="cogfunctiontest.html">function</A> by user-defined real function;
<LI> <A HREF="cogmaptest.html">map</A> modification by a user-defined
transformation;
<LI> <A HREF="cogellipsetest.html">ellipse</A>;
<LI> <A HREF="cogtorustest.html">torus</A>;
<LI> <A HREF="cogplanetest.html">plane</A> in skew directions;
<LI> <A HREF="cogelevationtest.html">elevation</A> by some elevation table;
<LI> <A HREF="cogboxtest.html">box</A> 1D continuation outside the box;
<LI> <A HREF="cogperiodictest.html">periodic</A> periodic continuation;
<LI> <A HREF="cogintersectiontest.html">intersection</A> - minimum of
region numbers;
<LI> <A HREF="coguniontest.html">union</A> - maximum of region numbers;
<LI> <A HREF="cogsplittest.html">split</A> of one region into parts
described by another cogeometry;
<LI> <A HREF="cogoverlaytest.html">overlay</A> of one region over the
background of another cogeometry;
<LI> <A HREF="cogcornertest.html">corner</A>;
</UL>
<P>You can also replace the arguments used by some of them (like
intersection). See argument
<A HREF="cog1test.html">1</A> and
<A HREF="cog2test.html">2</A>.
<P>You can also test your own cogeometries. To add an option xxx
you simply have to write the file "cogxxxtest.html" following the
conventions of the other files "cog*test.html". That's easy if you
start with one of these files as a pattern.
<P>We use a <A HREF="cogellipsetest.html">simple sphere</A> as the
default cogeometry.
<PRE>
#include "<A HREF="cogsimple.cxx">cogsimple.hxx</A>"
cogeometry test_cogeometry()
{
CogeometryEllipsoid *s=new CogeometryEllipsoid(wzRegion(2),wzRegion(1));
s->setCenter(0.0,0.0,0.0);
s->setRadius(0.9,0.9,0.9);
return s;
}
</PRE>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -