Configuration struct for rounded cube.
More...
#include <lagrange/primitive/legacy/generate_rounded_cube.h>
|
|
using | Scalar = float |
| |
|
using | Index = uint32_t |
| |
|
|
|
Scalar | width = 1 |
| |
|
Scalar | height = 1 |
| |
|
Scalar | depth = 1 |
| |
|
Scalar | radius = 0 |
| |
|
Index | num_round_segments = 8 |
| |
|
Index | num_width_segments = 1 |
| |
|
Index | num_height_segments = 1 |
| |
|
Index | num_depth_segments = 1 |
| |
|
Eigen::Matrix< Scalar, 3, 1 > | center {0, 0, 0} |
| |
|
|
bool | output_normals = true |
| |
|
|
Scalar | angle_threshold = static_cast<Scalar>(11 * lagrange::internal::pi / 180) |
| | An edge is sharp iff its dihedral angle is larger than angle_threshold.
|
| |
|
Scalar | dist_threshold = static_cast<Scalar>(1e-6) |
| | Two vertices are considered coinciding iff the distance between them is smaller than dist_threshold.
|
| |
Configuration struct for rounded cube.
◆ project_to_valid_range()
| void project_to_valid_range |
( |
| ) |
|
|
inline |
Project config setting into valid range.
This method ensure all lengths parameters are non-negative, and clip the radius parameter to its valid range.
The documentation for this struct was generated from the following file: