com.bbn.openmap.geo
Class RibbonIterator
java.lang.Object
com.bbn.openmap.geo.RibbonIterator
- public class RibbonIterator
- extends java.lang.Object
Iterate along a sequence of Ribbons. A Ribbon is a three Geo set,
with a RIGHT, CENTER and LEFT Geo in the Ribbon. The location of
the LEFT and RIGHT Geo are perpendicular to the great circle path
that the CENTER Geo resides on.
Constructor Summary |
RibbonIterator(Geo v1,
Geo v2,
double radius)
Return an iterator that returns Ribbons along the great circle
between v1 and v2. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
v1
protected Geo v1
v2
protected Geo v2
radius
protected double radius
gc
protected Geo gc
rotator
protected Rotation rotator
point
protected Geo point
distance
protected double distance
hasNext
protected boolean hasNext
RibbonIterator
public RibbonIterator(Geo v1,
Geo v2,
double radius)
- Return an iterator that returns Ribbons along the great circle
between v1 and v2. The Ribbon points are radius radians appart,
and each Ribbon is 2*radius appart.
next
public java.lang.Object next()
hasNext
public boolean hasNext()
remove
public void remove()
Copyright (C) BBNT Solutions LLC; See http://openmap.bbn.com/ for details