BezierGetCubicBoundingBox Method

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

Definition

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

Parameters

p0  FVector2
The starting point.
p1  FVector2
Control point 1.
p2  FVector2
Control point 2.
p3  FVector2
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 cubic Bezier curve, if legitimate. Otherwise, an empty rectangle.

See Also