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

Action: Determines whether the curve is planar, within the specified tolerance.

Prototype: int bs3_curve_planar (


const bs3_curve& bc, // given curve


SPAunit_vector& normal, // normal to plane


double tolerance // within this tolerance



= SPAresabs


);

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: The routine returns one of the following values:


-2 = Curve is a point or a degenerate spline.

-1 = Curve is a straight line, normal not set.

0 = Curve is nonplanar.

1 = Curve is planar, and normal is set.


If the given curve is planar, it sets the argument normal to be the normal of the plane in which the given spline lies.

Library: kernel

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

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