.. oe:namespace:: OEShape

.. meta::
   :keywords: OEReadShapeQuery

.. oe:function:: OEReadShapeQuery

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

      .. oe:api::

         bool OEReadShapeQuery(const char* filename, OEShapeQuery& query)
         bool OEReadShapeQuery(const char* filename, OEShapeQueryPublic& query)
         bool OEReadShapeQuery(OEPlatform::oeistream& ifs, OEShapeQuery& query)
         bool OEReadShapeQuery(OEPlatform::oeistream& ifs,
                               OEShapeQueryPublic& query)

   .. oe:language:: python

      .. oe:api:: python

         OEReadShapeQuery(filename: str, query: OEShapeQueryPublic) -> bool
         OEReadShapeQuery(filename: str, query: OEShapeQuery) -> bool
         OEReadShapeQuery(ifs: oeistream, query: OEShapeQueryPublic) -> bool
         OEReadShapeQuery(ifs: oeistream, query: OEShapeQuery) -> bool

   The first two overloads reads from a file given in the first parameter
   into the shape query given in the second parameter. The later two
   overloads will read from the stream given in the first parameter
   into the shape query given in the second parameter.
