FEllipseTryPlaceEllipseEdgeOnLine Method

Attempt to place the edge of the provided ellipse on the supplied line such that both points of the line touch the edge.

Definition

Namespace: Geometry
Assembly: Geometry (in Geometry.dll) Version: 25.2820.4317
C#
public static bool TryPlaceEllipseEdgeOnLine(
	FEllipse ellipse,
	FLine line,
	bool bulgeUp,
	out FVector2 center
)

Parameters

ellipse  FEllipse
Reference to the ellipse to be moved.
line  FLine
Reference to a stationary line whose end points both need to touch the edge of the ellipse.
bulgeUp  Boolean
Value indicating whether the resulting bulge should be facing relatively up on the Y axis, or down.
center  FVector2
Reference to the output vector, if found.

Return Value

Boolean
True if a match was found. Otherwise, false.

See Also