public class TLcdXYPolypoint extends ALcd2DEditablePolypoint implements ILcd2DEditablePolypoint, ILcdCache
ILcd2DEditablePolypoint
in
the cartesian 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.
fBounds, fFocusPoint
Constructor and Description |
---|
TLcdXYPolypoint() |
TLcdXYPolypoint(ILcd2DEditablePointList a2DEditablePointList) |
TLcdXYPolypoint(TLcdXYPolypoint aPolypoint,
boolean aDeepCopy)
Makes a clone of the point list that represents the polypoint if it implements
the interface
ILcdCloneable and aDeepCopy is true. |
Modifier and Type | Method and Description |
---|---|
protected void |
calculateBounds()
Computes the bounds of the polypoint.
|
protected void |
calculateFocusPoint()
Computes the focus point as the center of the bounding box.
|
Object |
clone()
Creates and returns a copy of this object.
|
clearCache, contains2D, equals, get2DEditablePointList, getBounds, getCachedObject, getFocusPoint, getPoint, getPointCount, getPointSFCT, getX, getY, getZ, hashCode, insert2DPoint, insertIntoCache, invalidateBounds, invalidateObject, move2D, move2DPoint, removeCachedObject, removePointAt, set2DEditablePointList, setFocusPoint, toString, translate2D, translate2DPoint
contains3D, move2D
contains2D, contains3D, fromDomainObject
finalize, getClass, notify, notifyAll, wait, wait, wait
move2D, move2D, translate2D
contains2D, contains2D, contains3D, contains3D, getFocusPoint
getBounds
append2DPoint, insert2DPoint, move2DPoint, removePointAt, translate2D, translate2DPoint
getPoint, getPointCount, getPointSFCT, getX, getY, getZ
clearCache, getCachedObject, insertIntoCache, removeCachedObject
public TLcdXYPolypoint()
public TLcdXYPolypoint(ILcd2DEditablePointList a2DEditablePointList)
public TLcdXYPolypoint(TLcdXYPolypoint aPolypoint, boolean aDeepCopy)
ILcdCloneable
and aDeepCopy
is true.
#see com.luciad.util.ILcdCloneableprotected void calculateBounds()
ALcd2DEditablePolypoint
fBounds
.calculateBounds
in class ALcd2DEditablePolypoint
protected void calculateFocusPoint()
ALcd2DEditablePolypoint
fFocusPoint
.calculateFocusPoint
in class ALcd2DEditablePolypoint
public Object clone()
clone
in interface ILcdCloneable
clone
in class ALcd2DEditablePolypoint
Object.clone()