Back to FabImage Library Lite website
You are here: Start » Geometry 2D » Geometry 2D Features » PointsMassCenter_OrNil
PointsMassCenter_OrNil
| Header: | FIL.h |
|---|---|
| Namespace: | fil |
Computes the central point of the input points; returns NIL if the array is empty.
Syntax
void fil::PointsMassCenter_OrNil ( const ftl::Array<fil::Point2D>& inPoints, ftl::Conditional<fil::Point2D>& outMassCenter )
Parameters
| Name | Type | Default | Description | |
|---|---|---|---|---|
![]() |
inPoints | const Array<Point2D>& | ||
![]() |
outMassCenter | Conditional<Point2D>& |


