next up previous contents index
Next: Memory Methods on Cons Up: Curves Previous: Other Methods on Bnd_Curve

Cons

 

Instances of this class always belong to a geometry because they don't have their own coordinate arrays. For a description of the methods which are not documented here see Triang1d. The methods are almost identical to the Triang1d methods, the only real difference is that instead of triang->x/y/z[i] one has to use cons->geom->x/y/z[cons->vertex[i]].

 

#CLASS Cons : Root {
  TRIANG2D *geom;           /* pointer to geometry to which cons belongs,
                               it should only be changed with "set-geom" */
  int number_of_points;     /* number of points */
  int max_number_of_points; /* maximum number of points */
  int *vertex;              /* indices of the points in geom */
  int flag;                 /* flag for ACTIVE, DISPLAY etc */
};





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.