FEllipseGetVerticesInArc Method

Return the vertices of the edge of the ellipse, along the arc, beginning at the starting angle and moving through specified sweep.

Definition

Namespace: Geometry
Assembly: Geometry (in Geometry.dll) Version: 25.2820.4317
C#
public static List<FVector2> GetVerticesInArc(
	FEllipse ellipse,
	int pointCount,
	float startAngle,
	float sweepAngle
)

Parameters

ellipse  FEllipse
Reference to the ellipse whose vertices will be inspected.
pointCount  Int32
Count of discrete points to enumerate.
startAngle  Single
The starting offset angle, relative to the shape, to draw, in radians.
sweepAngle  Single
The angle of sweep to encompass, in radians. This value can be positive or negative.

Return Value

ListFVector2
Reference to a list of floating-point points representing the vertices of the arc.

Remarks

When rotation is 0, the first point occurs on the vector +X,0 from center.

Unlike the full ellipse, whose end point is implied to be the start point, the arc has explicit starting and ending points at the beginning and ending points of its sweep. If the point count is 2, for example, the points of the arc will be at the beginning and end, as opposed to the beginning and center, as would be the case with the closed path.

See Also