public interface ILcdCurveConnector
Modifier and Type | Method and Description |
---|---|
void |
connect(ILcdCurve aPreviousCurve,
ILcdCurve aCurveSFCT,
ILcdCurve aNextCurve,
ILcdModelReference aModelReference)
(Re)connects a curve to the given previous and next curve.
|
void connect(ILcdCurve aPreviousCurve, ILcdCurve aCurveSFCT, ILcdCurve aNextCurve, ILcdModelReference aModelReference)
aCurveSFCT
will be modified so that its start point
will coincide with the end point of aPreviousCurve
, and its end point
will coincide with the start point of aNextCurve
.
Either of aPreviousCurve
or aNextCurve
can be null
, but not both.aPreviousCurve
- the previous curve. Will not be changed. Can be null
.aCurveSFCT
- the curve whose start and end point should coincide with
aPreviousCurve
's end point and aNextCurve
's start point, respectivelyaNextCurve
- the next curve. Will not be changed. Can be null
.aModelReference
- the model reference of the given curvesIllegalArgumentException
- if the connector cannot connect the given curves