|
Lagrange
|
Options for compute_local_feature_size(). More...
#include <lagrange/raycasting/compute_local_feature_size.h>
Public Attributes | |
| std::string_view | output_attribute_name = "@lfs" |
| Output attribute name for local feature size values. | |
| std::string_view | vertex_normal_attribute_name = "" |
| Input vertex normal attribute name. If empty, vertex normals will be computed internally. | |
| RayDirectionMode | direction_mode = RayDirectionMode::Interior |
| Ray direction mode (interior, exterior, or both). | |
| float | ray_offset = 1e-4f |
| Ray offset along the vertex normal to avoid self-intersection (relative to bounding box diagonal). | |
| float | default_lfs = std::numeric_limits<float>::infinity() |
| Default local feature size value used when raycasting fails to find valid hits. | |
| float | medial_axis_tolerance = 1e-4f |
| Error tolerance for medial axis binary search convergence (relative to bounding box diagonal). | |
Options for compute_local_feature_size().
| float ray_offset = 1e-4f |
Ray offset along the vertex normal to avoid self-intersection (relative to bounding box diagonal).
The actual offset distance is ray_offset * bbox_diagonal. Set to 0 to disable offset (not recommended).
| float default_lfs = std::numeric_limits<float>::infinity() |
Default local feature size value used when raycasting fails to find valid hits.
Default: infinity.
| float medial_axis_tolerance = 1e-4f |
Error tolerance for medial axis binary search convergence (relative to bounding box diagonal).
The binary search stops when |distance_to_surface - depth_along_ray| < tolerance * bbox_diagonal. Smaller values produce more accurate results but require more iterations. Default: 1e-4 (0.01% of bounding box diagonal).