Package com.luciad.shape.constraints
Class TLcd2DPointListConnector
java.lang.Object
com.luciad.shape.constraints.TLcd2DPointListConnector
- All Implemented Interfaces:
ILcdCurveConnector
Curve connector for
ILcd2DEditablePointList
.
The current implementation only adapts the start or end point of the point list.
Note that this behavior may change in the future.- Since:
- 9.0
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
connect
(ILcdCurve aPreviousCurve, ILcdCurve aCurveSFCT, ILcdCurve aNextCurve, ILcdModelReference aModelReference) (Re)connects a curve to the given previous and next curve.
-
Constructor Details
-
TLcd2DPointListConnector
public TLcd2DPointListConnector()
-
-
Method Details
-
connect
public void connect(ILcdCurve aPreviousCurve, ILcdCurve aCurveSFCT, ILcdCurve aNextCurve, ILcdModelReference aModelReference) (Re)connects a curve to the given previous and next curve. In other words,aCurveSFCT
will be modified so that its start point will coincide with the end point ofaPreviousCurve
, and its end point will coincide with the start point ofaNextCurve
. Either ofaPreviousCurve
oraNextCurve
can benull
, but not both.The current implementation only adapts the start and end of the point list. This behavior may change in the future.
- Specified by:
connect
in interfaceILcdCurveConnector
- Parameters:
aPreviousCurve
- the curve whose end point should be connected toaCurveSFCT
- the point list whose start point and end point should be connectedaNextCurve
- the curve whose start point should be connected toaModelReference
- the model reference of the given curves
-