DX9ToolsR4 - Created by: X

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

Generates an array of Point types that represent an ellipse.

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

Parameters

R
The rectangle that specifies the bounnds of the ellipse.
Orient
Specifies the orientation axis.
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 Vector3 types that represent the ellipse.

See Also

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