コード例 #1
0
ファイル: JSBar.cs プロジェクト: NickN-Eng/JointSolver2D
 public JSBar(JSBar bar)
 {
     StartVertex = bar.StartVertex;
     EndVertex   = bar.EndVertex;
     EA          = bar.EA;
 }
コード例 #2
0
ファイル: JSBar.cs プロジェクト: NickN-Eng/JointSolver2D
 /// <summary>
 /// Create a bar between a node and a point positions (unconnected to nodes).
 /// The unconnected vertex position will be connected to a node when this bar is added to a JointAnalysis model.
 /// </summary>
 public JSBar(Vector2d startPoint, JSNode endNode)
 {
     StartVertex = new JSVertex(startPoint, this);
     EndVertex   = new JSVertex(endNode, this);
 }
コード例 #3
0
ファイル: JSBar.cs プロジェクト: NickN-Eng/JointSolver2D
 /// <summary>
 /// Create a bar between 2 positions (unconnected to nodes).
 /// Node connections will be formed when this bar is added to a JointAnalysis model.
 /// </summary>
 public JSBar(Vector2d startPoint, Vector2d endPoint)
 {
     StartVertex = new JSVertex(startPoint, this);
     EndVertex   = new JSVertex(endPoint, this);
 }
コード例 #4
0
ファイル: JSBar.cs プロジェクト: NickN-Eng/JointSolver2D
 /// <summary>
 /// Create a bar between a node and a point positions (unconnected to nodes).
 /// The unconnected vertex position will be connected to a node when this bar is added to a JointAnalysis model.
 /// </summary>
 public JSBar(JSNode startNode, Vector2d endPoint)
 {
     StartVertex = new JSVertex(startNode, this);
     EndVertex   = new JSVertex(endPoint, this);
 }
コード例 #5
0
ファイル: JSBar.cs プロジェクト: NickN-Eng/JointSolver2D
 /// <summary>
 /// Create a bar between 2 nodes.
 /// </summary>
 public JSBar(JSNode startNode, JSNode endNode)
 {
     StartVertex = new JSVertex(startNode, this);
     EndVertex   = new JSVertex(endNode, this);
 }