pub struct RecognitionOptions {Show 15 fields
pub distance_tolerance: f64,
pub relative_tolerance: f64,
pub normal_tolerance: f64,
pub minimum_support: usize,
pub minimum_support_area: f64,
pub confidence: f64,
pub deterministic_seed: Option<u64>,
pub max_hypotheses: usize,
pub max_refinement_iterations: usize,
pub feature_angle: f64,
pub respect_features: bool,
pub discover_regions: bool,
pub allow_disconnected_same_surface: bool,
pub collect_phase_timings: bool,
pub sampling: SamplingMode,
}Expand description
Controls surface recognition, refinement, and region discovery.
Fields§
§distance_tolerance: f64Maximum absolute positional residual accepted as an inlier.
relative_tolerance: f64Scale-relative positional tolerance added to the absolute tolerance.
normal_tolerance: f64Maximum accepted normal-angle residual, in radians.
minimum_support: usizeMinimum number of supporting triangles required for a fit.
minimum_support_area: f64Minimum total supporting triangle area required for a fit.
confidence: f64Desired probability that adaptive generic hypothesis generation has sampled a seed from the best support observed so far. This controls support visitation, not whether a boundary/degenerate seed yields a usable hypothesis and not the reported residual-evidence quality score.
deterministic_seed: Option<u64>Seed for deterministic hypothesis sampling, or None for entropy-based
sampling.
max_hypotheses: usizeMaximum number of generic recognition hypotheses to generate.
max_refinement_iterations: usizeMaximum number of numerical refinement iterations per candidate.
feature_angle: f64Dihedral-angle threshold, in radians, used to identify feature edges.
respect_features: boolWhether region traversal stops at detected feature edges.
discover_regions: boolWhether to split the input selection into recognized surface regions.
allow_disconnected_same_surface: boolMerge disconnected regions only when a joint fit validates that they lie on one carrier and have the same observed orientation.
collect_phase_timings: boolCollect wall-clock phase timings in fit diagnostics. Disabled by default so deterministic result comparisons do not contain clock data.
sampling: SamplingModeGeometric sampling strategy used by fitting and validation.
Trait Implementations§
Source§impl Clone for RecognitionOptions
impl Clone for RecognitionOptions
Source§fn clone(&self) -> RecognitionOptions
fn clone(&self) -> RecognitionOptions
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more