 |
PK_EDGE_ask_convexity_o_t |
|
struct PK_EDGE_ask_convexity_o_s
{
int o_t_version; --- version number of option
--- structure
PK_LOGICAL_t have_angular_tolerance; --- whether angular tolerance
--- value is provided
--- (PK_LOGICAL_false)
double angular_tolerance; --- angular tolerance
};
typedef struct PK_EDGE_ask_convexity_o_s PK_EDGE_ask_convexity_o_t;
Holds optional controls for finding the convexity of the edge provided.
Used in:
PK_EDGE_ask_convexity
'have_angular_tolerance' : whether a tolerance value is provided.
'angular_tolerance' : the smallest angle (in radians) between face
normals at any point along the edge that is
considered different from zero. The value used will
be that returned by PK_SESSION_ask_angle_precision
if the default or supplied value is lower than
this.
If 'have_angular_tolerance' is set to
PK_LOGICAL_false and the input edge is a manifold
edge between faces with classic geometry, the
angular tolerance used is the value returned by
PK_SESSION_ask_angle_precision.
If 'have_angular_tolerance' is set to
PK_LOGICAL_false and the input edge is a manifold
edge between faces with facet geometry, the angular
tolerance used is the value returned by:
o PK_SESSION_ask_angle_precision if the meshes
on both sides of the edge have stored normals;
o PK_SESSION_ask_mesh_angle if either mesh has
dynamic normals.
If 'have_angular_tolerance' is set to
PK_LOGICAL_false and the input edge is a manifold
edge between faces with both classic and facet
geometry, the angular tolerance used is:
o the value returned by PK_SESSION_ask_mesh_angle
if the mesh on the facet face has dynamic
normals;
o one tenth of this value if the mesh on the facet
face has stored normals.