Table of Contents

Namespace Xui.Core.Curves2D

Classes

Bezier

Static helper methods for constructing Bézier curves.

Spline

Provides factory methods for creating spline segments of various degrees.

Structs

Arc

Represents a circular or elliptical arc defined by a center point, radii, rotation, and sweep angles.

Arc3Point

Represents a circular arc defined by three points: start, mid (on-curve), and end.

ArcEndpoint

Represents a circular or elliptical arc defined by radii, rotation, and endpoint parameters.

CubicBezier

Represents a cubic Bézier curve defined by four control points.

CubicBezier.SubcurveNode
CubicSpline

Represents a 4-point spline segment using Catmull–Rom interpolation. The curve interpolates smoothly between P1 and P2.

LinearBezier

Represents a linear Bézier curve, equivalent to a straight line between two points.

LinearSpline

Represents a linear spline segment between two points.

MonotonicArc3Point

Represents one or two Arc3Point segments that are each monotonic in the Y direction.

MonotonicCubicBezier
MonotonicQuadraticBezier
QuadraticBezier

Represents a quadratic Bézier curve defined by three control points.

QuadraticSpline

Represents a 3-point quadratic spline segment (parabolic arc) defined by a start point, control point, and end point.

Segment

Represents a straight line segment from P0 to P1. Implements the ICurve interface for compatibility with other curve types.

Interfaces

ICurve

Represents a common interface for evaluable 2D curves.