Jeospace API

org.jeospace.x3d.geometry
Class EllipticPath

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

public class EllipticPath
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
EllipticPath(OrbitalElements oe)
          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

EllipticPath

public EllipticPath(OrbitalElements oe)
Constructor

Parameters:
oe - the OrbitalElements
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