Purpose:
|
Provides a return value for
normal_cone which returns a cone bounding the surface normal.
|
|
Derivation:
|
surf_normcone : ACIS_OBJECT : -
|
|
Filename:
|
kern/kernel/kerngeom/surface/surdef.hxx
|
|
Description:
|
Defines a bound on the surface normal. It is used in intersection code to eliminate the possibility of tangencies and common normals.
|
|
References:
|
by KERN
|
mesh_tree
|
|
BASE
|
SPAunit_vector
|
|
Data:
|
public double angle;
|
|
Positive half angle defining the bounding cone.
|
|
|
public logical approx;
|
|
TRUE if this is only an approximation to the best cone available.
|
|
|
public logical oversize;
|
|
If
approx is
TRUE, this flag is
TRUE if this cone is entirely outside the best available cone and
FALSE if it is inside.
|
|
|
public surface_vardir vardir;
|
|
Classifies whether the normal direction varies more in the
u-parameter direction, more in the
v-parameter direction, or in neither. This item is to be used only as a hint.
|
|
|
public SPAunit_vector axis;
|
|
Axis direction for the cone. The cone is deemed to have its apex at the origin.
|
|
Constructor:
|
public: surf_normcone::surf_normcone
(
|
|
|
SPAunit_vector const& ax,
|
// axis direction
|
|
|
double ang,
|
// positive half angle
|
|
|
surface_vardir vdir,
|
// variation direction
|
|
|
logical app,
|
// approx results OK?
|
|
|
logical over
|
// inside or outside?
|
|
|
);
|
|
|
C++ constructor, creating a
surf_normcore using the specified parameters.
|
|
|
|
|
Related Fncs:
|
surf_deriv_to_curv
|