tree_mesh — DRIVE terrain op

• Data kinds: none → table (an op determined by its arguments alone — it takes no image or data input)

• Call: import fullseye as fs; fs.ledger.tree_mesh(height: 'float' = 6.0, trunk_radius: 'float' = 0.15, crown_radius: 'float' = 1.8, kind: 'str' = 'broadleaf', n: 'int' = 8, color=None) -> 'dict' (to call the implementation directly, import driveterrain; driveterrain.tree_mesh(height: 'float' = 6.0, trunk_radius: 'float' = 0.15, crown_radius: 'float' = 1.8, kind: 'str' = 'broadleaf', n: 'int' = 8, color=None) -> 'dict'; from the registry, opsdrive.get("tree_mesh"))

Usage

> This operator's description has not been translated yet. The original text follows as it is.

手続き的な木: 幹 = 正 n 角柱(高さ 0.35·height)、樹冠 = 円錐(conifer)か回転楕円体(broadleaf、上下 0.65·height)。

返り値 `{"V", "F", "color" (M,3), "label" (13), "dims", "volume"}。volume` は閉形式: 幹 = ½ n r² sin(2π/n)·h_t、

円錐 = ⅓·½ n R² sin(2π/n)·h_c(多角形の底面なので厳密)、楕円体は内接なので mesh_signed_volume ≤ 4/3·π R² (h_c/2)。

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_world_terrain — py -3.11 examples/poc_world_terrain.py

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

course_layout · course_occupancy · course_contains · world_build · world_camera · world_move · lidar_scan · rss_longitudinal_same

Same category (terrain)

perlin2 · fbm_params · fbm_height · fbm_gradient · radial_periodogram · spectral_slope · course_distance · terrain_params


*Provenance: driveterrain.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.