Back to FabImage Library website
You are here: Start » Function Reference » Region » Region Features » RegionArea
Header: | FIL.h |
---|---|
Namespace: | fil |
Module: | FoundationLite |
Computes the number of pixels contained in a region.
Syntax
C++
C#
void fil::RegionArea ( const fil::Region& inRegion, int& outArea )
Parameters
Examples
![]() |
Area of the sample region equals to 5567.
Errors
List of possible exceptions:
Error type | Description |
---|---|
DomainError | The area of the region exceeds the capacity of the integer type in RegionArea. |
See Also
- PolygonArea – Computes the area of polygon.