RegionSegment

References
public readonly struct RegionSegment
One piece of a rolling-ball region boundary: a trimmed input curve or a fillet arc.

Properties

Fillet

#
public Arc Fillet { get; }
The fillet arc, unset for an original piece.

Geometry

#
public Curve Geometry { get; }
The curve of this segment; a trimmed input curve or an arc.

IsFillet

#
public bool IsFillet { get; }
Whether this segment is an arc swept by the ball rather than part of an input curve.

SourceCurve

#
public int SourceCurve { get; }
Index of the input curve this segment was cut from (outer boundary first, then its holes), or -1 for a fillet.

SourceDomain

#
public Interval SourceDomain { get; }
Parameter interval of the input curve this segment covers, unset for a fillet.

TouchesA

#
public int TouchesA { get; }
Index of the input curve the ball touches at the start of a fillet.

TouchesB

#
public int TouchesB { get; }
Index of the input curve the ball touches at the end of a fillet.