pub struct GpuPointToPlaneEquations {
pub correspondences: u32,
pub fitness_correspondences: u32,
pub hessian: [[f64; 6]; 6],
pub gradient: [f64; 6],
pub anchor: [f64; 3],
pub rotation_step_scale: f64,
pub translation_step_scale: f64,
pub normal_scale: f64,
pub squared_error_sum: f64,
pub transfers: TransferStats,
}Expand description
Downloaded point-to-plane ICP normal equations in the documented normalized parameter basis.
Fields§
§correspondences: u32Gated pairs contributing to supported normal equations.
fitness_correspondences: u32Gated pairs contributing to raw-normal squared plane residuals.
hessian: [[f64; 6]; 6]Symmetric normalized 6x6 Hessian (not world-coordinate coefficients).
gradient: [f64; 6]Normalized gradient; solve H*u=-g before converting with world_step.
anchor: [f64; 3]Actual device-transformed bounding-box anchor in world coordinates.
rotation_step_scale: f64Rotation scale converting solved normalized coordinates to radians.
translation_step_scale: f64Translation scale converting solved local coordinates to physical units.
normal_scale: f64Common raw-normal component scale divided out of H/g.
squared_error_sum: f64Physical raw-normal point-to-plane squared-error sum (not mean).
transfers: TransferStatsPayload copied during this explicit download.
Implementations§
Source§impl GpuPointToPlaneEquations
impl GpuPointToPlaneEquations
Sourcepub fn world_step(&self, solution: [f64; 6]) -> SpatialResult<[f64; 6]>
pub fn world_step(&self, solution: [f64; 6]) -> SpatialResult<[f64; 6]>
Converts the solved normalized step to the world [-skew(p)|I] basis: omega=u_rotationdistance/coordinate_scale, local_t=u_translationdistance, world_t=local_t-omega cross anchor. This is a LINEARIZED basis conversion; the caller’s existing finite rotation/update policy remains separate.
Trait Implementations§
Source§impl Clone for GpuPointToPlaneEquations
impl Clone for GpuPointToPlaneEquations
Source§fn clone(&self) -> GpuPointToPlaneEquations
fn clone(&self) -> GpuPointToPlaneEquations
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more