next up previous contents index
Next: Surfaces and 2D Finite Up: Cons Previous: Debug Methods on Cons

Other Methods on Cons

 

   GRAPE(cons, "merge")(cons_two)
CONS * cons, * cons_two
Merge cons_two into cons by appending the vertex indices. Of course this is only possible if both instances point to the same geom and if the last index of cons and the first index of cons_two are identical.

   tex2html_wrap44126    tex2html_wrap44128
CONS * cons
After merging and closing two Triang2d (most likely Geom2d) instances some of the points the cons uses may no longer be used by the cons-> geom, they will no longer be updated and could be removed. "verify-use" checks whether all points are still in use, "close-send" will replace unused points by the points they were identified with during a "close" on cons-> geom.

   (TRIANG1D * ) GRAPE(cons, "get-triang")(triang)
CONS * cons
TRIANG1D * triang
Copy the coordinates of the cons from cons-> geom-> x/y/z with indices cons-> vertex to triang-> x/y/z. The triang instance is returned, if triang is NULL, a new Triang1d instance is created.

   tex2html_wrap44132    tex2html_wrap44134
CONS * cons, * cons1, * cons2
double factor, fac1, fac2
   GRAPE(cons, "reflect")(trfmat, orient)
CONS * cons
MATRIX44 trfmat
int orient
   GRAPE(cons, "reset")()
CONS * cons


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.