|
Plotly.cpp 0.1.0
A C++ plotting library for expressive, interactive, real-time & streaming data visualization
|
Geometric Star Shape Visualization. More...
#include "plotly/plotly.hpp"#include "utils/arg_parser.hpp"#include <cmath>#include <utility>#include <vector>
Functions | |
| auto | createStarShape (double cx, double cy, double rOuter, double rInner) -> std::pair< std::vector< double >, std::vector< double > > |
| auto | main (int argc, char *argv[]) -> int |
Geometric Star Shape Visualization.
| auto createStarShape | ( | double | cx, |
| double | cy, | ||
| double | rOuter, | ||
| double | rInner ) -> std::pair<std::vector<double>, std::vector<double>> |
Creates a star shape with the given parameters
| cx | Center X coordinate |
| cy | Center Y coordinate |
| rOuter | Outer radius (tips of star) |
| rInner | Inner radius (valleys of star) |
| auto main | ( | int | argc, |
| char * | argv[] ) -> int |