Action:
|
Saves a curve to a file.
|
|
Prototype:
|
void bs2_curve_save (
|
|
|
bs2_curve cur
|
// given curve
|
|
|
);
|
|
Includes:
|
#include "kernel/acis.hxx"
|
|
#include "kernel/spline/bs2_crv/bs2curve.hxx"
|
|
#include "kernel/spline/bs2_crv/sp2crtn.hxx"
|
|
Description:
|
Writes a representation of the parametric curve to some external medium, using routines
write_int,
write_long,
write_real, and
write_string, defined in
ACIS file
kernutil/fileio/fileio.hxx. It makes a format the allows reconstruction of the curve from the data by a single sequential pass.
|
|
|
The overloaded
<< operator acts like
bs2_curve_save, but writes to a
C++ style stream using stream operators. The output format need not necessarily be the same as for bs2_curve_save, but it is strongly recommended that it be so. For example:
|
|
|
bs2_curve cur;
|
|
Library:
|
kernel
|
|
Filename:
|
kern/kernel/spline/bs2_crv/sp2crtn.hxx
|
|
Effect:
|
System routine
|