Class TLcdCurveConnectorUtil

java.lang.Object
com.luciad.shape.constraints.TLcdCurveConnectorUtil

public class TLcdCurveConnectorUtil extends Object
Utility class for ILcdCurveConnector related tasks.
Since:
9.0
  • Method Details

    • connectCompositeCurve

      public static void connectCompositeCurve(ILcdCompositeCurve aCurve, int aStartCurve, ILcdCurveConnectorProvider aCurveConnectorProvider, ILcdModelReference aModelReference)
      Fully connects the given composite curve, starting from the given index. More specifically, all curves to the left and right of the curve with the given index are connected to each other, starting from the given curve and going towards both ends of the curve. This method is typically used when the curve at the given index has changed.
      Parameters:
      aCurve - the curve to ensure connectivity for
      aStartCurve - the index of the curve to connect the other curves to.
      aCurveConnectorProvider - the connector provider for the individual sub curves
      aModelReference - the model reference of the curve
    • connectCompositeRing

      public static void connectCompositeRing(ILcdCompositeCurve aRing, int aStartCurve, ILcdCurveConnectorProvider aCurveConnectorProvider, ILcdModelReference aModelReference)
      Fully connects the given composite ring, starting from the given index. More specifically, all curves to the left and right of the curve with the given index are connected to each other, starting from the given curve until the ring has been closed. This method is typically used when the curve at the given index has changed.
      Parameters:
      aRing - the ring to ensure connectivity for
      aStartCurve - the index of the curve to start connecting the other curves to
      aCurveConnectorProvider - the connector provider for the individual sub curves
      aModelReference - the model reference of the curve