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
ConstructorsConstructorDescriptionTLcdS57SoundingPoint(TLcdS57FeatureObject aFeatureObject, double aLon, double aLat, double aSoundingValue) Creates a new Sounding point feature with the specified properties. -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturns whether the given object has the same class and the same coordinates.doubleReturns the sounding (depth) value for this S-57 objects.inthashCode()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, setValueMethods inherited from class com.luciad.shape.shape2D.ALcd2DEditablePoint
getZ, move2D, translate2DMethods 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, isDefinedMethods inherited from class com.luciad.shape.ALcdShape
contains2D, contains3D, fromDomainObjectMethods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.luciad.shape.ILcdBounded
getBoundsMethods inherited from interface com.luciad.shape.ILcdBounds
getCenterMethods inherited from interface com.luciad.util.ILcdCloneable
cloneMethods inherited from interface com.luciad.shape.ILcdPoint
getCosX, getCosY, getSinX, getSinY, getTanX, getTanYMethods inherited from interface com.luciad.shape.ILcdPointList
getPointSFCT, getX, getY, getZMethods inherited from interface com.luciad.format.s57.ILcdS57FeatureObject
getGroup, getIdentifier, getRelationship, getRelationshipCount, getShapeMethods 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:ILcdS57SoundingPointReturns the sounding (depth) value for this S-57 objects.- Specified by:
getSoundingValuein interfaceILcdS57SoundingPoint- Returns:
- the sounding (depth) value for this S-57 objects.
-
equals
Description copied from class:ALcdPointReturns whether the given object has the same class and the same coordinates.- Specified by:
equalsin interfaceILcdPoint- Overrides:
equalsin classTLcdS57Point- Parameters:
o- theObjectto 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:ALcdShapeThe 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:
hashCodein classTLcdS57Point
-
toString
- Overrides:
toStringin classTLcdS57Point
-