Jeospace API

org.jeospace.x3d.geometry
Class SphericalLatitude

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

public class SphericalLatitude
extends java.lang.Object
implements ILSDataSource

Generate the data for creating an X3D IndexedLineSet of a line of latitude about a sphere.

Version:
$Revision: 1.1.1.1 $
Author:
Rex Melton

Constructor Summary
SphericalLatitude(Latitude latitude)
          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

SphericalLatitude

public SphericalLatitude(Latitude latitude)
Constructor

Parameters:
latitude - the Latitude for which to calculate the line points
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