Class TLcdLonLatHeightPolypoint

All Implemented Interfaces:
ILcdBounded, ILcdPointList, ILcdPointList2, ILcdPolypoint, ILcdShape, ILcd2DEditablePointList, ILcd2DEditablePolypoint, ILcd2DEditableShape, ILcd3DEditablePointList, ILcd3DEditablePolypoint, ILcd3DEditableShape, ILcdCache, ILcdCloneable, Serializable, Cloneable
Direct Known Subclasses:
TLcdLonLatHeightMPolypoint, TLcdLonLatHeightPolygon, TLcdLonLatHeightPolyline

public class TLcdLonLatHeightPolypoint extends ALcd3DEditablePolypoint implements ILcd3DEditablePolypoint, ILcdCache, Cloneable
This class provides an implementation of ILcd3DEditablePolypoint in the geodetic 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.

Note that the ILcd3DEditablePointList representing the actual geometry should provide geodetic points (TLcdLonLatHeightPoint), not cartesian (TLcdXYZPoint).

See Also:
  • Constructor Details

    • TLcdLonLatHeightPolypoint

      public TLcdLonLatHeightPolypoint()
      Creates a new, empty poly-point.
    • TLcdLonLatHeightPolypoint

      public TLcdLonLatHeightPolypoint(ILcd3DEditablePointList a3DEditablePointList)
      Creates a new poly-point backed by the given pointlist.
      • The point list and the points therein are not copied, and can be modified by this object
      • The point list should contain TLcdLonLatPoints
      Parameters:
      a3DEditablePointList - the initial points
    • TLcdLonLatHeightPolypoint

      public TLcdLonLatHeightPolypoint(TLcdLonLatHeightPolypoint aPolypoint, boolean aDeepCopy)
      Creates a poly-point based on another poly-point.
      • When aDeepCopy is true, and the given polypoint has a cloneable pointlist (see ILcdCloneable, for example TLcd2DEditablePointList), the underlying points will be cloned.
      • Otherwise, the underlying polypoint is re-used by the new object, and updates affect both objects.
      Parameters:
      aPolypoint - The object to copy
      aDeepCopy - whether to make a copy of the points, if possible
    • TLcdLonLatHeightPolypoint

      public TLcdLonLatHeightPolypoint(TLcdLonLatHeightPolypoint aLonLatHeightPolypoint)
      Creates copy of another poly-point.
      • The new polypoint is a deep copy of the given object, and updates do not affect each-other.
      Parameters:
      aLonLatHeightPolypoint - The object to copy
  • Method Details