[Gmsh] a circle with a bspline?

Shinjiro Miyawaki miyashin_hm at hotmail.com
Wed Mar 28 22:48:53 CEST 2012


Hi,

Could anyone tell me the degrees of 'Bspline' and 'Spline' on Gmsh?

I just learned how to approximate a circle with Bezier curves:
http://www.tinaja.com/glib/ellipse4.pdf

Could we do the same thing with 'Bspline' on Gmsh?
(Yes, I'm aware of 'Circle' and 'Ellipse' on Gmsh.)

Apparently, the following 'Bspline' does not look like a circle...

//-----
Point ( 5) = { 0.0000, 1.0000, 0.0000};
Point ( 6) = { 0.0000, 0.0000, 0.0000};
Point ( 7) = { 1.0000, 0.0000, 0.0000};
Point ( 8) = { 0.0000, 1.0000, 0.0000};
Point ( 9) = { 0.5518, 1.0000, 0.0000};
Point (10) = { 1.0000, 0.5518, 0.0000};
Point (11) = { 1.0000, 0.0000, 0.0000};

Circle  (102) = {5,6,7};
Ellipse (103) = {5,6,7,7};
BSpline (104) = {8,9,10,11};

Physical Line (202) = {102};
Physical Line (203) = {103};
Physical Line (204) = {104};
//-----

Regards,
Shin
 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.geuz.org/pipermail/gmsh/attachments/20120328/dfbeab25/attachment.html>