.. oe:namespace:: OESpicoli


.. oe:constnamespace:: OEPolygonizeMethod

   The ``OEPolygonizeMethod`` namespace is used to specify to the
   :oe:func:`OESpicoli::OEMakeMolecularSurface` and 
   :oe:func:`OESpicoli::OEMakeAccessibleSurface` functions the method to be
   used for polygonizing the surface.

   .. seealso:: 

      * The :oe:func:`OESpicoli::OEMakeMolecularSurface` and 
        :oe:func:`OESpicoli::OEMakeAccessibleSurface` functions for how to
        pass this constant into the functions. 

   .. oe:constant:: Grasp
   
      This polygonization method uses a :term:`marching cubes` type of 
      algorithm to generate surface triangles.

   .. oe:constant:: Compact
   
      This polygonization method uses a variation on the :term:`marching cubes`
      method in which grid vertex warping is used to generate a more "compact"
      surface.  This method results
      in a surface which has approximately 30% fewer triangles and vertices
      than those generated using the 
      :oe:const:`OESpicoli::OEPolygonizeMethod::Grasp` method, with no
      discernible loss of quality.

   .. oe:constant:: Default
   
      The default polygonization method is
      :oe:const:`OESpicoli::OEPolygonizeMethod::Grasp`.
