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

Action: Sets the values of the start and/or end parameters of a spline.

Prototype: logical bs2_curve_set_end_prms (


double* t0, // new start parameter


double* t1, // new end parameter


bs2_curve cur // curve to modify


);

Includes: #include "kernel/acis.hxx"

#include "baseutil/logical.h"

#include "kernel/spline/bs2_crv/bs2curve.hxx"

#include "kernel/spline/bs2_crv/sp2crtn.hxx"

Description: This function adjusts the start and/or end parameter values of a spline. The parameter values are passed in as pointers so that they may be set individually. A NULL pointer indicates no change at that end.

Errors: Knot sequences must be strictly increasing, so the new start value must be less than the second knot value, and the new end value must be greater than the penultimate knot value. If this condition is violated at either end, the function returns FALSE and the curve is left unchanged.

Library: kernel

Filename: kern/kernel/spline/bs2_crv/sp2crtn.hxx

Effect: Changes model
PDF/KERN/17FN2.PDF
HTM/DATA/KERN/KERN/17FN2/0038.HTM