public override void AddForce(IForceCenter force, bool createNewSK = false) { base.AddForce(force, createNewSK); if (force is IForce) { ForcesWithFPoints.Add(force as IForce); } }
public virtual void AddForce(IForceCenter force, bool createNewSK = false) { AddChild(force as IScnObj); Forces.Add(force); force.SK = createNewSK || force.SK == null ? this : force.SK; }
public virtual void AddMoment(IForceCenter moment, bool createNewSK = false) { AddChild(moment as IScnObj); Moments.Add(moment); moment.SK = createNewSK ? this : moment.SK; }