| #pragma once |
| |
| #ifndef igs_maxmin_lens_matrix_h |
| #define igs_maxmin_lens_matrix_h |
| |
| #include <vector> |
| |
| namespace igs { |
| namespace maxmin { |
| const int diameter_from_outer_radius(const double outer_radius); |
| const double outer_radius_from_radius(const double radius, |
| const double smooth_outer_range); |
| const int alloc_and_shape_lens_matrix( |
| const double radius |
| , |
| const double outer_radius, const int polygon_number |
| , |
| const double roll_degree |
| , |
| std::vector<int> &lens_offsets, std::vector<int> &lens_sizes, |
| std::vector<std::vector<double>> &lens_ratio); |
| |
| |
| |
| |
| |
| |
| |
| const void reshape_lens_matrix(const double radius |
| , |
| const double outer_radius, |
| const int odd_diameter, |
| const int polygon_number |
| , |
| const double roll_degree |
| , |
| std::vector<int> &lens_offsets, |
| std::vector<int> &lens_sizes, |
| std::vector<std::vector<double>> &lens_ratio); |
| } |
| } |
| |
| #endif |