polygon_area — DRIVE japan op

• Data kinds: any → scalar

• Call: import fullseye as fs; fs.ledger.polygon_area(poly: 'np.ndarray | Sequence[Sequence[float]]') -> 'float' (to call the implementation directly, import driveplateau; driveplateau.polygon_area(poly: 'np.ndarray | Sequence[Sequence[float]]') -> 'float'; from the registry, opsdrive.get("polygon_area"))

Usage

Signed area of a simple polygon (shoelace formula). Positive for counterclockwise.

> The detailed description below is the original text — the summary and the headings are translated.

Args:

poly: (k,2) の頂点列。閉じていなくてよい。

Raises:

ValueError: 形が (k,2) でない、k < 3、非有限値。

References (sample data, literature)

• Sample-data catalog (download URLs / licences) — 2-D uses skimage.data (BSD/public domain) plus synthetic images; 3-D lists download URLs for real data sources (Stanford, PDS, …).

• Operator provenance and references — the sources of the research/methods this op family came from.

• The canonical algorithm (author, year) and its uses are named in the family usage guide above.

Runnable examples (verified samples that actually call this op)

• poc_driving_school — py -3.11 examples/poc_driving_school.py

• poc_thermal_drift_metrology — py -3.11 examples/poc_thermal_drift_metrology.py

Ops the type connects to (they accept scalar as input)

spin_from_marker_sequence · carla_transform_matrix · carla_pose_to_world · carla_camera_pose · carla_xy_yaw · carla_scene_load · town_chain · osm_parse

Same category (japan)

osm_synthetic · osm_parse · osm_road_graph · osm_road_mask · osm_road_loops · osm_route · japan_world · japan_stats


*Provenance: driveplateau.py — DRIVE operator registry. This per-op note is generated by tools/opdocs.py md (do not hand-edit).*

© 2026 Kazufumi Furuse — Fullseye operator documentation. Licensed under Apache-2.0.