예제 #1
0
        public override cForce copy( )
        {
            cForceObject f = new cForceObject();

            f.copy(this);
            return(f);
        }
예제 #2
0
        public override void copy(cForce pforce)
        {
            base.copy(pforce);
            if (!(pforce is cForceObject))
            {
                return;
            }
            cForceObject pForceObject = ( cForceObject )(pforce);

            _pnode = pForceObject._pnode;             //Want a shallow copy
        }