Version

EllipsePointAlternate(Double,Double,PointF,Double,Double) Method

Alternate formula for finding a point on an ellipse.
Syntax
'Declaration
 
Public Overloads Shared Function EllipsePointAlternate( _
   ByVal theta As Double, _
   ByVal eccentricity As Double, _
   ByVal center As PointF, _
   ByVal halfHeight As Double, _
   ByVal extent As Double _
) As PointF
public static PointF EllipsePointAlternate( 
   double theta,
   double eccentricity,
   PointF center,
   double halfHeight,
   double extent
)

Parameters

theta
The angle, expressed in radians, at which to find a point on the ellipse circumference.
eccentricity
The eccentricity of the ellipse. Use the Geometry.Eccentricity function.
center
The center of the ellipse.
halfHeight
One half of the ellipse's height.
extent
The extent at which to find the point. A value of 100 will return a point on the Ellipse circumference. Less than 100 will return a point inside the ellipse, and greater than 100 will return a point outside the ellipse.

Return Value

The point on the ellipse taken from the given parameters.
Remarks

Alternate formula is Geometry.PointOnEllipse. This function returns angular values which are not necessarily evenly distributed along the circumference of the ellipse.

Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also