centroidAndAreaXY MethodStatic
- Return (in caller-allocated centroid) the centroid of the xy polygon.
- Return (as function value) the area
centroidAndAreaXY(points: Point2d[], centroid: Point2d): number | undefined
| Parameter | Type | Description |
|---|---|---|
| points | Point2d[] | |
| centroid | Point2d |
Defined in
Last Updated: 08 January, 2020