public interface CubicSegmentConsumer
java.awt.geom.CubicCurve2D segments resulted from
subdivisions (see
BezierUtils.adaptiveHalving(CubicCurve2D, CubicSubdivisionCriterion, CubicSegmentConsumer)).| Modifier and Type | Method and Description |
|---|---|
void |
processSegment(CubicCurve2D segment,
double startT,
double endT)
The caller passes to the consumer a new segment to be processed.
|
void processSegment(CubicCurve2D segment, double startT, double endT)
segment - 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.