public final class ReadDoublePrecisionDAF extends Object
This class is based on the dafwrd.for file of the SPICE library
| Modifier and Type | Field and Description |
|---|---|
static int |
BYTES_DOUBLE
Number of bytes that represent a double precision number.
|
static String |
READ_ACCESS
Reading access identifier.
|
| Modifier and Type | Method and Description |
|---|---|
static double[] |
getContentSummaryRecord(int handle,
int record,
int begin,
int end,
boolean[] found)
Read a portion of the contents of a summary record in a DAF file.
|
static double[] |
readContentDPRecord(int handle,
int record,
int begin,
int end,
boolean[] found)
Read a portion of the contents of a double precision record in a DAF file.
|
public static final String READ_ACCESS
public static final int BYTES_DOUBLE
public static double[] getContentSummaryRecord(int handle,
int record,
int begin,
int end,
boolean[] found)
throws PatriusException
Checks the DAF record buffer to see if the requested record can be returned without actually reading it from external storage. If not, it reads the record and stores it in the buffer, typically removing another record from the buffer as a result.
Bad values of begin and end are not signaled as errors. The for loop will manage.
Based on the DAFGSR routine from the SPICE library.
handle - the handle associated with a DAFrecord - the record number of a particular double precision record within the DAF, whose contents are to be readbegin - the first word in the specified record to be returnedend - the final word in the specified record to be returnedfound - (out) true if the specified record was foundPatriusException - if there is a problem in the reading of the filepublic static double[] readContentDPRecord(int handle,
int record,
int begin,
int end,
boolean[] found)
throws PatriusException
Checks the DAF record buffer to see if the requested record can be returned without actually reading it from external storage. If not, it reads the record and stores it in the buffer, typically removing another record from the buffer as a result.
Bad values of begin and end are not signaled as errors. The for loop will manage.
Based on the DAFGDR routine from the SPICE library.
handle - the handle associated with a DAFrecord - the record number of a particular double precision record within the DAF, whose contents are to be readbegin - the first word in the specified record to be returnedend - the final word in the specified record to be returnedfound - (out) true if the specified record was foundPatriusException - if there is a problem in the reading of the fileCopyright © 2025 CNES. All rights reserved.