Library next up previous contents
Next: Data Format Up: The GRToolbox Previous: Introduction

Standard Tools

The most operations needed are standard operations such as rotating, sorting and clipping data. Those standard functions are already implemented in the toolbox. To mark all programs of the graph toolbox, the program names always begin with gr_. To make the tools usable, all tools should lie within the path.

This is the identical mapping of the point sets. It's possible to spcify sets, that must not be printed. (for further informtionn see chapter: Standard Parameters)

Checks the number of sets, the number of points per set, the dimension of the points, the data value range. gr_analyze can be used as a fast way of examining the data.

Performs all possible transformations such as translations, rotations, reflection, shearing and perspective. Either each translation or scaling factor is specified or a matrix is given (in an extra file or as a first set) to define the view.

Rotations of the points. A center of rotation can be specified.

This program scales the data set. It is possible to specify a range for one coordinate. The sets will be scaled to the given size, keeping the same ratio.

sorts the points in the set. The set can be sorted upwards or downwards, using any coordinate for comparison.

Cubic spline using the point data as control points. The knots can be specified in an extra file or the distribution of the knots can be specified (equal distance distribution, arclength distribution, delta x distribution).

calculates the curvature of a polygon.

Removing points from the set printing only every 2nd point (2 is the default, but any other number can be specified).

printing only the x or y or any specified coordinate plane. More than one plane can be specified and the order of the coordinates will be given by the user.

removing the set separators.

Splitting a set into two halfs or after a certain number of points. (Works as an opposite of gr_merge.)

Deletes points that are equal or within a specified epsilon neighborhood. Only points that are neighboured in the file are tested.

Delete all points that lay within an interval or an epsilon box.

All the empty sets will be removed.

inverts the order of the points in the set.

rolls the coordinats in clockwise direction: For a 3D data set, that would mean, the old x-coordinate becomes the new y-coordinate, while the old y-coordinate will be printed out as new z coordinate and the old z value will become the new x-value.

Use the input points as control polygon for a bspline.

Use the input points as control polygon for Non Uniform Rational BSplines (nurbs)

calculates the volume of curves. If it is used for more than one set, the volume of every second curve is subtracted from the volume of the first curves.

adjacent This routine tries to fit different sets with the same start and endpoints together to a set.

calculates a Delaunay-triangulation out of a set of points.

the border of a structured set will be taken. The first and last set will be printed and the first and last point of any other set.

the interior of a structured set will be taken. The interior of a structured set is defined as everything but the points printed by gr_border.

changing the orientation of a number of structured sets. All input points must have the same number of points. The output will have as many sets as the number of points per set of the input data. Each set of the output data will have as many point as the number of sets from the input data.

For more detailed information on the modules see the -h online help on each gr_ tool.

next up previous contents
Next: Data Format Up: The GRToolbox Previous: Introduction

Jens Trapp
Wed Jun 12 20:34:13 MET DST 1996