public com.robotraconteur.geometry.SpatialInertia ToRRInfo()
        {
            var info = new com.robotraconteur.geometry.SpatialInertia();

            CopyTo(ref info);
            return(info);
        }
 public void CopyTo(ref com.robotraconteur.geometry.SpatialInertia info)
 {
     info.m = m;
     if (com != null)
     {
         info.com.x = com.x;
         info.com.y = com.y;
         info.com.z = com.z;
     }
     else
     {
         info.com.x = 0;
         info.com.y = 0;
         info.com.z = 0;
     }
     info.ixx = ixx;
     info.ixy = ixy;
     info.ixz = ixz;
     info.iyy = iyy;
     info.iyz = iyz;
     info.izz = izz;
 }