Start » Filter Reference » Path » Path Features » PathMassCenter
Module: | FoundationLite |
---|
Computes the average of the path points (all, not only characteristic ones).
Name | Type | Description | |
---|---|---|---|
inPath | Path | Input path | |
outMassCenter | Point2D |
Description
The operation computes the mass center of a path by averaging its points.
Examples
Errors
This filter can throw an exception to report error. Read how to deal with errors in Error Handling.
List of possible exceptions:
Error type | Description |
---|---|
DomainError | Empty path on input in PathMassCenter. |
Complexity Level
This filter is available on Basic Complexity Level.
Filter Group
This filter is member of PathMassCenter filter group.
See Also
- RegionMassCenter – Computes a point with coordinates equal to the average coordinates of the region's pixels.
- PolygonMassCenter – Computes the mass center of polygon.