BezierGetCubicBoundingBox Method
Return the bounding box area for the supplied cubic Bezier curve.
Namespace: GeometryAssembly: Geometry (in Geometry.dll) Version: 25.3011.3729
public static FArea GetCubicBoundingBox(
FVector2 p0,
FVector2 p1,
FVector2 p2,
FVector2 p3,
int sampleCount
)
Public Shared Function GetCubicBoundingBox (
p0 As FVector2,
p1 As FVector2,
p2 As FVector2,
p3 As FVector2,
sampleCount As Integer
) As FArea
No code example is currently available or this language may not be supported.
- 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.
FArea
Reference to the bounding box area of the provided cubic Bezier
curve, if legitimate. Otherwise, an empty rectangle.