|
|
using | Scalar = float |
| |
|
using | Index = uint32_t |
| |
|
|
|
Scalar | radius = 1 |
| |
|
Scalar | height = 1 |
| |
|
Scalar | bevel_radius = 0 |
| |
|
Index | num_radial_sections = 64 |
| | Number of sections used for top/bottom disc.
|
| |
|
Index | num_bevel_segments = 1 |
| | Number of isolines used for rounded bevel.
|
| |
|
Index | num_straight_segments = 1 |
| | Number of isolines on the cylinder side.
|
| |
|
Scalar | start_sweep_angle = 0 |
| |
|
Scalar | end_sweep_angle = static_cast<Scalar>(2 * lagrange::internal::pi) |
| |
|
Eigen::Matrix< Scalar, 3, 1 > | center {0, 0, 0} |
| |
|
bool | with_top_cap = true |
| |
|
bool | with_bottom_cap = true |
| |
|
bool | with_cross_section = true |
| |
|
|
bool | output_normals = true |
| |
|
|
Scalar | dist_threshold = static_cast<Scalar>(1e-6) |
| | Two vertices are considered coinciding if the distance between them is smaller than dist_threshold.
|
| |
|
Scalar | angle_threshold = static_cast<Scalar>(11 * lagrange::internal::pi / 180) |
| | An edge is considered sharp if its dihedral angle is larger than angle_threshold.
|
| |
|
Scalar | epsilon = static_cast<Scalar>(1e-6) |
| | Numerical tolerence used for comparing Scalar values.
|
| |
◆ 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 bevel radius parameter to its valid range.
The documentation for this struct was generated from the following file: