bdy(3)

bdy3

Boundary curve finder

Usage

#include "bdy.h"

Geom *Bdy(Geom *, float prec);

Overview

Bdy() is a function which takes a geom as its argument. The geom is then converted to a polylist, which is compressed (See plconsol(3). Bdy() then counts the number of edges in the polylist used once and only once, and returns a vector object containing these edges. The precision, prec, is used to determine the maximum distance between vertices which may be considered identical. If the vertices must have identical coordinates, this value should be set to 0.0. It is generally desirable to set the value somewhat higher to allow for round-off error.

The vector object is always black.

Linking

Bdy() is part of the geomutil library; see geomutil(3) for information on how to link your program with this library.

Bugs

The vector object is not a particularly compact representation of itself, since it contains many 2-vertex segments which could be combined into a longer polyline.

Author

Celeste Fowler                          email:  [email protected]
The Geometry Center                     phone:  (612) 626-8304
1300 South Second Street
Minneapolis, MN  55454

From geomview 1.6.1.9-11.1 in Debian 2.2 (Potato). Parsed by carta from the page's man source.