Example #1
0
  protected List<Position> computePathPositions(
      Position startPosition, Position endPosition, Angle delta) {
    Angle dist = LatLon.greatCircleDistance(startPosition, endPosition);
    dist = dist.multiply(0.6);

    Angle azimuth = LatLon.greatCircleAzimuth(startPosition, endPosition);

    LatLon locA = LatLon.greatCircleEndPosition(startPosition, azimuth.add(delta), dist);

    dist = dist.multiply(0.9);
    LatLon locB = LatLon.greatCircleEndPosition(startPosition, azimuth.subtract(delta), dist);

    return Arrays.asList(startPosition, new Position(locA, 0), new Position(locB, 0), endPosition);
  }
 /** {@inheritDoc} */
 public Iterable<? extends Position> getPositions() {
   return Arrays.asList(new Position(this.quad.getCenter(), 0));
 }
Example #3
0
 /**
  * Indicates the graphics supported by this class.
  *
  * @return List of masked SIDC strings that identify graphics that this class supports.
  */
 public static List<String> getSupportedGraphics() {
   return Arrays.asList(TacGrpSidc.C2GM_GNL_ARS_SRHARA);
 }
Example #4
0
 /** {@inheritDoc} */
 public Iterable<? extends Position> getPositions() {
   return Arrays.asList(this.position1, this.position2, this.position3);
 }