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