geometry_operation
Calculate distances, polygon areas, polytope volumes, convex hull vertices, and test convexity from point sets.
Instructions
Computational geometry on point sets: euclidean distance, polygon area, polytope volume, convex hull vertices and convexity tests. Prefer this over evaluate_sage for these.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| points | Yes | List of points as coordinate lists | |
| session | No | Named workspace to use. Workspaces have independent variables; omit for 'default'. | default |
| operation | Yes | One of: distance, polygon_area, polytope_volume, convex_hull_vertices, is_convex |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||