com.partnersoft.v3x.geometry.single
Class PolylineFollower
java.lang.Object
com.partnersoft.v3x.geometry.single.PolylineFollower
public class PolylineFollower
- extends java.lang.Object
Allows you to trace a polyline by advancing along its course - each advance
sets public x, y and angle variables for your use.
|
Method Summary |
void |
advance(double distance)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
polyline
public Polyline polyline
x
public float x
y
public float y
angle
public float angle
currentSegment
public int currentSegment
numSegments
public int numSegments
currentRemainingLength
public float currentRemainingLength
segmentStartX
public float segmentStartX
segmentStartY
public float segmentStartY
segmentEndX
public float segmentEndX
segmentEndY
public float segmentEndY
length
public float length
PolylineFollower
public PolylineFollower(Polyline polly)
advance
public void advance(double distance)