maincogpolartest.html

来自「Delaunay三角形的网格剖分程序」· HTML 代码 · 共 30 行

HTML
30
字号
<TITLE>COG 2.1: Intersection with disc</TITLE><H1>Intersection with a disc</H1> <P>In this variant, instead of the <A HREF="maincogtest.html">3Dcube</A>, the intersection of the <A HREF="cogtest.html">test cogeometry</A> with a 2D disc (shifted inz-direction) is computed.<PRE>#include "<A HREF="coglib.hxx">cog/coglib.hxx</A>"cogeometry test_cogeometry();#include "<A HREF="cogtest.cxx">cogtest.cxx</A>"int main(){  cogeometry geom = test_cogeometry();  cogenOctree base = new <A HREF="cogenoctree.html">CogenOctree</A>();  base-&gt;setBorder(0.0,1.0, -wzPi,wzPi);  base-&gt;refinementGlobal(0.1,0.3);  wz2dmap polar = new wz2Dpolar();  cogenChart gen = new CogenChart(base-&gt;generator(),polar);  wzgrid grid = (*gen)(geom);  grid->write("test.sg");}</PRE>

⌨️ 快捷键说明

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