.. oe:namespace:: OEShape

.. meta::
   :keywords: OEHasCachedSelfShape

.. oe:function:: OEHasCachedSelfShape

   .. oe:language:: c++ java csharp

      .. oe:api::

         bool OEHasCachedSelfShape(const OEChem::OEMCMolBase& mcmol,
                                   unsigned int radiiApprox = OEOverlapRadii::Carbon,
                                   float cradius = 1.7f)
         bool OEHasCachedSelfShape(const OEChem::OEMolBase& mol,
                                   unsigned int radiiApprox = OEOverlapRadii::Carbon,
                                   float cradius = 1.7f)

   .. oe:language:: python

      .. oe:api:: python

         OEHasCachedSelfShape(mcmol: OEMol, radiiApprox: int,
                              cradius: float = 1.7) -> bool
         OEHasCachedSelfShape(mcmol: Union[OEGraphMol,OEQMol],
                              radiiApprox: int, cradius: float = 1.7) -> bool

   Returns true if the molecule has cached self shape. The
   value for radii approximation and cradius need to match those used to set
   this value initially.
