next up previous contents index
Next: Trace Up: Calculating a Move Previous: The Moving Methods

Triang0d

 

The class Triang0d allows to handle single points as objects. It is not design for an efficient handling of large sets of points. This would be the task for another class. Triang0d fills a gap in the set of classes for simplex geometries in different dimensions. It is for example used as the time cut generated by the method "get-object" on an instance of the class Trace.

 

#CLASS Triang0d : Root {
  double x,y,z;
};

   

GRAPE(t0, "display")()
TRIANG0D *t0
In the grid and patch mode a small sphere makes the single point visible. The radius of the sphere is included as a ruler in the option menu of the manager.

   

(TRIANG2D *)GRAPE(tr2d, "xdr")(xdrp)
CLASS *Triang0d;
TRIANG0D *tr0d;
XDR *xdrp;
For the I/O of Triang0d instances XDR is used. To get more information about XDR the eXtended Data Representaion see 5.7.



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.