Action:
|
Determines whether two curves are the same.
|
|
Prototype:
|
logical bs2_curve_same (
|
|
|
bs2_curve bs1,
|
// first curve
|
|
|
bs2_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/bs2_crv/bs2curve.hxx"
|
|
#include "kernel/spline/bs2_crv/sp2crtn.hxx"
|
|
Description:
|
This routine checks that the two curves share the same form, and the same knot vectors and control points (within tolerance). The control points may (all) be shifted by any multiple of
u_period or
v_period. These values refer to the surface in whose parameter space this
bs2_curve is embedded, and they default to zero. 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/bs2_crv/sp2crtn.hxx
|
|
Effect:
|
Read-only
|