NodeDisplacements GetNodeDisplacements(Node Node, ILoadCase LoadCase) { NodeDisplacements nodeDisplacements; dynamic displacements; displacements = new double[6]; this.StaadWrapper.Output.GetNodeDisplacements(Node.ID, LoadCase.Id, ref displacements); nodeDisplacements = new NodeDisplacements() { x = displacements[0], y = displacements[1], z = displacements[2], rx = displacements[3], ry = displacements[4], rz = displacements[5], Node = Node, LoadCase = LoadCase }; return(nodeDisplacements); }
private NodeDisplacements GetNodeDisplacements(Node Node, ILoadCase LoadCase) { NodeDisplacements nodeDisplacements; dynamic displacements; displacements = new double[6]; this.Staad.Output.GetNodeDisplacements(Node.ID, LoadCase.ID, ref displacements); nodeDisplacements = new NodeDisplacements() { x = displacements[0], y = displacements[1], z = displacements[2], rx = displacements[3], ry = displacements[4], rz = displacements[5], Node = Node, LoadCase = LoadCase }; return nodeDisplacements; }