Next: Surface
Up: Time_Curve
Previous: Memory Methods on Time_Curve
Besides of "get-info" the methods described in this section are exactly
what is needed for a subclass of Time_Object: a method
"get-extension" that determines which files belong to the class,
"read-data" to read in description files (both methods are called by the
"read-in" method bound to the button) and a
"compute-send" method which computes the data:
-
- TIME_CURVE * tcurve
char * path
"read-data" reads in the Time_Curve description file
path/name.cv -- all Time_Curve description
files should have the extension *.cv returned by
"get-extension" -- where name is the name of the tcurve
instance. Additional to the same method on Time_Object
(compare 7.4.1.6) the number of points for the curve,
the definition interval and the coordinate functions are read, see
section 8.2.2 for an example description file.
- GRAPE(tcurve, "compute-send")()
- TIME_CURVE * tcurve
Compute the points of tcurve using the definition interval, the
distribution of points from curve_parm and the coordinate functions
from coord_f.
- GRAPE(tcurve, "get-info")(xlist)
- TIME_CURVE * tcurve
XLIST * xlist
Add information about the number of points of the Triang1d instances
to the superclass information.
SFB 256 Universität Bonn and IAM Universität Freiburg Copyright © by the Sonderforschungsbereich 256 at the Institut für Angewandte Mathematik,
Universität Bonn.