Class TLcdMeasureXYPolygon

All Implemented Interfaces:
ILcdSHPMeasureList, ILcdBounded, ILcdCurve, ILcdPointList, ILcdPointList2, ILcdPolygon, ILcdPolypoint, ILcdRing, ILcdShape, ILcd2DEditablePointList, ILcd2DEditablePolygon, ILcd2DEditablePolypoint, ILcd2DEditableShape, ILcdCache, ILcdCloneable, ILcdInvalidateable, Serializable, Cloneable

public class TLcdMeasureXYPolygon extends TLcdXYPolygon implements ILcdSHPMeasureList
This class represents a TLcdXYPolygon with measure values.
See Also:
  • Constructor Details

    • TLcdMeasureXYPolygon

      public TLcdMeasureXYPolygon(ILcd2DEditablePointList aILcd2DEditablePointList, double[] aM_array)
    • TLcdMeasureXYPolygon

      public TLcdMeasureXYPolygon(TLcdXYPolygon aTLcdXYPolygon, boolean b, double[] aM_array)
  • Method Details

    • setM

      public void setM(int i, double aValue)
    • getM

      public double getM(int i) throws IndexOutOfBoundsException
      Description copied from interface: ILcdSHPMeasureList
      Returns the measure value at an index.
      Specified by:
      getM in interface ILcdSHPMeasureList
      Parameters:
      i - the index of the measure value.
      Returns:
      the measure value at an index.
      Throws:
      IndexOutOfBoundsException - if the index is out of bounds.
    • insert2DPoint

      public void insert2DPoint(int i, double v, double v1)
      Description copied from interface: ILcd2DEditablePointList
      Inserts a point at the given index into this ILcd2DEditablePointList.
      Specified by:
      insert2DPoint in interface ILcd2DEditablePointList
      Overrides:
      insert2DPoint in class TLcdXYPolygon
      Parameters:
      i - a valid new index in the list of points.
      v - the x coordinate of the new point.
      v1 - the y coordinate of the new point.
    • insert2DMeasurePoint

      public void insert2DMeasurePoint(int i, double v, double v1, double m)
    • removePointAt

      public void removePointAt(int i)
      Description copied from interface: ILcd2DEditablePointList
      Removes the point at the given index from this ILcd2DEditablePointList.
      Specified by:
      removePointAt in interface ILcd2DEditablePointList
      Overrides:
      removePointAt in class TLcdXYPolygon
      Parameters:
      i - a valid index in the list of ILcdPoint objects.