[Gmsh] Ellipsis

Christophe Geuzaine Christophe.Geuzaine at ulg.ac.be
Thu Nov 22 09:37:30 CET 2001


Hi,

You're right, there is a bug in the ellipsis code. I don't have the time
to fix it right now, but Jean-Francois will have a look at it.

Christophe

Laurent CHAMPANEY wrote:
> 
> Thank you,
> What I dont understand is how to make less than one fourth of an ellipse.
> See the example below.
> Point(1) = {0,0,0,1};
> Point(2) = {10,0,0,1};
> Point(3) = {0,5,0,1};
> Point(4) = {5,4,0,1};
> Ellipsis(1) = {3,1,2,4};
> Ellipsis(2) = {4,1,2,2};
> 
> It seams that the size of the major axis is always twice the distance
> between
> the center and the last point, and the size of the minor axis is twice
> the distance between
> the center and the first point...
> 
> Laurent CHAMPANEY
> 
> Christophe Geuzaine wrote:
> 
> > Laurent CHAMPANEY wrote:
> >
> >> Can you explain me how does the Ellipsis function work?
> >> Thank you
> >> L. CHAMPANEY
> >
> >
> > The Ellipsis function defines a part (less than 1/2) of an ellipsis. The
> > syntax is Ellipsis(num) =
> > {start_point,center_point,major_axis_point,end_point}. Here is an
> > example:
> >
> > Point(1) = {0,0,0,.1};
> > Point(2) = {1,0,0,.1};
> > Point(3) = {0,.5,0,.1};
> > Point(4) = {0,0,.8,.1};
> > Ellipsis(1) = {2,1,2,3};
> > Ellipsis(2) = {3,1,4,4};
> > Ellipsis(3) = {4,1,2,2};
> > Line Loop(1) = {1,2,3};
> > Ruled Surface(1) = {1};
> >
> > Christophe
> >
> 
> --
> Laurent CHAMPANEY - UVSQ Dept de Mecanique
> Centre de Mecanique des Milieux Continus
> RC 28 - Bat Descarte 78025 VERSAILLES Cedex
> Tel 01 39 25 30 26 - Fax 01 39 25 30 15

-- 
Christophe Geuzaine

Tel: 32 (0) 4 366 37 10    http://geuz.org
Fax: 32 (0) 4 366 29 10    mailto:Christophe.Geuzaine at ulg.ac.be