Class TLcdGeoPathLeg

java.lang.Object
com.luciad.ais.shape.TLcdAISPoint
com.luciad.ais.shape.TLcdGeoPathLeg
All Implemented Interfaces:
ILcdEditableGeoPathLeg, ILcdGeoPathLeg, ILcdBounded, ILcdPoint, ILcdShape, ILcd2DEditablePoint, ILcd2DEditableShape, ILcd3DEditablePoint, ILcd3DEditableShape, ILcdCloneable, Serializable, Cloneable
Direct Known Subclasses:
TLcdAirspaceSegment, TLcdParachuteJumpAreaSegment

public class TLcdGeoPathLeg extends TLcdAISPoint implements ILcdEditableGeoPathLeg
An implementation of the ILcdGeoPathLeg interface. Note that this class extends TLcdAISPoint, and so it is required to set a delegate point implementation using the setLocation() method before using the GeoPath leg object.
See Also:
  • Constructor Details

    • TLcdGeoPathLeg

      public TLcdGeoPathLeg()
    • TLcdGeoPathLeg

      public TLcdGeoPathLeg(int aType)
  • Method Details

    • setData

      public void setData(double[] aData)
      Description copied from interface: ILcdEditableGeoPathLeg
      Sets the parameter list of this GeoPath leg. See the ILcdGeoPathLeg documentation for a description of the contents of this array.
      Specified by:
      setData in interface ILcdEditableGeoPathLeg
      Parameters:
      aData - an array of double double values
    • getType

      public int getType()
      Description copied from interface: ILcdGeoPathLeg
      Returns the type of this GeoPath leg.
      Specified by:
      getType in interface ILcdGeoPathLeg
      Returns:
      one of the constants defined above
    • getDataLength

      public int getDataLength()
      Description copied from interface: ILcdGeoPathLeg
      Returns the number of parameters in the leg's data array. Use getDataSFCT() to obtain the contents of the parameter list.
      Specified by:
      getDataLength in interface ILcdGeoPathLeg
      Returns:
      the length of the leg's parameter list
    • getDataSFCT

      public void getDataSFCT(double[] aDataSFCT)
      Description copied from interface: ILcdGeoPathLeg
      Copies the GeoPath leg's parameter list into the aDataSFCT array. The array must be sufficiently large! Use getDataLength() to determine the required size of the array.
      Specified by:
      getDataSFCT in interface ILcdGeoPathLeg
      Parameters:
      aDataSFCT - will receive the parameter list of this GeoPath leg.
    • getStoredData

      protected double[] getStoredData()
    • clone

      public Object clone()
      Creates and returns a copy of this object.

      The parameter list is cloned.

      Specified by:
      clone in interface ILcdCloneable
      Overrides:
      clone in class TLcdAISPoint
      See Also: