public class RibbonIterator extends java.lang.Object implements java.util.Iterator<Ribbon>, java.lang.Iterable<Ribbon>
Modifier and Type | Field and Description |
---|---|
protected double |
distance |
protected Geo |
gc |
protected boolean |
hasNext |
protected Geo |
point |
protected double |
radius |
protected Rotation |
rotator |
protected Geo |
v1 |
protected Geo |
v2 |
Constructor and Description |
---|
RibbonIterator(Geo v1,
Geo v2,
double radius)
Return an iterator that returns Ribbons along the great circle between v1
and v2.
|
RibbonIterator(Geo v1,
Geo v2,
double radius,
double rotationIntervalDist)
Return an iterator that returns Ribbons along the great circle between v1
and v2.
|
protected Geo v1
protected Geo v2
protected double radius
protected Geo gc
protected Rotation rotator
protected Geo point
protected double distance
protected boolean hasNext
public RibbonIterator(Geo v1, Geo v2, double radius)
public RibbonIterator(Geo v1, Geo v2, double radius, double rotationIntervalDist)
v1
- from this Geov2
- to this Georadius
- distance away from great circle lines between geos, in
radians.rotationIntervalDist
- interval distance between ribbons, in
radians. You want this to be smaller than the distance between the
geos, obviously.Copyright (C) BBNT Solutions LLC; See http://openmap.bbn.com/ for details