public Matrix4d weightedSuperpose ( Point3d [ ] fixed , Point3d [ ] moved , double [ ] weight ) { set ( moved , fixed , weight ) ; getRotationMatrix ( ) ; if ( ! centered ) { calcTransformation ( ) ; } else { transformation . set ( rotmat ) ; } return transformation ; }
Weighted superposition .