/// <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); }
/// <summary> /// Remove dimension from Rebar shape. /// </summary> public override void Commit() { GetRebarShapeDefinitionBySegments.RemoveParameterFromSegment( m_segment, m_radiusParameter.Parameter); }
/// <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); }
/// <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); }
/// <summary> /// Add Dimension to constrain the segment length. /// </summary> public override void Commit() { GetRebarShapeDefinitionBySegments.AddConstraintParallelToSegment( m_segment, m_parameter.Parameter, m_measureToOutsideOfBend0, m_measureToOutsideOfBend1); }
/// <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); }
/// <summary> /// Add bend default radius constraint to RebarShapeDefinitionBySegments. /// </summary> public override void Commit() { GetRebarShapeDefinitionBySegments.AddBendDefaultRadius( m_segment, m_turn, m_bendAngle); }
/// <summary> /// Remove the direction dimension of segment. /// </summary> public override void Commit() { GetRebarShapeDefinitionBySegments.SetSegmentVariableDirection(m_segment); }
/// <summary> /// Add dimension to constrain the direction of the segment. /// </summary> public override void Commit() { GetRebarShapeDefinitionBySegments.SetSegmentFixedDirection( m_segment, m_vecCoordX, m_vecCoordY); }
/// <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); }