NAME

     hexrotate - rotates a structuring element

SYNOPSIS

      #include <stdio.h>
      #include <string.h>
      #include "CVIPimage.h"
      #include <stdlib.h>
      #include <stdarg.h>
      #include "CVIPmorph.h"

     MATRIX *hexrotate(surMATRIX, connectedness, degrees)

      <surMATRIX> - pointer to MATRIX structure
      <connnectedness> - either SIX_NWSE or SIX_NESW
      <degrees> -degrees to rotate (multiple of 60)

PATH

     $CVIPHOME/MORPHOLOGICAL/morphSET.c

DESCRIPTION

     This function rotates a (3x3) hexagonal structuring  element
     (the  surround) by a user-specified number of degrees, which
     must be a multiple of 60.

TYPES AND CONSTANTS

      #define SIX_NWSE 6
      #define SIX_NESW 7

     See also $CVIPHOME/include/CVIPmorph.h for surround definitions.

RETURN VALUES

     A pointer to the rotated surround.

HISTORY

     History information recorded: None

SEE ALSO

     libmorph

AUTHOR

     Copyright (C) 1996 SIUE -  by  Scott  E.  Umbaugh  and  Greg
     Hance.