public class TLcdCircularArcByCenterPointConnector extends Object implements ILcdCurveConnector
ILcd2DEditableCircularArcByCenterPoint
.
The current implementation adapts the center, start angle and arc angle,
retaining the bulge.
Note that this behavior may change in the future.Constructor and Description |
---|
TLcdCircularArcByCenterPointConnector() |
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.
|
public TLcdCircularArcByCenterPointConnector()
public 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.
The current implementation adapts the center, start angle and arc angle, retaining the bulge. This behavior may change in the future.
connect
in interface ILcdCurveConnector
aCurveSFCT
- the arc whose start point and end point should be connectedaModelReference
- the model reference of the given curvesaPreviousCurve
- the previous curve. Will not be changed. Can be null
.aNextCurve
- the next curve. Will not be changed. Can be null
.