Class Viewer.Paint.InterpolatedObject
All Packages Class Hierarchy This Package Previous Next Index
Class Viewer.Paint.InterpolatedObject
Object
|
+----PaintObject
|
+----Viewer.Paint.InterpolatedObject
- public class InterpolatedObject
- extends PaintObject
This class contains methods for creating an interpolated polyline.
We use bezier curves to interpolate. This class is not ready yet. We have only
implemented the needed functionality.
These objects can be display or image relative.
- Author:
- Klaus Kleber
- Since:
- 30.04.1999
- See Also:
- PaintObject
-
Viewer.Paint.InterpolatedObject()
- Constructs a new object.
-
Viewer.Paint.InterpolatedObject(boolean, boolean, boolean)
- Constucts a new object with the specified parameter.
-
Viewer.Paint.InterpolatedObject(InterpolatedObject)
- Constucts a new object form the specified parameter
-
copy()
- Returns a real copy of the InterpolatedObject.
-
drawShape(Graphics2D)
- Gets the Shape of the InterpolatedObject.
-
getMovePaintObject(Point2D. Float)
- Returns the part of the InterpolatedObject which should be redraw if the Circle2DObject will be created.
-
getNewPaintObject()
- Returns new InterpolatedObject with the same properties as the current object.
-
getShape()
- Gets the Shape of the InterpolatedObject.
-
setNewPoint(Point2D. Float)
- Insert a new point to the objectPoints.
InterpolatedObject
public InterpolatedObject()
- Constructs a new object.
- Since:
- 30.04.1999
InterpolatedObject
public InterpolatedObject(boolean filled,
boolean isDisplayRelative,
boolean isShutter)
- Constucts a new object with the specified parameter.
- Parameters:
- filled - true if the object should be filled
- isDisplayRelative - true if the object should be display relative.
- isShutter - true if the object should be a shutter.
- Since:
- 30.04.1999
InterpolatedObject
public InterpolatedObject(InterpolatedObject anInterpolatedObject)
- Constucts a new object form the specified parameter
- Parameters:
- anInterpolatedObject - Costructor copies the specified object.
- isDisplayRelative - true if the object should be display relative.
- isShutter - true if the object should be a shutter.
- Since:
- 30.04.1999
copy
public Viewer.Paint.PaintObject copy()
- Returns a real copy of the InterpolatedObject.
- Returns:
- a real copy of this InterpolatedObject.
- Overrides:
- copy in class PaintObject
- Since:
- 30.04.1999
drawShape
public void drawShape(Graphics2D g)
- Gets the Shape of the InterpolatedObject.
- Returns:
- The Shape of the InterpolatedObject.
- Overrides:
- drawShape in class PaintObject
- Since:
- 30.04.1999
getMovePaintObject
public Viewer.Paint.PaintObject getMovePaintObject(Point2D.Float nextPoint)
- Returns the part of the InterpolatedObject which should be redraw if the Circle2DObject will be created.
- Parameters:
- nextPoint - The next drawing Point.
- Returns:
- The part of the PaintObject which should be redraw.
- Overrides:
- getMovePaintObject in class PaintObject
- See Also:
- getMovePaintObject
getNewPaintObject
public Viewer.Paint.PaintObject getNewPaintObject()
- Returns new InterpolatedObject with the same properties as the current object.
- Returns:
- A new InterpolatedObject with the same properties.
- Overrides:
- getNewPaintObject in class PaintObject
- Since:
- 30.04.1999
getShape
public java.awt.Shape getShape()
- Gets the Shape of the InterpolatedObject.
- Returns:
- The Shape of the InterpolatedObject
- Overrides:
- getShape in class PaintObject
- Since:
- 30.04.1999
setNewPoint
public void setNewPoint(Point2D.Float newPoint)
- Insert a new point to the objectPoints.
- Parameters:
- The - new point of the InterpolatedObject
- Overrides:
- setNewPoint in class PaintObject
- Since:
- 30.04.1999
All Packages Class Hierarchy This Package Previous Next Index