Interface ILcdPoint

All Superinterfaces:
Cloneable, ILcdBounded, ILcdCloneable, ILcdShape, Serializable
All Known Subinterfaces:
ILcd2DEditablePoint, ILcd2DEditableZonalPoint, ILcd3DEditablePoint, ILcdAerodrome, ILcdAirspaceSegment, ILcdArrestingGear, ILcdDME, ILcdEditableAerodrome, ILcdEditableAirspaceSegment, ILcdEditableArrestingGear, ILcdEditableDME, ILcdEditableGeoPathLeg, ILcdEditableGlidePath, ILcdEditableLocalizer, ILcdEditableLocationBasedService, ILcdEditableMarker, ILcdEditableMilitaryTrainingRoutePoint, ILcdEditableNavaid, ILcdEditableNDB, ILcdEditableObstacle, ILcdEditableParachuteJumpAreaSegment, ILcdEditableRefuelingTrackPoint, ILcdEditableRoutePoint, ILcdEditableRunwayClinePoint, ILcdEditableTACAN, ILcdEditableVFRRoutePoint, ILcdEditableVOR, ILcdEditableWayPoint, ILcdGDFPointFeature, ILcdGeoPathLeg, ILcdGlidePath, ILcdLocalizer, ILcdLocationBasedService, ILcdMarker, ILcdMilitaryTrainingRoutePoint, ILcdNavaid, ILcdNDB, ILcdObstacle, ILcdParachuteJumpAreaSegment, ILcdRefuelingTrackPoint, ILcdRoutePoint, ILcdRunwayClinePoint, ILcdTACAN, ILcdVFRRoutePoint, ILcdVOR, ILcdWayPoint, ILcdZonalPoint
All Known Implementing Classes:
ALcd2DEditablePoint, ALcd3DEditablePoint, ALcdPoint, TLcd2DEditableFeaturedPoint, TLcdAerodrome, TLcdAirspaceSegment, TLcdAISPoint, TLcdAIXM51ElevatedPoint, TLcdAIXM51Point, TLcdArrestingGear, TLcdASDITrack, TLcdASTERIXPlot, TLcdASTERIXTrack, TLcdDME, TLcdDWGPoint, TLcdFeaturedAerodrome, TLcdFeaturedArrestingGear, TLcdFeaturedDME, TLcdFeaturedGlidePath, TLcdFeaturedLocalizer, TLcdFeaturedLocationBasedService, TLcdFeaturedMarker, TLcdFeaturedMilitaryTrainingRoutePoint, TLcdFeaturedNDB, TLcdFeaturedObstacle, TLcdFeaturedRefuelingTrackPoint, TLcdFeaturedRunwayClinePoint, TLcdFeaturedTACAN, TLcdFeaturedVFRRoutePoint, TLcdFeaturedVOR, TLcdFeaturedWayPoint, TLcdGeoPathLeg, TLcdGlidePath, TLcdGML2Point, TLcdGML31DirectPosition, TLcdGML31Point, TLcdGML31Vector, TLcdGML32DirectPosition, TLcdGML32Point, TLcdGML32Vector, TLcdKML22Location, TLcdKML22Point, TLcdLocalizer, TLcdLocationBasedService, TLcdLonLatFloatPoint, TLcdLonLatHeightMPoint, TLcdLonLatHeightPoint, TLcdLonLatMPoint, TLcdLonLatPoint, TLcdLonLatZonalPoint, TLcdMarker, TLcdMeasureXYPoint, TLcdMeasureXYZPoint, TLcdMIFPoint, TLcdMilitaryTrainingRoutePoint, TLcdNDB, TLcdNVG15Point, TLcdNVG15Text, TLcdNVG20Point, TLcdNVG20Text, TLcdObstacle, TLcdParachuteJumpAreaSegment, TLcdRefuelingTrackPoint, TLcdRunwayClinePoint, TLcdS57Node, TLcdS57Point, TLcdS57SoundingPoint, TLcdSHPPointM, TLcdSHPPointZ, TLcdSubPointlistAirspaceSegment, TLcdTACAN, TLcdVFRRoutePoint, TLcdVOR, TLcdWayPoint, TLcdXYFloatPoint, TLcdXYMPoint, TLcdXYPoint, TLcdXYZFloatPoint, TLcdXYZMPoint, TLcdXYZonalPoint, TLcdXYZPoint

public interface ILcdPoint extends ILcdShape
An ILcdPoint is an ILcdShape representing a 3D point. It has three coordinates x, y, and z, which can be read. In addition, this interface provides a series of methods to retrieve trigonometric values of the coordinates.

Note that this interface only provides read methods, and no write methods. This way, efficient read-only implementations can be made, and methods can have read-only parameters and return values, reducing the risk of erroneous side-effects. Writable copies can be constructed using cloneAs2DEditablePoint() and cloneAs3DEditablePoint.

See Also:
  • Method Details

    • getX

      double getX()
      Returns the x coordinate of this ILcdPoint.
      Returns:
      the x coordinate of this ILcdPoint.
    • getY

      double getY()
      Returns the y coordinate of this ILcdPoint.
      Returns:
      the y coordinate of this ILcdPoint.
    • getZ

      double getZ()
      Returns the z coordinate of this ILcdPoint.
      Returns:
      the z coordinate of this ILcdPoint.
    • getCosX

      double getCosX()
      Returns cos( getX() * DEG2RAD ).
      Returns:
      cos( getX() * DEG2RAD ).
    • getCosY

      double getCosY()
      Returns cos( getY() * DEG2RAD ).
      Returns:
      cos( getY() * DEG2RAD ).
    • getSinX

      double getSinX()
      Returns sin( getX() * DEG2RAD ).
      Returns:
      sin( getX() * DEG2RAD ).
    • getSinY

      double getSinY()
      Returns sin( getY() * DEG2RAD ).
      Returns:
      sin( getY() * DEG2RAD ).
    • getTanX

      double getTanX()
      Returns tan( getX() * DEG2RAD ).
      Returns:
      tan( getX() * DEG2RAD ).
    • getTanY

      double getTanY()
      Returns tan( getY() * DEG2RAD ).
      Returns:
      tan( getY() * DEG2RAD ).
    • equals

      boolean equals(Object aObject)
      Checks whether this ILcdPoint is equal to the given Object.
      Overrides:
      equals in class Object
      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.
    • cloneAs2DEditablePoint

      ILcd2DEditablePoint cloneAs2DEditablePoint()
      Returns a copy of this ILcdPoint that is also an ILcd2DEditablePoint. This makes sure that the first two dimensions of the copy are writable,
      Returns:
      a copy of this ILcdPoint that is also an ILcd2DEditablePoint. This makes sure that the first two dimensions of the copy are writable, even if the original ILcdPoint object may be read-only.
      See Also:
    • cloneAs3DEditablePoint

      ILcd3DEditablePoint cloneAs3DEditablePoint()
      Returns a copy of this ILcdPoint that is also an ILcd3DEditablePoint. This makes sure that all three dimensions of the copy are writable,
      Returns:
      a copy of this ILcdPoint that is also an ILcd3DEditablePoint. This makes sure that all three dimensions of the copy are writable, even if the original ILcdPoint object may be read-only.
      See Also: