Table of Contents

Struct MonotonicCubicBezier

Namespace
Xui.Core.Curves2D
Assembly
Xui.Core.dll

Holds one, two, or three Y-monotonic cubic Bézier segments that together represent the result of splitting a single cubic at its Y-derivative roots.

public readonly struct MonotonicCubicBezier
Inherited Members

Constructors

MonotonicCubicBezier(CubicBezier, CubicBezier?, CubicBezier?)

Initializes the struct with one, two, or three Y-monotonic segments.

public MonotonicCubicBezier(CubicBezier first, CubicBezier? second = null, CubicBezier? third = null)

Parameters

first CubicBezier

The first monotonic segment.

second CubicBezier?

The second monotonic segment, if any.

third CubicBezier?

The third monotonic segment, if any.

Fields

First

The first (and always present) Y-monotonic segment.

public readonly CubicBezier First

Field Value

CubicBezier

Second

The second Y-monotonic segment, or null if the original had at most one Y-extremum.

public readonly CubicBezier? Second

Field Value

CubicBezier?

Third

The third Y-monotonic segment, or null if the original had fewer than two Y-extrema.

public readonly CubicBezier? Third

Field Value

CubicBezier?