![]() |
PK_VERTEX_ask_type |
PK_ERROR_code_t PK_VERTEX_ask_type
(
--- received arguments ---
PK_VERTEX_t vertex, --- the vertex
--- returned arguments ---
PK_VERTEX_type_t *const vertex_type --- the type of the vertex
)
This function classifies the given vertex.
The 'vertex_type' will be one of:
PK_VERTEX_type_isolated_c isolated vertex (no edges)
PK_VERTEX_type_spur_c spur vertex (single edge, one end only)
PK_VERTEX_type_wire_c wire vertex (all edges are wires)
PK_VERTEX_type_normal_c normal vertex