- java.lang.Object
-
- spice.basic.GFScalarQuantity
-
- Direct Known Subclasses:
TestGFUserDefinedScalarSearch
public abstract class GFScalarQuantity extends java.lang.Object
Abstract class GFScalarQuantity provides a template for user-defined classes representing scalar functions of time to be used in GF searches.Code Examples
See the examples in
GFUserDefinedScalarSearch
.The numerical results shown for these examples may differ across platforms. The results depend on the SPICE kernels used as input, the compiler and supporting libraries, and the machine specific arithmetic implementation.
Version 1.0.0 30-DEC-2009 (NJB)
-
-
Constructor Summary
Constructors Constructor Description GFScalarQuantity()
-
Method Summary
Modifier and Type Method Description abstract double
getQuantity(double et)
Return the value of a user-defined scalar quantity at a specified time.The time is expressed as seconds past J2000 TDB.abstract boolean
isQuantityDecreasing(double et)
Return a boolean value indicating whether the scalar function represented by getQuantity is decreasing at a specified time.The time is expressed as seconds past J2000 TDB.
-
-
-
Method Detail
-
getQuantity
public abstract double getQuantity(double et) throws SpiceException
Return the value of a user-defined scalar quantity at a specified time.The time is expressed as seconds past J2000 TDB.- Parameters:
et
- double- Returns:
- double
- Throws:
SpiceException
- exception
-
isQuantityDecreasing
public abstract boolean isQuantityDecreasing(double et) throws SpiceException
Return a boolean value indicating whether the scalar function represented by getQuantity is decreasing at a specified time.The time is expressed as seconds past J2000 TDB.- Parameters:
et
- double- Returns:
- boolean
- Throws:
SpiceException
- exception
-
-