point2line
index
 
Name ellipsePoint ( )
Description Calculates the point on an ellipse at a specific angle. Only use this function when absolutely necessary; it is slow. For the purpose of drawing an ellipse, simply calculate the points on a circle and scale the x and y value. http://mathforum.org/library/drmath/view/54922.html
Syntax
ellipsePoint(angle, width, height);
Parameters
angle   in radians (float)
width   of the ellipse (float)
height   of the ellipse (float)
Returns position (Vect2)
Usage Web & Application
Related
Examples
import point2line.*;

float angle = 30;
float width = 100;
float height = 50;
Vect2 ellipsePoint = Space2.ellipsePoint( radians( angle ), width , height );

println( ellipsePoint ); // prints "Vect2( 32.732685, 18.898224 )"