Example #1
0
 /// <summary>
 /// Creates and mortise and tenon joint between two beam elements.
 /// </summary>
 /// <param name="tenon">Tenon</param>
 /// <param name="mortise">Mortise</param>
 public TenonJoint(List <Element> elements, Factory.JointConditionPart tenon, Factory.JointConditionPart mortise) : base()
 {
     Parts[0] = new JointPart(elements[tenon.Index] as BeamElement, this, tenon.Index, tenon.Parameter);
     Parts[1] = new JointPart(elements[mortise.Index] as BeamElement, this, mortise.Index, mortise.Parameter);
 }
Example #2
0
 public ButtJoint1(List <Element> elements, Factory.JointConditionPart tenon, Factory.JointConditionPart mortise) : base(elements, tenon, mortise)
 {
 }