next up previous contents index
Next: Memory Methods on List_Of_Inst Up: Utility Classes Previous: Methods for Instance Lists

List_Of_Inst

 

For int, float, double and VEC3 there exist List_Of_[type] classes. Each List_Of_[type] class has the entries flag, max_num_of_[type], num_of_[type] and [type]*vec. These classes have no special methods at the moment.

List_Of_Inst is almost like the other List_Of_[type] classes but instead of *vec there is a INSTANCE **objects entry. List_Of_Inst is for example used to store the boundaries of Geom2d instances (6.3.4), and for storing information about the connectivity of triangulations (see ->connectivity methods on Triang2d (6.3.1.4)).

 

#CLASS List_Of_Inst : Root {
    int num_of_objects;
    int max_num_of_objects;
    int *flags;
    INSTANCE **objects;
};





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.