MCPcopy Create free account
hub / github.com/AdaCompNUS/summit / DrawShape

Function DrawShape

LibCarla/source/carla/client/DebugHelper.cpp:18–26  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

16
17 template <typename T>
18 static void DrawShape(
19 detail::EpisodeProxy &episode,
20 const T &primitive,
21 rpc::Color color,
22 float life_time,
23 bool persistent_lines) {
24 const Shape shape{primitive, color, life_time, persistent_lines};
25 episode.Lock()->DrawDebugShape(shape);
26 }
27
28 void DebugHelper::DrawPoint(
29 const geom::Location &location,

Callers 5

DrawPointMethod · 0.85
DrawLineMethod · 0.85
DrawArrowMethod · 0.85
DrawBoxMethod · 0.85
DrawStringMethod · 0.85

Calls 2

LockMethod · 0.80
DrawDebugShapeMethod · 0.45

Tested by

no test coverage detected