public class TLcdCompositeCurveConnector extends java.lang.Object implements ILcdCurveConnector
ILcdCompositeCurve. The current implementation connects the first or last sub curve of the composite curve, making use of a
ILcdCurveConnectorProvider. Note that this behavior may change in the future.
|Constructor and Description|
Creates a new curve connector for composite curves, using the given connector provider to connect the subcurves.
|Modifier and Type||Method and Description|
(Re)connects a curve to the given previous and next curve.
Returns the curve connector provider that is used to connect the sub curves of the composite curves.
public TLcdCompositeCurveConnector(ILcdCurveConnectorProvider aCurveConnectorProvider)
aCurveConnectorProvider- the connector provider to use
public ILcdCurveConnectorProvider getCurveConnectorProvider()
public void connect(ILcdCurve aPreviousCurve, ILcdCurve aCurveSFCT, ILcdCurve aNextCurve, ILcdModelReference aModelReference)
aCurveSFCTwill 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
null, but not both.
This implementation connects the first and last sub curve of the composite curve to
This behavior may change in the future.
aCurveSFCT- the composite curve whose start point and end point should be connected
aModelReference- the model reference of the given curves
aPreviousCurve- the previous curve. Will not be changed. Can be
aNextCurve- the next curve. Will not be changed. Can be