<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
Hello,<br>
<br>
I'm trying to create a parabola (simple case, of the form y=ax2).<br>
I tried to put on the BSpline : the starting point, the end point
and a control point that is on the crossing of the tangents of the
parabola on the starting point and the end point.<br>
Here is the code for a simple curve y=x2 between 0 and 1.<br>
<br>
a = 1.0;<br>
x_max = 1.0;<br>
<br>
Point(0) = {0,0,0};<br>
Point(1) = {-1/(2*a*x_max)+x_max, 0, 0};<br>
Point(2) = {x_max, a*x_max*x_max, 0};<br>
<br>
BSpline(1) = {0, 1 ,2};<br>
<br>
<br>
But as you can see on the screen shot, the curve is not passing
through the correct points. Is there a way to produce correct
parabolas ? Do you think using the tangent is a good idea ?<br>
<br>
Thank you,<br>
<br>
<div class="moz-signature">-- <br>
Arnaud Trouche<br>
<span style="font-size:small;color:grey;">
Artenum Toulouse - Science & Groupware<br>
<a href="http://www.artenum.com">http://www.artenum.com</a></span></div>
</body>
</html>