public interface ILcdCurveConnectorProvider extends Serializable, ILcdCloneable
ILcdCurveConnector
to connect
a given ILcdCurve
instance to another ILcdCurve
instance.
As such, a connector provider can be used to ensure the connectivity of ILcdCompositeCurve
instances.TLcdCurveConnectorUtil
Modifier and Type | Method and Description |
---|---|
ILcdCurveConnector |
getCurveConnector(ILcdCurve aPreviousCurve,
ILcdCurve aCurveToConnect,
ILcdCurve aNextCurve)
Finds an
ILcdCurveConnector that can connect a curve
to the given previous and next curves. |
clone
ILcdCurveConnector getCurveConnector(ILcdCurve aPreviousCurve, ILcdCurve aCurveToConnect, ILcdCurve aNextCurve)
ILcdCurveConnector
that can connect a curve
to the given previous and next curves.
Either of aPreviousCurve
or aNextCurve
can be null
, but not both.aPreviousCurve
- the previous curve. Can be null
.aCurveToConnect
- a curve that the returned connector can modify so as to make
the start and end point coincide with
aPreviousCurve
's end point and aNextCurve
's start point,
respectivelyaNextCurve
- the next curve. Can be null
.ILcdCurve
instance,
or null if such a connector could not be foundILcdCurveConnector.connect(com.luciad.shape.ILcdCurve, com.luciad.shape.ILcdCurve, com.luciad.shape.ILcdCurve, com.luciad.model.ILcdModelReference)