int lgtubeness(kgeom_object *geom,
float scale,
int subs,
int cap_style)
INPUT
geom - the input geometry object.
float
scale - radius of all output tubes.
int
subs - a value controlling the number of sides for
each tube. the range of this value is 2<=N<=6, and
the number of sides on each tube is computed as:
2<<(N-1).
int
cap_style - indicates how the tubes should be capped.
1 - no cap, a tube without ends
2 - flat caps, no mitering (not working)
3 - round caps, spheres at the ends
OUTPUT
geom - the input geometry object with lines replaced
RETURN VALUE
TRUE (1) on success, FALSE (0) otherwise
DESCRIPTION
A Geometry filter which will replaces all line segments
in a geometry object with tubes. Non-line-segment objects
will be passed to the output object unchanged.
ADDITIONAL INFORMATION
none
EXAMPLES
none
SIDE EFFECTS
note the relationship between the cap_style variable
and the list of styles in the .pane file.