ENEDTY   

Equivalent PK functions: PK_EDGE_ask_type

ENEDTY ( edge, edtype, ifail )
==============================

  Enquire edge type

    Can be called from the GO.

Receives:
  KI_tag_edge              *edge           --- edge

Returns:
  KI_cod_ened              *edtype         --- type-code of edge,
                                           --- from range ENED00
  KI_cod_error             *ifail          --- failure indicator

Specific errors:
  KI_general_body           general body

Description:
  The given edge is classified according to whether it is:

  a)  open, closed or a ring.
      An open edge has different vertices at either end.
      A closed edge has the same vertex at either end.
      A ring edge has no vertices.

  b)  'wire', 'biwire' or normal.
      A normal edge has different faces and loops on either side.
      A wire has the same face on both sides: it may however have different
      loops on either side and in this case is termed a 'biwire'.

  The type of edge is returned as one of the following codes:

      ENEDON  ---  Open, normal edge
      ENEDCN  ---  Closed, normal edge
      ENEDRN  ---  Ring, normal edge
      ENEDOW  ---  Open, wire edge
      ENEDCW  ---  Closed, wire edge
      ENEDOB  ---  Open, biwire edge
      ENEDCB  ---  Closed, biwire edge
      ENEDRB  ---  Ring, biwire edge

  This is not supported for edges of general bodies.