Back to Aurora Vision Library website
You are here: Start » Function Reference » Path » Polygon Features » PolygonMassCenter_OrNil

PolygonMassCenter_OrNil
Header: | AVL.h |
---|---|
Namespace: | avl |
Module: | FoundationBasic |
Computes the mass center of polygon; returns Nil for degenerate inputs.
Syntax
C++
C#
void avl::PolygonMassCenter_OrNil ( const avl::Path& inPolygon, atl::Conditional<avl::Point2D>& outMassCenter )
Parameters
Name | Type | Default | Description | |
---|---|---|---|---|
![]() |
inPolygon | const Path& | ||
![]() |
outMassCenter | Conditional<Point2D>& |