public static class BezierUtils.CubicArrayListConsumer extends Object implements CubicSegmentConsumer
| Modifier and Type | Field and Description |
|---|---|
protected ArrayList<CubicCurve2D> |
segs |
| Constructor and Description |
|---|
BezierUtils.CubicArrayListConsumer() |
| Modifier and Type | Method and Description |
|---|---|
void |
processSegment(CubicCurve2D curve,
double startT,
double endT)
The caller passes to the consumer a new segment to be processed.
|
protected ArrayList<CubicCurve2D> segs
public void processSegment(CubicCurve2D curve, double startT, double endT)
CubicSegmentConsumerprocessSegment in interface CubicSegmentConsumercurve - the cubic segmentstartT - the value for parameter to which the segment's start corresponds
on the original curve.endT - the value for parameter to which the segment's finish end corresponds
on the original curve.Copyright © 2016. All rights reserved.