/***************************************************/ // Clone. public override GuanacoObject Clone(bool newID = false) { NodalMoment nm = this.ShallowClone(newID) as NodalMoment; nm._axis = new Vector3d(this._axis); nm._point = new Point3d(this._point); return(nm); }
/***************************************************/ // Apply moment to the closest point that lies within tolerance. private void ApplyLoad(NodalMoment load) { Node nodeToLoad = this.ClosestNode(load.Point); if (nodeToLoad != null) { nodeToLoad.AddMomentLoad(load.Axis * load.LoadValue); } }