public class TLcdLonLatFloatPolypoint extends ALcd2DEditableFloatPolypoint implements ILcd2DEditablePolypoint
ILcd2DEditablePolypoint
in
the geodetic space.
It uses an array of floats instead of a TLcd2DEditablePointList
of ILcd2DEditablePoint
objects. A single array of floats
stores the 2D coordinates. The points are stored as (x,y) pairs.
The boolean indicates whether the last 4 places in the array can be used
to store the bounds of the ILcd2DEditablePolypoint
.
This class is thread-hostile, even for read-only access, since point instances are being reused from an internal pool.
Constructor and Description |
---|
TLcdLonLatFloatPolypoint() |
TLcdLonLatFloatPolypoint(float[] aPoints,
boolean aHasBounds,
boolean aBoundsInitialized,
boolean aClone) |
TLcdLonLatFloatPolypoint(TLcdLonLatFloatPolypoint aLonLatFloatPolypoint) |
Modifier and Type | Method and Description |
---|---|
protected ILcd2DEditableBounds |
createBounds()
Creates an uninitialized
ILcd2DEditableBounds object of a type compatible with the
concrete implementation of this class. |
protected ILcd2DEditablePoint |
createPoint()
Creates an uninitialized
ILcd2DEditablePoint point of a type compatible with the
concrete implementation of this class (geodesic/cartesian). |
calculateBounds, calculateFocusPoint, clone, contains2D, equals, getBounds, getFocusPoint, getPoint, getPointCount, hashCode, insert2DPoint, invalidate, move2D, move2DPoint, removePointAt, translate2D, translate2DPoint
contains3D, move2D
contains2D, contains3D, fromDomainObject
finalize, getClass, notify, notifyAll, toString, wait, wait, wait
move2D, move2D, translate2D
contains2D, contains2D, contains3D, contains3D, getFocusPoint
getBounds
clone
append2DPoint, insert2DPoint, move2DPoint, removePointAt, translate2D, translate2DPoint
getPoint, getPointCount, getPointSFCT, getX, getY, getZ
public TLcdLonLatFloatPolypoint()
public TLcdLonLatFloatPolypoint(float[] aPoints, boolean aHasBounds, boolean aBoundsInitialized, boolean aClone)
public TLcdLonLatFloatPolypoint(TLcdLonLatFloatPolypoint aLonLatFloatPolypoint)
protected ILcd2DEditablePoint createPoint()
ALcd2DEditableFloatPolypoint
ILcd2DEditablePoint
point of a type compatible with the
concrete implementation of this class (geodesic/cartesian). The created point will be
updated and returned by the ALcd2DEditableFloatPolypoint.getPoint(int)
and ALcd2DEditableFloatPolypoint.getFocusPoint()
methods.createPoint
in class ALcd2DEditableFloatPolypoint
protected ILcd2DEditableBounds createBounds()
ALcd2DEditableFloatPolypoint
ILcd2DEditableBounds
object of a type compatible with the
concrete implementation of this class. This bounds object will be updated and returned by the
ALcd2DEditableFloatPolypoint.getBounds()
method.createBounds
in class ALcd2DEditableFloatPolypoint