tree_mesh — DRIVE terrain op

• Data kinds: कोई नहीं → table (केवल arguments से तय होने वाला op — यह कोई image या 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' (implementation को सीधे call करना हो तो 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', registry से लेना हो तो opsdrive.get("tree_mesh"))

उपयोग

procedural पेड़: तना = नियमित n-भुज prism (ऊँचाई 0.35·height), crown = cone (conifer) या spheroid (broadleaf, ऊर्ध्वाधर 0.65·height)।

> नीचे का विस्तृत विवरण मूल text में है — सारांश और headings का अनुवाद हो चुका है।

返り値 {"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)。

संदर्भ (sample data, साहित्य)

• Sample data catalog (DL URL / license) — 2-D के लिए skimage.data (BSD/public) + synthetic, 3-D के लिए real data sources (Stanford/PDS आदि) के DL URL।

• Operators का स्रोत और संदर्भ — इस op family के मूल research/methods के स्रोत।

• Algorithm का मानक स्रोत (लेखक, वर्ष) और उपयोग ऊपर की family usage guide में दिए गए हैं।

चलाए जा सकने वाले उदाहरण (verified samples जो सच में यह op call करते हैं)

• poc_world_terrain — py -3.11 examples/poc_world_terrain.py

वे अगले ops जिनसे type जुड़ता है (table को input के रूप में लेते हैं)

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

इसी category के (terrain)

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


*Provenance: driveterrain.py — DRIVE operator registry. यह per-op note tools/opdocs.py md से अपने-आप generate होता है (हाथ से edit न करें)।*

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