bdy

Section: C Library Functions (3)
Updated: June 15, 1992
Index Return to Main Contents
 

NAME

bdy - boundary curve finder  

SYNOPSIS

#include "bdy.h"

Geom *Bdy(Geom *, float prec);  

DESCRIPTION

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.  

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.  

LINKING

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

SEE ALSO

bdy(1), geomview(1), anytopl(3), geomutil(3)  

AUTHOR

Celeste Fowler                          email:  fowler@geom.umn.edu
The Geometry Center                     phone:  (612) 626-8304
1300 South Second Street
Minneapolis, MN  55454


 

Index

NAME
SYNOPSIS
DESCRIPTION
BUGS
LINKING
SEE ALSO
AUTHOR

This document was created by man2html, using the manual pages.
Time: 01:32:21 GMT, December 05, 2024