MCPcopy Create free account
hub / github.com/alandefreitas/matplotplusplus / draw_triangle

Method draw_triangle

source/matplot/backend/backend_interface.cpp:119–130  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

117 }
118
119 void backend_interface::draw_triangle(
120 [[maybe_unused]] const std::vector<double> &x,
121 [[maybe_unused]] const std::vector<double> &y,
122 [[maybe_unused]] const std::vector<double> &z) {
123 if (!consumes_gnuplot_commands()) {
124 throw std::logic_error(
125 "There is no function to draw_triangle in this backend yet");
126 } else {
127 throw std::logic_error("This backend has no function draw_triangle "
128 "because it is based on gnuplot commands");
129 }
130 }
131
132 void
133 backend_interface::run_command([[maybe_unused]] const std::string &text) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected