Esempio n. 1
0
 /// <summary>
 ///Copies the data member values of the current SegmentEntity to the specified target object
 ///</summary>
 ///<param name="target">target object (must be an instance of)</param>
 public override void CopyTo(Microsoft.Dss.Core.IDssSerializable target)
 {
     base.CopyTo(target);
     global::Humanoid.Proxy.SegmentEntity typedTarget = ((global::Humanoid.Proxy.SegmentEntity)(target));
     if ((this._CustomJoint != null))
     {
         global::Microsoft.Robotics.PhysicalModel.Proxy.Joint tmp = new global::Microsoft.Robotics.PhysicalModel.Proxy.Joint();
         ((Microsoft.Dss.Core.IDssSerializable)(this._CustomJoint)).CopyTo(((Microsoft.Dss.Core.IDssSerializable)(tmp)));
         typedTarget._CustomJoint = tmp;
     }
 }
Esempio n. 2
0
 /// <summary>
 ///Clones SegmentEntity
 ///</summary>
 ///<returns>cloned value</returns>
 public override object Clone()
 {
     global::Humanoid.Proxy.SegmentEntity target0 = new global::Humanoid.Proxy.SegmentEntity();
     this.CopyTo(target0);
     return(target0);
 }