Exemple #1
0
        /***************************************************/

        // 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);
        }
Exemple #2
0
        /***************************************************/

        // 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);
            }
        }