geometry.area_polygon
Calculate a polygon's area from ordered decimal-string vertex coordinates using the Shoelace formula, with the first and last points closing automatically.
Instructions
다각형 넓이를 신발끈 공식(Shoelace)으로 계산한다. vertices 는 [[x, y], ...] 형태 Decimal 문자열 좌표이고 꼭짓점 3개 이상을 변을 따라 순서대로 준다. 마지막 점은 첫 점과 자동으로 이어지며 결과는 항상 0 이상이다. 변이 서로 교차하거나 점 순서가 뒤섞이면 실제 면적과 다르다.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| vertices | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| area | Yes | ||
| _meta | No | 서버가 붙이는 영수증(integrity), 엔진, 힌트 | |
| trace | Yes | 계산 근거(tool, formula, inputs, steps, output) |