判断圆柱/圆角面是凸面还是凹面,返回true为凹面,反之为凸面
bool FaceIsConcave(tag_t iFace)
{
tag_t psTag = NULL_TAG;
UF_PS_ask_ps_tag_of_object(iFace, &psTag );
PK_SURF_t surf;
PK_LOGICAL_t orientation = PK_LOGICAL_true;
PK_FACE_ask_oriented_surf(psTag , &surf, &orientation);
if (orientation == PK_LOGICAL_false)
return TRUE;
return FALSE;
}
通过此方方法来判断圆角是凹R还是凸R,圆柱面是孔还是柱。