Action:
|
Determines the type of a given loop.
|
|
Prototype:
|
outcome api_loop_type (
|
|
|
LOOP* in_loop,
|
// loop to test
|
|
|
loop_type& type,
|
// type of loop
|
|
|
int info[]
|
// array holding
|
|
|
|
= NULL
|
// information about loop
|
|
|
);
|
|
Includes:
|
#include "kernel/acis.hxx"
|
|
#include "kernel/kernapi/api/api.hxx"
|
|
#include "kernel/kernapi/api/kernapi.hxx"
|
|
#include "kernel/kerndata/ptinface/ptfcenum.hxx"
|
|
#include "kernel/kerndata/top/loop.hxx"
|
|
Description:
|
This API returns the type of a given loop, types include:
|
|
|
-
|
loop_unknown
|
|
-
|
loop_periphery
|
|
-
|
loop_hole
|
|
-
|
loop_separation (not used)
|
|
-
|
loop_u_separation
|
|
-
|
loop_v_separation
|
|
-
|
loop_uv_separation
|
|
|
They are enum types defined in ptfcenum.hxx
|
|
|
|
Library:
|
kernel
|
|
Filename:
|
kern/kernel/kernapi/api/kernapi.hxx
|
|
Effect:
|
Read-only
|