Back to FabImage Library website
You are here: Start » Function Reference » Path » Polygon Features » PolygonSecondOrderMoments
PolygonSecondOrderMoments
Header: | FIL.h |
---|---|
Namespace: | fil |
Module: | FoundationBasic |
Syntax
C++
C#
void fil::PolygonSecondOrderMoments ( const fil::Path& inPolygon, float& outMoment02, float& outMoment11, float& outMoment20 )
Parameters
Name | Type | Default | Description | |
---|---|---|---|---|
![]() |
inPolygon | const Path& | ||
![]() |
outMoment02 | float& | ||
![]() |
outMoment11 | float& | ||
![]() |
outMoment20 | float& |
Errors
List of possible exceptions:
Error type | Description |
---|---|
DomainError | Degenerate polygon on input in PolygonSecondOrderMoments. |
DomainError | Open path on input in PolygonSecondOrderMoments. |