프로젝트

일반

사용자정보

개정판 0ff6e67f

ID0ff6e67f21fe018f00b202ee00777dbfb77cf45a
상위 a31a512e
하위 1c944b34

gaqhf 이(가) 5년 이상 전에 추가함

dev issue #000 : minor

Change-Id: I93ff82920a8b29a3414e924c6d801c9acbb11795

차이점 보기:

DTI_PID/SPPIDConverter/AutoModeling.cs
1628 1628
                        if (!string.IsNullOrEmpty(targetLine.SPPID.ModelItemId))
1629 1629
                        {
1630 1630
                            LMConnector targetConnector = FindTargetLMConnectorForBranch(line, targetLine, ref x, ref y);
1631
                            placeRunInputs.AddConnectorTarget(targetConnector, x, y, diagonal);
1632
                            ChangeLineSPPIDCoordinateByConnector(groupLine, targetLine, x, y, false);
1631
                            if (targetConnector == null)
1632
                            {
1633
                                placeRunInputs.AddConnectorTarget(targetConnector, x, y, diagonal);
1634
                                ChangeLineSPPIDCoordinateByConnector(groupLine, targetLine, x, y, false);
1635
                            }
1636
                            else
1637
                            {
1638
                                placeRunInputs.AddPoint( x, y);
1639
                                ChangeLineSPPIDCoordinateByConnector(groupLine, targetLine, x, y, false);
1640
                            }
1633 1641
                        }
1634 1642
                        else
1635 1643
                        {
......
2725 2733
        private LMConnector FindTargetLMConnectorForBranch(Line line, Line targetLine, ref double x, ref double y)
2726 2734
        {
2727 2735
            Dictionary<LMConnector, List<double[]>> vertices = GetPipeRunVertices(targetLine.SPPID.ModelItemId);
2736
            if (vertices.Count == 0)
2737
                return null;
2728 2738

  
2729 2739
            double length = double.MaxValue;
2730 2740
            LMConnector targetConnector = null;

내보내기 Unified diff

클립보드 이미지 추가 (최대 크기: 500 MB)