Action:
|
Determines whether two spline curves are the same.
|
|
Prototype:
|
logical bs3_curve_same (
|
|
|
bs3_curve bs1,
|
// first curve
|
|
|
bs3_curve bs2,
|
// second curve
|
|
|
double tol
|
// parameter space
|
|
|
|
= 0.0
|
// tolerance for equal
|
|
|
|
|
// control points
|
|
|
);
|
|
Includes:
|
#include "kernel/acis.hxx"
|
|
#include "baseutil/logical.h"
|
|
#include "kernel/spline/bs3_crv/bs3curve.hxx"
|
|
#include "kernel/spline/bs3_crv/sp3crtn.hxx"
|
|
Description:
|
This routine checks that the two curves share the same form, the same knot vectors, and the same control points (within tolerance). This routine is not to be used for coincidence testing, but only as a simple filter to discard obvious cases.
|
|
Library:
|
kernel
|
|
Filename:
|
kern/kernel/spline/bs3_crv/sp3crtn.hxx
|
|
Effect:
|
System routine
|