示例#1
0
 /// <summary>
 /// Add dimension to constrain the length of segment in the specified direction.
 /// </summary>
 public override void Commit()
 {
     GetRebarShapeDefinitionBySegments.AddConstraintToSegment(m_segment,
                                                              m_parameter.Parameter, m_constraintDirCoordX, m_constraintDirCoordY,
                                                              m_signOfZCoordOfCrossProductOfConstraintDirBySegmentDir,
                                                              m_measureToOutsideOfBend0, m_measureToOutsideOfBend1);
 }
示例#2
0
 /// <summary>
 /// Remove dimension from Rebar shape.
 /// </summary>
 public override void Commit()
 {
     GetRebarShapeDefinitionBySegments.RemoveParameterFromSegment(
         m_segment, m_radiusParameter.Parameter);
 }
示例#3
0
 /// <summary>
 /// Add dimension to constrain the perpendicular distance between two segment.
 /// </summary>
 public override void Commit()
 {
     GetRebarShapeDefinitionBySegments.AddListeningDimensionSegmentToSegment(
         m_parameter.Parameter, m_constraintDirCoordX, m_constraintDirCoordY,
         m_segment, m_segment1);
 }
示例#4
0
 /// <summary>
 /// Add listening dimension to constrain the length of two bend in the specified direction.
 /// </summary>
 public override void Commit()
 {
     GetRebarShapeDefinitionBySegments.AddListeningDimensionBendToBend(
         m_parameter.Parameter, m_constraintDirCoordX, m_constraintDirCoordY,
         m_segment, (int)m_end, m_segment1, (int)m_end1);
 }
示例#5
0
 /// <summary>
 /// Add Dimension to constrain the segment length.
 /// </summary>
 public override void Commit()
 {
     GetRebarShapeDefinitionBySegments.AddConstraintParallelToSegment(
         m_segment, m_parameter.Parameter, m_measureToOutsideOfBend0,
         m_measureToOutsideOfBend1);
 }
示例#6
0
 /// <summary>
 /// Add Dimension to constrain the bend radius.
 /// </summary>
 public override void Commit()
 {
     GetRebarShapeDefinitionBySegments.AddBendVariableRadius(
         m_segment, m_turn, m_bendAngle, m_radiusParameter.Parameter,
         m_measureIncludingBarThickness);
 }
示例#7
0
 /// <summary>
 /// Add bend default radius constraint to RebarShapeDefinitionBySegments.
 /// </summary>
 public override void Commit()
 {
     GetRebarShapeDefinitionBySegments.AddBendDefaultRadius(
         m_segment, m_turn, m_bendAngle);
 }
示例#8
0
 /// <summary>
 /// Remove the direction dimension of segment.
 /// </summary>
 public override void Commit()
 {
     GetRebarShapeDefinitionBySegments.SetSegmentVariableDirection(m_segment);
 }
示例#9
0
 /// <summary>
 /// Add dimension to constrain the direction of the segment.
 /// </summary>
 public override void Commit()
 {
     GetRebarShapeDefinitionBySegments.SetSegmentFixedDirection(
         m_segment, m_vecCoordX, m_vecCoordY);
 }
示例#10
0
 /// <summary>
 /// Add a dimension of 180 degree bend for a segment.
 /// </summary>
 public override void Commit()
 {
     GetRebarShapeDefinitionBySegments.SetSegmentAs180DegreeBend(
         m_segment, m_radiusParameter.Parameter, m_measureToOutsideOfBend);
 }