Measure Area
analysis_measure_areaCompute the area and perimeter of a polygon from vertex coordinates, including curved edges via bulge values, for accurate measurements.
Instructions
Area and perimeter of a polygon you supply the vertices for.
This measures the numbers in the call, NOT the drawing. To measure something
that exists, use analysis_measure_entity(handle) — it reads the real
geometry, including curvature this tool can only see if you pass it.
Straight-edged polygons are exact. Pass a third bulge element per vertex
for arc edges; omitting it on curved geometry under-reports (28% on a
semicircular edge), which is why assumes says what was taken on faith.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| points | Yes | Polygon vertices, min 3. Each is [x, y] or [x, y, bulge] — the bulge (DXF convention) makes the edge leaving that vertex a circular arc. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||