public class TLcdXYDynamicSegmentationEvent extends ALcdXYDynamicSegmentationEvent implementsILcd2DEditableDynamicSegmentationEvent, Serializable
TLcdXYDynamicSegmentationEvent
is an implementation of
ILcd2DDynamicSegmentationEvent
.
Be careful: points, shape lists and polylines that are returned are often the same object, setup with different values. These objects are therefore changing all the time, and it is not useful to keep a reference to them.
Two consecutive points of a polyline are guaranteed not to be the same object, if that is also the case for the underlying polylineM.
Modifier and Type | Field and Description |
---|---|
static boolean |
TRACEON
Deprecated.
|
Constructor and Description |
---|
TLcdXYDynamicSegmentationEvent(ILcdShapeList aPolylineShapeList,
double aLocation,
double aLength,
double aDelta)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
Object |
clone()
Deprecated.
Makes
Object.clone() public. |
ILcd2DEditableDynamicSegmentationEvent |
cloneAsEditable()
Deprecated.
|
double |
getCachedBoundsH()
Deprecated.
|
double |
getCachedBoundsW()
Deprecated.
|
double |
getCachedBoundsX()
Deprecated.
|
double |
getCachedBoundsY()
Deprecated.
|
double |
getDelta()
Deprecated.
Get "delta" from location in M-units
|
double |
getLength()
Deprecated.
|
double |
getLocation()
Deprecated.
|
double |
getMaxBoundsValue()
Deprecated.
|
double |
getMinBoundsValue()
Deprecated.
|
ILcdShapeList |
getPolylineM()
Deprecated.
|
void |
setCachedBoundsH(double aCachedBoundsH)
Deprecated.
|
void |
setCachedBoundsW(double aCachedBoundsW)
Deprecated.
|
void |
setCachedBoundsX(double aCachedBoundsX)
Deprecated.
|
void |
setCachedBoundsY(double aCachedBoundsY)
Deprecated.
|
void |
setDelta(double aDelta)
Deprecated.
|
void |
setDeltaKeepEnd(double aDelta)
Deprecated.
|
void |
setLength(double aLength)
Deprecated.
|
void |
setLocation(double aLocation)
Deprecated.
|
void |
setPolylineM(ILcdShapeList aPolylineM)
Deprecated.
|
contains2D, contains2D, contains3D, contains3D, edit, getBeginPoint, getBounds, getEndPoint, getFocusPoint, getHotPointCount, getPointFromBegin, getPointFromEnd, getPosition, getSegment, getShape, getShapeCount, hasPosition, isDirty, recalculateCache, setDirty, toString
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
edit
getBeginPoint, getEndPoint, getHotPointCount, getPointFromBegin, getPointFromEnd, getPosition, getSegment, getShape, getShapeCount, hasPosition
contains2D, contains2D, contains3D, contains3D, getFocusPoint
getBounds
public TLcdXYDynamicSegmentationEvent(ILcdShapeList aPolylineShapeList, double aLocation, double aLength, double aDelta)
public ILcdShapeList getPolylineM()
getPolylineM
in interface ILcd2DDynamicSegmentationEvent
public void setPolylineM(ILcdShapeList aPolylineM)
setPolylineM
in interface ILcd2DEditableDynamicSegmentationEvent
public double getLength()
getLength
in interface ILcd2DDynamicSegmentationEvent
public void setLength(double aLength)
setLength
in interface ILcd2DEditableDynamicSegmentationEvent
public double getLocation()
getLocation
in interface ILcd2DDynamicSegmentationEvent
public void setLocation(double aLocation)
setLocation
in interface ILcd2DEditableDynamicSegmentationEvent
public double getDelta()
ILcd2DDynamicSegmentationEvent
getDelta
in interface ILcd2DDynamicSegmentationEvent
public void setDelta(double aDelta)
setDelta
in interface ILcd2DEditableDynamicSegmentationEvent
public void setDeltaKeepEnd(double aDelta)
setDeltaKeepEnd
in interface ILcd2DEditableDynamicSegmentationEvent
public double getCachedBoundsX()
getCachedBoundsX
in class ALcdXYDynamicSegmentationEvent
public double getCachedBoundsY()
getCachedBoundsY
in class ALcdXYDynamicSegmentationEvent
public double getCachedBoundsW()
getCachedBoundsW
in class ALcdXYDynamicSegmentationEvent
public double getCachedBoundsH()
getCachedBoundsH
in class ALcdXYDynamicSegmentationEvent
public void setCachedBoundsX(double aCachedBoundsX)
setCachedBoundsX
in class ALcdXYDynamicSegmentationEvent
public void setCachedBoundsY(double aCachedBoundsY)
setCachedBoundsY
in class ALcdXYDynamicSegmentationEvent
public void setCachedBoundsW(double aCachedBoundsW)
setCachedBoundsW
in class ALcdXYDynamicSegmentationEvent
public void setCachedBoundsH(double aCachedBoundsH)
setCachedBoundsH
in class ALcdXYDynamicSegmentationEvent
public double getMinBoundsValue()
getMinBoundsValue
in class ALcdXYDynamicSegmentationEvent
public double getMaxBoundsValue()
getMaxBoundsValue
in class ALcdXYDynamicSegmentationEvent
public ILcd2DEditableDynamicSegmentationEvent cloneAsEditable()
cloneAsEditable
in interface ILcd2DDynamicSegmentationEvent
cloneAsEditable
in class ALcdXYDynamicSegmentationEvent
public Object clone()
ILcdCloneable
Makes Object.clone()
public.
java.lang.Object
, it can be implemented like this:
public Object clone() {
try {
return super.clone();
} catch ( CloneNotSupportedException e ) {
// Cannot happen: extends from Object and implements Cloneable (see also Object.clone)
throw new RuntimeException( e );
}
}
clone
in interface ILcdCloneable
clone
in class ALcdXYDynamicSegmentationEvent
Object.clone()