bs3_curve_rail_from_cen
List of: Functions
Subjects: Construction Geometry, Spline Interface
Contents: Kernel

Action: Gets a rail curve to sweep for surface construction.

Prototype: bs3_curve bs3_curve_rail_from_cen (


bs3_curve input, // given curve


SPAunit_vector up_dir, // up direction, normal




// to the spline at start


double twist_ang // twist angle


);

Includes: #include "kernel/acis.hxx"

#include "baseutil/vector/unitvec.hxx"

#include "kernel/spline/bs3_crv/bs3curve.hxx"

#include "kernel/spline/sg_bs3c/sps3crtn.hxx"

Description: To establish the twist angle, this routine uses the angle of rotation (in radians). The routine can also be used to get the lateral curves for sweep.


As per the definition of the sweep, the up_dir is propagated along the center curve. up_dir is the normal to the plane formed by the center a nonplanar B-spline. Any normal is acceptable.


The rail is constructed so that it forms a Frenet frame as it goes along the path curve to make up a sweep surface.


For this routine, the center curve must be a cubic B-spline.

Library: kernel

Filename: kern/kernel/spline/sg_bs3c/sps3crtn.hxx

Effect: Read-only
PDF/KERN/19FN3C2.PDF
HTM/DATA/KERN/KERN/19FN3C2/0024.HTM