Quat4d function ( Point3d [ ] arg0 ) { MomentsOfInertia loc0 = new MomentsOfInertia ( ) ; for ( Point3d loc1 : arg0 ) loc0 . addPoint ( loc1 , 1.0 ) ; Quat4d loc2 = new Quat4d ( ) ; loc2 . set ( loc0 . getOrientationMatrix ( ) ) ; return loc2 ; }
the orientation represents the rotation of the principal axes with respect to the axes of the coordinate system unit vectors 1,0,0 , 0,1,0 and 0,0,1 . the orientation can be expressed as a unit quaternion . concode_field_sep PlaceHolder placeHolder concode_field_sep double orientationMetric concode_elem_sep double orientationMetric concode_elem_sep Quat4d relativeOrientation concode_elem_sep double dotProduct