point_to_f64

Function point_to_f64 

Source
pub fn point_to_f64(p: &ImplicitPoint) -> Option<[f64; 3]>
Expand description

Materialize an implicit point to f64 via the FIXED-width (I1024) homogeneous lambda — the fast path for the BigRational rational::point_of. The lambda is computed in the gi-scaled domain (coords × 2^16), so the real coordinate is lambda[k] / (d · 2^16). Returns None on off-grid coords / overflow, where the caller falls back to the exact BigRational materialization. Used for the classifier centroids AND the output verts (the dominant per-op cost).