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
Input value inPolygon const Path&
Output value outMoment02 float&
Output value outMoment11 float&
Output value outMoment20 float&

Errors

List of possible exceptions:

Error type Description
DomainError Degenerate polygon on input in PolygonSecondOrderMoments.
DomainError Open path on input in PolygonSecondOrderMoments.