Package com.luciad.format.s57
Class TLcdS57SoundingPoint
java.lang.Object
com.luciad.shape.ALcdShape
com.luciad.shape.ALcdPoint
com.luciad.shape.shape2D.ALcd2DEditablePoint
com.luciad.format.s57.TLcdS57Point
com.luciad.format.s57.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:
-
Field Summary
Fields inherited from interface com.luciad.format.s57.ILcdS57FeatureObject
AREA, LINE, NONE, POINT
-
Constructor Summary
ConstructorDescriptionTLcdS57SoundingPoint
(TLcdS57FeatureObject aFeatureObject, double aLon, double aLat, double aSoundingValue) Creates a new Sounding point feature with the specified properties. -
Method Summary
Modifier and TypeMethodDescriptionboolean
Returns whether the given object has the same class and the same coordinates.double
Returns the sounding (depth) value for this S-57 objects.int
hashCode()
The hash code of this shape is the hash code of its class, in order to be consistent with theALcdShape.equals(Object)
method.toString()
Methods inherited from class com.luciad.format.s57.TLcdS57Point
canSetFeature, clone, cloneAs2DEditableBounds, cloneAs2DEditablePoint, cloneAs3DEditableBounds, cloneAs3DEditablePoint, getDataType, getFeature, getFeatureCount, getGroup, getIdentifier, getLowestFnctnm, getMaximumDepth, getMinimumDepth, getNode, getRelationship, getRelationshipCount, getShape, getValue, getValue, getX, getY, hasAnyNoSectorLightsAtSameLocation, hasLargerOverlappingLightSectorsAtSameLocation, hasOtherLightsAtSameLocation, hasValue, hasValue, interacts2D, isOnFloatingPlatform, move2D, setAnyNoSectorLightsAtSameLocation, setFeature, setGroup, setIdentifier, setLargerOverlappingLightSectorsAtSameLocation, setLowestFnctnm, setMaximumDepth, setMinimumDepth, setOnFloatingPlatform, setOtherLightsAtSameLocation, setRelationships, setValue, setValue
Methods inherited from class com.luciad.shape.shape2D.ALcd2DEditablePoint
getZ, move2D, translate2D
Methods inherited from class com.luciad.shape.ALcdPoint
contains2D, contains2D, contains2D, contains3D, contains3D, contains3D, getBounds, getCosX, getCosY, getDepth, getFocusPoint, getHeight, getLocation, getMaxX, getMaxY, getMaxZ, getMinX, getMinY, getMinZ, getPoint, getPointCount, getSinX, getSinY, getTanX, getTanY, getWidth, interacts2D, interacts3D, interacts3D, isDefined
Methods inherited from class com.luciad.shape.ALcdShape
contains2D, contains3D, fromDomainObject
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.luciad.shape.ILcdBounded
getBounds
Methods inherited from interface com.luciad.shape.ILcdBounds
getCenter
Methods inherited from interface com.luciad.util.ILcdCloneable
clone
Methods inherited from interface com.luciad.shape.ILcdPoint
getCosX, getCosY, getSinX, getSinY, getTanX, getTanY
Methods inherited from interface com.luciad.shape.ILcdPointList
getPointSFCT, getX, getY, getZ
Methods inherited from interface com.luciad.format.s57.ILcdS57FeatureObject
getGroup, getIdentifier, getRelationship, getRelationshipCount, getShape
Methods inherited from interface com.luciad.shape.ILcdShape
contains2D, contains2D, contains3D, contains3D, getFocusPoint
-
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 interfaceILcdS57SoundingPoint
- Returns:
- the sounding (depth) value for this S-57 objects.
-
equals
Description copied from class:ALcdPoint
Returns whether the given object has the same class and the same coordinates.- Specified by:
equals
in interfaceILcdPoint
- Overrides:
equals
in classTLcdS57Point
- Parameters:
o
- theObject
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 theALcdShape.equals(Object)
method. Extensions should refine this implementation, based on their properties.- Overrides:
hashCode
in classTLcdS57Point
-
toString
- Overrides:
toString
in classTLcdS57Point
-