BezierGetCubicBoundingBox Method

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

Definition

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

Parameters

p0  FPoint
The starting point.
p1  FPoint
Control point 1.
p2  FPoint
Control point 2.
p3  FPoint
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