public override cForce copy( ) { cForceObject f = new cForceObject(); f.copy(this); return(f); }
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 }