org.geotools.openoffice
Interface XNature

All Superinterfaces:
com.sun.star.uno.XInterface
All Known Implementing Classes:
Nature

public interface XNature
extends com.sun.star.uno.XInterface

Services from the org.geotools.nature package to be exported to OpenOffice. This interface is derived from the file using the tool provided in OpenOffice SDK, and disassembling the output using the tool provided in Java SDK. This source file exists mostly for javadoc purpose and in order to keep IDE happy. The file compiled from this source file MUST be overwritten by the file generated by .

Since:
2.2
Version:
$Id: XNature.java 17661 2006-01-18 07:55:11Z desruisseaux $
Author:
Martin Desruisseaux

Method Summary
 double getAzimuth(com.sun.star.beans.XPropertySet xOptions, double latitude, double longitude, double time)
          Returns the Sun's azimuth in degrees.
 double getElevation(com.sun.star.beans.XPropertySet xOptions, double latitude, double longitude, double time)
          Returns the Sun's elevation angle in degrees.
 double getNoonTime(com.sun.star.beans.XPropertySet xOptions, double latitude, double longitude, double time)
          Returns the noon time (in GMT) when the Sun reach its highest point.
 double getSeaWaterDensity(com.sun.star.beans.XPropertySet xOptions, double salinity, double temperature, double pressure)
          Computes sea water density as a function of salinity, temperature and pressure.
 double getSeaWaterMeltingPoint(com.sun.star.beans.XPropertySet xOptions, double salinity, double pressure)
          Computes the fusion temperature (melting point) as a function of salinity and pressure.
 double getSeaWaterSaturationO2(com.sun.star.beans.XPropertySet xOptions, double salinity, double temperature)
          Computes the saturation in disolved oxygen (?mol/kg) as a function of salinity and temperature.
 double getSeaWaterSoundVelocity(com.sun.star.beans.XPropertySet xOptions, double salinity, double temperature, double pressure)
          Computes the sound velocity in sea water as a function of salinity, temperature and pressure.
 double getSynodicMonthLength(com.sun.star.beans.XPropertySet xOptions, double time)
          Returns the synodic month length in days.
 double getTropicalYearLength(com.sun.star.beans.XPropertySet xOptions, double time)
          Returns the tropical year length in days.
 

Method Detail

getNoonTime

public double getNoonTime(com.sun.star.beans.XPropertySet xOptions,
                          double latitude,
                          double longitude,
                          double time)
Returns the noon time (in GMT) when the Sun reach its highest point.

Parameters:
xOptions - Provided by OpenOffice.
latitude - The latitude of observation point, in degrees.
longitude - The longitude of observation point, in degrees.
time - The observation date.

getElevation

public double getElevation(com.sun.star.beans.XPropertySet xOptions,
                           double latitude,
                           double longitude,
                           double time)
Returns the Sun's elevation angle in degrees.

Parameters:
xOptions - Provided by OpenOffice.
latitude - The latitude of observation point, in degrees.
longitude - The longitude of observation point, in degrees.
time - The observation date and time, in GMT.

getAzimuth

public double getAzimuth(com.sun.star.beans.XPropertySet xOptions,
                         double latitude,
                         double longitude,
                         double time)
Returns the Sun's azimuth in degrees.

Parameters:
xOptions - Provided by OpenOffice.
latitude - The latitude of observation point, in degrees.
longitude - The longitude of observation point, in degrees.
time - The observation date and time, in GMT.

getTropicalYearLength

public double getTropicalYearLength(com.sun.star.beans.XPropertySet xOptions,
                                    double time)
Returns the tropical year length in days.

Parameters:
xOptions - Provided by OpenOffice.
time - A date that contains the year.

getSynodicMonthLength

public double getSynodicMonthLength(com.sun.star.beans.XPropertySet xOptions,
                                    double time)
Returns the synodic month length in days.

Parameters:
xOptions - Provided by OpenOffice.
time - A date that contains the month.

getSeaWaterDensity

public double getSeaWaterDensity(com.sun.star.beans.XPropertySet xOptions,
                                 double salinity,
                                 double temperature,
                                 double pressure)
Computes sea water density as a function of salinity, temperature and pressure.

Parameters:
salinity - Salinity PSS-78 (0 to 42).
temperature - Temperature ITS-68 (-2 to 40?C).
pressure - Pressure in decibars (0 to 105 dbar), not including atmospheric pressure.
Returns:
Density (kg/m?).

getSeaWaterMeltingPoint

public double getSeaWaterMeltingPoint(com.sun.star.beans.XPropertySet xOptions,
                                      double salinity,
                                      double pressure)
Computes the fusion temperature (melting point) as a function of salinity and pressure.

Parameters:
salinity - Salinity PSS-78.
pressure - Pressure in decibars, not including atmospheric pressure.

getSeaWaterSoundVelocity

public double getSeaWaterSoundVelocity(com.sun.star.beans.XPropertySet xOptions,
                                       double salinity,
                                       double temperature,
                                       double pressure)
Computes the sound velocity in sea water as a function of salinity, temperature and pressure.

Parameters:
salinity - Salinity PSS-78.
temperature - Temperature ITS-68.
pressure - Pressure in decibars, not including atmospheric pressure.

getSeaWaterSaturationO2

public double getSeaWaterSaturationO2(com.sun.star.beans.XPropertySet xOptions,
                                      double salinity,
                                      double temperature)
Computes the saturation in disolved oxygen (?mol/kg) as a function of salinity and temperature.

Parameters:
salinity - Salinity PSS-78.
temperature - Temperature ITS-68.


Copyright © GeoTools. All Rights Reserved.