FEllipseFindIntersections(FPoint, Single, Single, FLine, Boolean) Method

Return an array of coordinates containing zero or more intersections between the edge of the ellipse and a provided line.

Definition

Namespace: Geometry
Assembly: Geometry (in Geometry.dll) Version: 25.2414.4032
C#
public static FPoint[] FindIntersections(
	FPoint center,
	float radiusX,
	float radiusY,
	FLine line,
	bool allowImaginary = false
)

Parameters

center  FPoint
Reference to the center coordinate of the ellipse.
radiusX  Single
The X-axis radius of the ellipse.
radiusY  Single
The Y-axis radius of the ellipse.
line  FLine
Reference to the line being tested for intersection.
allowImaginary  Boolean  (Optional)
Value indicating whether imaginary intersections on the line will be included.

Return Value

FPoint
Reference to an array of coordinates where the line crosses the edge of the ellipse, if intersections were found. Otherwise, an empty array.

See Also