📄 cogtest.html
字号:
<TITLE>COG 2.1: Test cogeometry</TITLE> <P>This file defines a default test cogeometry. Test cogeometries areused in some general test code which allows to compute for the testcogeometry the following things: <UL> <LI> intersection with the <A HREF="maincogtest.html">cube [-1,1]<SUP>3</SUP></A>, <LI> intersection with the <A HREF="maincog3dtest.html">cube [0,1]<SUP>3</SUP></A>, <LI> intersection with the <A HREF="maincog2dtest.html">rectangle [-1,1]<SUP>2</SUP></A> at z=0.4, <LI> intersection with the <A HREF="maincog1dtest.html">segment [-1,1]</A> at y=z=0.4, <LI> intersection with a <A HREF="maincogpolartest.html">unit disc</A> at z=0.2, </UL> <P>The test code below will be extracted by the following command: <P>> coguse cog <P>It will be replaced by the test code from the files<B>cog<I>opt</I>test.html</B> by the following command: <P>> coguse cog <B>opt</B> <P>The available options will be listed by the following command: <P>> coguse cog <hr><H2>Temporarily not available</H2> <P>At the current moment, because of some redesign of the relatedfunctionality, I have removed the other test files. <!--> <B>opt</B> denotes one of the following options: <UL> <LI> without option, this default will be recovered. Moreover, yousee the actual list of options. Mail me if the list below is invalid; <LI> <A HREF="cogregiontest.html">region</A> by user-definedfunction 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-definedtransformation; <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 ofregion numbers; <LI> <A HREF="coguniontest.html">union</A> - maximum of region numbers; <LI> <A HREF="cogsplittest.html">split</A> of one region into partsdescribed by another cogeometry; <LI> <A HREF="cogoverlaytest.html">overlay</A> of one region over thebackground of another cogeometry; <LI> <A HREF="cogcornertest.html">corner</A>; </UL>> <P>You can also test your own cogeometries. To add an option xxxyou simply have to write the file "cogxxxtest.html" following theconventions of the other files "cog*test.html". That's easy if youstart with one of these files as a pattern. <P>We use a <A HREF="cogellipsetest.html">simple sphere</A> as thedefault cogeometry.<PRE>#include "coglib.hxx"cogeometry test_cogeometry(){ return new Cogeometry0D(wzRegion(1));}</PRE>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -