BezierGetQuadraticBoundingBox Method

Return the bounding box area for the supplied quadratic Bezier curve.

Definition

Namespace: Geometry
Assembly: Geometry (in Geometry.dll) Version: 25.2820.4317
C#
public static FArea GetQuadraticBoundingBox(
	FVector2 p0,
	FVector2 p1,
	FVector2 p2,
	int sampleCount
)

Parameters

p0  FVector2
The starting point.
p1  FVector2
Control point 1.
p2  FVector2
Reference to the ending point.
sampleCount  Int32
Count of samples to take when generating the discrete curve edge.

Return Value

FArea
Reference to the bounding box area of the provided quadratic Bezier curve, if legitimate. Otherwise, an empty rectangle.

See Also