org.kabeja.processing.helper
Class PolylineQueue
java.lang.Object
org.kabeja.processing.helper.PolylineQueue
public class PolylineQueue
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PolylineQueue
public PolylineQueue(DXFEntity e,
Point start,
Point end,
double radius)
size
public int size()
connectDXFEntity
public boolean connectDXFEntity(DXFEntity e,
Point start,
Point end)
- connect a DXF entity if possible.
- Parameters:
e
- start
- end
-
- Returns:
- true if the entity could be connected, otherwise false
getStartPoint
public Point getStartPoint()
getEndPoint
public Point getEndPoint()
getElementIterator
public java.util.Iterator getElementIterator()
connect
public boolean connect(PolylineQueue queue)
createDXFPolyline
public void createDXFPolyline(DXFLayer layer)
reverse
protected void reverse(DXFEntity entity)
reverse
protected void reverse()
insertBefore
public void insertBefore(PolylineQueue queue)
- Insert the PolylineQueue before the first element.
- Parameters:
queue
-
add
public void add(PolylineQueue queue)
- Adds the queue to the end.
- Parameters:
queue
-