Jeospace API

org.jeospace.x3d.geometry
Class EarthEllipticPath

java.lang.Object
  extended byorg.jeospace.x3d.geometry.EarthEllipticPath
All Implemented Interfaces:
CoordinateDataSource, ILSDataSource

public class EarthEllipticPath
extends java.lang.Object
implements ILSDataSource

Generate the data for creating an X3D IndexedLineSet of an Ellipse as described by a set of OrbitalElements.

Version:
$Revision: 1.1.1.1 $
Author:
Rex Melton

Constructor Summary
EarthEllipticPath(OrbitalElements oe, double julianDay)
          Constructor
 
Method Summary
 float[][] getCoordinatePoints()
          Return the coordinate points of the line set.
 int[] getLineCoordinateIndices()
          Return the indices of the coordinate points of the line set.
 Length getScale()
          Return the scale to which the coordinate points are calculated.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EarthEllipticPath

public EarthEllipticPath(OrbitalElements oe,
                         double julianDay)
Constructor

Parameters:
oe - the OrbitalElements
julianDay - the Julian Day for which to calculate the orbital path
Method Detail

getCoordinatePoints

public float[][] getCoordinatePoints()
Return the coordinate points of the line set.

Specified by:
getCoordinatePoints in interface CoordinateDataSource
Returns:
the coordinate points of the line set.

getLineCoordinateIndices

public int[] getLineCoordinateIndices()
Return the indices of the coordinate points of the line set.

Specified by:
getLineCoordinateIndices in interface ILSDataSource
Returns:
the indices of the coordinate points of the line set.

getScale

public Length getScale()
Return the scale to which the coordinate points are calculated.

Specified by:
getScale in interface CoordinateDataSource
Returns:
the scale to which the coordinate points are calculated.

Jeospace API

Copyright © 2006 - jeospace.org