DX9ToolsR4 - Created by: X

GeoHelpers.GenerateEllipsePoints Method (RectangleF, Int32, Single, Single, Vector2[])

Generates an array of Point types that represent an ellipse.

[Visual Basic]
Overloads Public Shared Sub GenerateEllipsePoints( _
   ByVal R As RectangleF, _
   ByVal NumPoints As Integer, _
   ByVal DegPerPoint As Single, _
   ByVal StartDeg As Single, _
   ByRef Pts As Vector2() _
)
[C#]
public static void GenerateEllipsePoints(
   RectangleF R,
   int NumPoints,
   float DegPerPoint,
   float StartDeg,
   ref Vector2[] Pts
);

Parameters

R
The rectangle that specifies the bounnds of the ellipse.
NumPoints
The number of points in the ellipse.
DegPerPoint
The number of degress to use between each point.
StartDeg
The start degree.
Pts
The varible that will be used to store the array of Vector2 types that represent the ellipse.

See Also

GeoHelpers Class | CBX.Libs.DX9ToolsR4 Namespace | GeoHelpers.GenerateEllipsePoints Overload List