 |
PK_MTOPOL_merge_t |
|
typedef int PK_MTOPOL_merge_t;
This datatype is used to select the level of smoothness at which a mesh-mesh
or polyline-polyline interface is considered redundant. It takes the values
PK_MTOPOL_merge_g0_c allow merging of all topological entities with
facet geometry, irrespective of interface
smoothness
PK_MTOPOL_merge_g1_c allow only smooth edges/vertices on facet bodies
to be considered as redundant
Two polylines are considered to meet smoothly if their end tangents agree to
within the value returned by PK_SESSION_ask_mesh_angle.
Two meshes with dynamic normals are considered to meet smoothly if their
vertex normals agree along the mesh-mesh interface agree to within the value
returned by PK_SESSION_ask_mesh_angle. If either mesh has stored normals,
the angular tolerance used is, instead, the value returned by
PK_SESSION_ask_angle_precision. Edge smoothness can be tested by calling
PK_EDGE_is_smooth on the edge, using the indicated angular tolerances.
The PK_MTOPOL_merge_g1_c option does not force all smooth mesh-mesh interfaces
to be deleted, as the decision to delete depends on the collection of all
edges with the same face pair.