.. index:: 
  !PointList.get Method
  
.. _id3_face_point_list_get_class_method:

===============================================================================
PointList.get Method
===============================================================================

Module: :ref:`PointList<id3_face_point_list_class>`

Definition
----------

Gets an item of the PointList object.


.. tab-set::

    .. tab-item:: Python
      :sync: Python

      .. code:: Python

        get(self, index: int) -> Point

      **Parameters**

        .. line-block::

          ``index`` int
          :guilabel:`in` Index of the Point item to get.


      **Returns**

        .. line-block::

          :ref:`Point<id3_face_point_struct>`
          Point item to get.

      **Exceptions**

        .. line-block::

          :ref:`FaceException<id3_face_face_exception>`
          An error has occurred during Face Library execution.


    .. tab-item:: Dart
      :sync: Dart

      .. code:: Dart

        Point get(int index)

      **Parameters**

        .. line-block::

          ``index`` int
          :guilabel:`in` Index of the Point item to get.


      **Returns**

        .. line-block::

          :ref:`Point<id3_face_point_struct>`
          Point item to get.

      **Exceptions**

        .. line-block::

          :ref:`FaceException<id3_face_face_exception>`
          An error has occurred during Face Library execution.


    .. tab-item:: C#
      :sync: C#

      .. code:: C#

        public Point Get(int index)

      **Parameters**

        .. line-block::

          ``index`` int
          :guilabel:`in` Index of the Point item to get.


      **Returns**

        .. line-block::

          :ref:`Point<id3_face_point_struct>`
          Point item to get.

      **Exceptions**

        .. line-block::

          :ref:`FaceException<id3_face_face_exception>`
          An error has occurred during Face Library execution.


    .. tab-item:: Java
      :sync: Java

      .. code:: Java

        public Point get(int index) throws FaceException

      **Parameters**

        .. line-block::

          ``index`` int
          :guilabel:`in` Index of the Point item to get.


      **Returns**

        .. line-block::

          :ref:`Point<id3_face_point_struct>`
          Point item to get.

      **Exceptions**

        .. line-block::

          :ref:`FaceException<id3_face_face_exception>`
          An error has occurred during Face Library execution.


    .. tab-item:: Swift
      :sync: Swift

      .. code:: Swift

        public func get(index: Int32) throws -> Point

      **Parameters**

        .. line-block::

          ``index`` Int32
          :guilabel:`in` Index of the Point item to get.


      **Returns**

        .. line-block::

          :ref:`Point<id3_face_point_struct>`
          Point item to get.

      **Exceptions**

        .. line-block::

          :ref:`FaceException<id3_face_face_exception>`
          An error has occurred during Face Library execution.


    .. tab-item:: C
      :sync: C

      .. code:: C

        int id3FacePointList_Get (
            ID3_FACE_POINT_LIST hPointList, 
            int index, 
            id3FacePoint * sPointItem)

      **Parameters**

        .. line-block::

          ``hPointList`` :ref:`ID3_FACE_POINT_LIST<id3_face_point_list_class>`
          :guilabel:`in` Handle to the PointList object.

          ``index`` int
          :guilabel:`in` Index of the Point item to get.

          ``sPointItem`` :ref:`id3FacePoint *<id3_face_point_struct>`
          :guilabel:`out` Point item to get.


      **Returns**

        .. line-block::

          ``int``
          An error code.
          See :ref:`id3FaceError<id3_face_face_error_enum>` file for the list of possible error codes.


