Action:
|
Reads an interval as two doubles.
|
|
Prototype:
|
SPAinterval read_interval ();
|
|
Includes:
|
#include "kernel/acis.hxx"
|
|
#include "kernel/kernutil/fileio/fileio.hxx"
|
|
#include "baseutil/vector/interval.hxx"
|
|
Description:
|
This routine is used as part of restore from a SAT or SAB file. Reads an interval as two doubles (old-style), or as two instances of "I" for infinite, or as "F <value>" for finite bound.
|
|
|
if (restore_version_number < INFINT_VERSION)
|
|
read_real
|
starting
|
|
read_real
|
ending
|
|
else
|
|
read_logical
|
finite: either "I" or "F"
|
|
if (finite)
|
|
|
|
|
read_real
|
|
ending
|
|
Library:
|
kernel
|
|
Filename:
|
kern/kernel/kernutil/fileio/fileio.hxx
|
|
Effect:
|
Read-only
|