| 71 | 
  | 
     */ | 
| 72 | 
  | 
    RealType calculate_rmsd(std::vector<Vector3d> mov, | 
| 73 | 
  | 
                            Vector3d mov_com, | 
| 74 | 
< | 
                            Vector3d mov_to_ref, | 
| 75 | 
< | 
                            RotMat3x3d U); | 
| 74 | 
> | 
                            Vector3d mov_to_ref); | 
| 75 | 
  | 
     | 
| 77 | 
– | 
 | 
| 76 | 
  | 
    /*  | 
| 77 | 
  | 
     * optimal_superposition() | 
| 78 | 
  | 
     * | 
| 79 | 
  | 
     *   Returns best-fit rotation matrix  | 
| 80 | 
  | 
     */ | 
| 81 | 
< | 
    RotMat3x3d optimal_superposition(std::vector<Vector3d> mov); | 
| 81 | 
> | 
    RotMat3x3d optimal_superposition(std::vector<Vector3d> mov, | 
| 82 | 
> | 
                            Vector3d mov_com, | 
| 83 | 
> | 
                            Vector3d mov_to_ref); | 
| 84 | 
  | 
 | 
| 85 | 
< | 
 | 
| 85 | 
> | 
     | 
| 86 | 
  | 
  protected: | 
| 87 | 
  | 
    std::vector<Vector3d> ref_; | 
| 88 | 
  | 
    Vector3d ref_com; |