Lagrange
Loading...
Searching...
No Matches
RoundedConeConfig Struct Reference

Public Types

using Scalar = float
 
using Index = uint32_t
 

Public Member Functions

void project_to_valid_range ()
 

Public Attributes

Scalar radius_top = 0
 
Scalar radius_bottom = 1
 
Scalar height = 1
 
Scalar bevel_radius_top = 0
 
Scalar bevel_radius_bottom = 0
 
Index num_radial_sections = 32
 
Index num_segments_top = 1
 
Index num_segments_bottom = 1
 
Index num_straight_segments = 1
 
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_cross_section = true
 
bool with_top_cap = true
 
bool with_bottom_cap = 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.
 

The documentation for this struct was generated from the following file: