All Frameworks  Class Hierarchy  This Framework  Indexes

SPAkern Global Function bs3_surface_sum_curves


bs3_surface bs3_surface_sum_curves(bs3_curve u_bs,
bs3_curve v_bs,
double fit_tol= 0,
double& actual_fit= *(double *)NULL_REF )
Creates a spline surface by summing two 3D B-spline curves.

Role: Constructs a spline surface from two spline curves, as the simple sum. The second curve is translated so that its start point sweeps along the first curve, and the surface is what gets swept out. The resulting u parameter curves are all translations of the first curve, v-parameter curves are translations of the second.

The start points of the two curves need not match, in which case the first curve is used to define the low v parameter line of the surface. All other parameter lines are translations of the given curves. It is unlikely that the precision arguments will ever be need, but they are included here for consistency.

If the u-direction curve or the v-direction curve are closed or periodic, the resulting surface is closed or periodic in that parameter. Both curves must not be closed or periodic, because the resulting surface would be self-intersecting.

Effect: Changes model

Parameters:
u_bs
curve in u direction.
v_bs
curve in v direction.
fit_tol
requested fit tolerance.
actual_fit
returned actual fit tolerance used.

This object is included in the file: sp3srtn.hxx

Copyright (c) 1989-2007 by Spatial Corp. All rights reserved.