next up previous contents index
Next: Compute Methods on Surface_Build Up: Surface_Build Previous: Surface_Build

Memory Methods on Surface_Build

 

   (SURFACE_BUILD * ) GRAPE(Surface_Build, "new-instance")(name)
CLASS * Surface_Build
char * name
Create an instance of class Surface_Build with name name by calling "new-instance" on the superclass Surface and creating the Build_Parm instance build_parm.

   GRAPE(sfbuild, "free")()
SURFACE_BUILD * sfbuild
Free the memory of a Surface_Build instance by sending "delete" to its build_parm instance and "free" to the superclass. For more information about "delete"/"free" see 5.4.4.1.

   tex2html_wrap44874    tex2html_wrap44876
SURFACE_BUILD * sfbuild
"list-alloc" calculates the number of points needed for the geometries from the build_parm data (build_parm therefore has to be initialized before "list-alloc" is called) and then calls "list-alloc" on the superclass. If more than one surface patch is needed additional objects are added to the geometry Chain.

"list-free" just calls "list-free" on the superclass and on build_parm.



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.