VR-Link JAVA API Documentation
 All Classes Namespaces Files Functions Variables Enumerator Pages
List of all members | Public Member Functions | Static Public Attributes | Private Attributes
com.mak.vrlj.coord.Spheroid Class Reference

Description of a spheroid shape by semiMinor and semiMajor axis measurements. More...

+ Collaboration diagram for com.mak.vrlj.coord.Spheroid:

Public Member Functions

 Spheroid (double semiMajor, double semiMinor)
 Construct from primitives. More...
 
boolean equals (Object obj)
 
double getSemiMajor ()
 Get the span of the spheroid along its semi-major axis. More...
 
double getSemiMinor ()
 Get the span of the spheroid along its semi-minor axis. More...
 
int hashCode ()
 
String toString ()
 

Static Public Attributes

static final Spheroid WGS84 = new Spheroid(6378137.0, 6356752.3142)
 WGS84 spheroid. More...
 
static final Spheroid International = new Spheroid(6378388.0, 6356911.946127)
 International spheroid. More...
 
static final Spheroid Clark1866 = new Spheroid(6378206.4, 6356583.8)
 Clark 1866 spheroid. More...
 

Private Attributes

final double mySemiMajor
 Semimajor axis of the ellipsoid, in meters. More...
 
final double mySemiMinor
 Semiminor axis of the ellipsoid, in meters. More...
 

Detailed Description

Description of a spheroid shape by semiMinor and semiMajor axis measurements.

Constructor & Destructor Documentation

com.mak.vrlj.coord.Spheroid.Spheroid ( double  semiMajor,
double  semiMinor 
)
inline

Construct from primitives.

Parameters
semiMajorlength of the semi-major ellipse axis in meters.
semiMinorlength of the semi-minor ellipse axis in meters.

References com.mak.vrlj.coord.Spheroid.mySemiMajor, and com.mak.vrlj.coord.Spheroid.mySemiMinor.

Referenced by com.mak.vrlj.coord.Spheroid.equals().

Member Function Documentation

boolean com.mak.vrlj.coord.Spheroid.equals ( Object  obj)
inline
double com.mak.vrlj.coord.Spheroid.getSemiMajor ( )
inline

Get the span of the spheroid along its semi-major axis.

Returns
the span of the spheroid along its semi-major axis, in meters.

References com.mak.vrlj.coord.Spheroid.mySemiMajor.

double com.mak.vrlj.coord.Spheroid.getSemiMinor ( )
inline

Get the span of the spheroid along its semi-minor axis.

Returns
the span of the spheroid along its semi-minor axis, in meters.

References com.mak.vrlj.coord.Spheroid.mySemiMinor.

int com.mak.vrlj.coord.Spheroid.hashCode ( )
inline
String com.mak.vrlj.coord.Spheroid.toString ( )
inline

Member Data Documentation

final Spheroid com.mak.vrlj.coord.Spheroid.Clark1866 = new Spheroid(6378206.4, 6356583.8)
static

Clark 1866 spheroid.

final Spheroid com.mak.vrlj.coord.Spheroid.International = new Spheroid(6378388.0, 6356911.946127)
static

International spheroid.

final double com.mak.vrlj.coord.Spheroid.mySemiMajor
private
final double com.mak.vrlj.coord.Spheroid.mySemiMinor
private
final Spheroid com.mak.vrlj.coord.Spheroid.WGS84 = new Spheroid(6378137.0, 6356752.3142)
static

WGS84 spheroid.


The documentation for this class was generated from the following file:

Document ID: Generated on Wed Mar 27 02:04:30 EDT 2024 from SVN revision 264570
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)