MCPcopy Create free account
hub / github.com/InternRobotics/EmbodiedScan / _box_add_thickness

Function _box_add_thickness

embodiedscan/visualization/utils.py:33–40  ·  view source on GitHub ↗
(box, thickness)

Source from the content-addressed store, hash-verified

31
32
33def _box_add_thickness(box, thickness):
34 bbox_lines = o3d.geometry.LineSet.create_from_oriented_bounding_box(box)
35 bbox_lines_width = LineMesh(points=bbox_lines.points,
36 lines=bbox_lines.lines,
37 colors=box.color,
38 radius=thickness)
39 results = bbox_lines_width.cylinder_segments
40 return results
41
42
43def _9dof_to_box(box, label=None, color_selector=None, color=None):

Callers 2

render_sceneMethod · 0.90
draw_nextMethod · 0.85

Calls 1

LineMeshClass · 0.70

Tested by

no test coverage detected