Class TLcdS57SoundingPoint

All Implemented Interfaces:
ILcdDataObject, ILcdS57FeatureObject, ILcdS57Object, ILcdS57SoundingPoint, ILcdBounded, ILcdBounds, ILcdPoint, ILcdPointList, ILcdPolypoint, ILcdShape, ILcd2DEditablePoint, ILcd2DEditableShape, ILcdCloneable, ILcdFeatured, Serializable, Cloneable

public class TLcdS57SoundingPoint extends TLcdS57Point implements ILcdS57SoundingPoint, Serializable
Represents a Sounding Point feature in the S-57 domain model.

A Sounding Point is a point with an associated depth value, indicating the depth of the seabed at that location.

The point itself is located at Z (height) zero, since the sounding is made from the sea surface.

Since:
11.0
See Also:
  • Constructor Details

    • TLcdS57SoundingPoint

      public TLcdS57SoundingPoint(TLcdS57FeatureObject aFeatureObject, double aLon, double aLat, double aSoundingValue)
      Creates a new Sounding point feature with the specified properties.
      Parameters:
      aFeatureObject - the S-57 feature object describing the object class and attributes of this Sounding Point feature.
      aLon - the longitude coordinate of this Sounding Point feature.
      aLat - the latitude coordinate of this Sounding Point feature.
      aSoundingValue - the sounding (depth) value of this Sounding Point feature.
  • Method Details

    • getSoundingValue

      public double getSoundingValue()
      Description copied from interface: ILcdS57SoundingPoint
      Returns the sounding (depth) value for this S-57 objects.
      Specified by:
      getSoundingValue in interface ILcdS57SoundingPoint
      Returns:
      the sounding (depth) value for this S-57 objects.
    • equals

      public boolean equals(Object o)
      Description copied from class: ALcdPoint
      Returns whether the given object has the same class and the same coordinates.
      Specified by:
      equals in interface ILcdPoint
      Overrides:
      equals in class TLcdS57Point
      Parameters:
      o - 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

      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 TLcdS57Point
    • toString

      public String toString()
      Overrides:
      toString in class TLcdS57Point