Class TLcdXYZonalPoint

All Implemented Interfaces:
ILcdBounded, ILcdBounds, ILcdPoint, ILcdPointList, ILcdPolypoint, ILcdShape, ILcdZonalPoint, ILcd2DEditablePoint, ILcd2DEditableShape, ILcd2DEditableZonalPoint, ILcdCloneable, Serializable, Cloneable

public class TLcdXYZonalPoint extends TLcdXYPoint implements ILcd2DEditableZonalPoint
This class provides an implementation of ILcd2DEditableZonalPoint in the cartesian space.

This class is thread-safe for concurrent read-only access of its contents. For read-write access, external locking must be used. Such locking is typically done at the model level.

See Also:
  • Constructor Details Link icon

    • TLcdXYZonalPoint Link icon

      public TLcdXYZonalPoint()
    • TLcdXYZonalPoint Link icon

      public TLcdXYZonalPoint(double aX, double aY, int aZone)
    • TLcdXYZonalPoint Link icon

      public TLcdXYZonalPoint(ILcd2DEditablePoint a2DEditablePoint, int aZone)
    • TLcdXYZonalPoint Link icon

      public TLcdXYZonalPoint(ILcd2DEditableZonalPoint a2DEditableZonalPoint)
  • Method Details Link icon

    • getZone Link icon

      public final int getZone()
      Description copied from interface: ILcdZonalPoint
      Returns the zone of this ILcdZonal2DEditablePoint.
      Specified by:
      getZone in interface ILcdZonalPoint
      Returns:
      the zone of this ILcdZonal2DEditablePoint.
    • setZone Link icon

      public void setZone(int aZone)
      Description copied from interface: ILcd2DEditableZonalPoint
      Sets the zone of this ILcdZonal2DEditablePoint.
      Specified by:
      setZone in interface ILcd2DEditableZonalPoint
      Parameters:
      aZone - the new zone of this point.
    • equals Link icon

      public boolean equals(Object aObject)
      Returns whether the given object has the same class, the same coordinates, and the same zone.
      Specified by:
      equals in interface ILcdPoint
      Overrides:
      equals in class ALcdPoint
      Parameters:
      aObject - the Object to compare to.
      Returns:
      false if aObject is an ILcdPoint object with different 3D coordinates or the object is not an ILcdPoint. If the objects do have the same 3D coordinates, the return value is defined by the specific implementations of ILcdPoint and may still be false.
    • hashCode Link icon

      public int hashCode()
      Description copied from class: ALcdShape
      The hash code of this shape is the hash code of its class, in order to be consistent with the ALcdShape.equals(Object) method. Extensions should refine this implementation, based on their properties.
      Overrides:
      hashCode in class ALcdPoint
    • toString Link icon

      public String toString()
      Overrides:
      toString in class ALcd2DEditablePoint