# NNS_G2dGetCellBoundingRect

## Syntax

      #include <nnsys/g2d/fmt/g2d_Cell_data.h>

      static inline const NNSG2dCellBoundingRectS16*
      NNS_G2dGetCellBoundingRect( const NNSG2dCellData* pCell );

## Arguments

`pCell` | [IN] Cell data

## Return Values

Information on the bounding rectangle (S16 format).

## Description

Gets the bounding rectangle of the cell. Internally, this function does not determine whether the cell actually has the bounding rectangle information. The determination must be done using user codes. The `NNS_G2dCellHasBR` function can be used to determine if the cell has the bounding rectangle information. If this function is executed on a cell that does not have the bounding rectangle information, it returns invalid information.
To create a cell data that has the bounding rectangle information, specify the `-br` option and perform the conversion.

## See Also

`NNS_G2dCellHasBR`
`NNS_G2dGetCellBoundingSphereR`

## Revision History

2004/10/12 Initial version.

CONFIDENTIAL