프로젝트

일반

사용자정보

개정판 c62b8070

IDc62b807059685182227f45f3aa380c301390e989
상위 6da5b15c
하위 676d5d30

조봉훈이(가) 약 2년 전에 추가함

Arc: Write Start & End Points

Change-Id: Ie2a4c92f74a6812264527c4c7142f728a6568242

차이점 보기:

DTI_PID/OdReadExMgd/OdReadExMgd.cs
969 969
                writeLine(indent++, pArc.GetRXClass().Name, pArc.Handle);
970 970
                dumpCurveData(pArc, indent, ArcNode);
971 971

  
972
                XmlNode StartPointNode = Program.xml.CreateElement("Vertex");
973
                {
974
                    XAttr = Program.xml.CreateAttribute("X");
975
                    XAttr.Value = pArc.StartPoint.X.ToString();
976
                    StartPointNode.Attributes.SetNamedItem(XAttr);
977

  
978
                    YAttr = Program.xml.CreateAttribute("Y");
979
                    YAttr.Value = pArc.StartPoint.Y.ToString();
980
                    StartPointNode.Attributes.SetNamedItem(YAttr);
981

  
982
                    ZAttr = Program.xml.CreateAttribute("Z");
983
                    ZAttr.Value = pArc.StartPoint.Z.ToString();
984
                    StartPointNode.Attributes.SetNamedItem(ZAttr);
985
                }
986
                ArcNode.AppendChild(StartPointNode);
987

  
988
                XmlNode EndPointNode = Program.xml.CreateElement("Vertex");
989
                {
990
                    XAttr = Program.xml.CreateAttribute("X");
991
                    XAttr.Value = pArc.EndPoint.X.ToString();
992
                    EndPointNode.Attributes.SetNamedItem(XAttr);
993

  
994
                    YAttr = Program.xml.CreateAttribute("Y");
995
                    YAttr.Value = pArc.EndPoint.Y.ToString();
996
                    EndPointNode.Attributes.SetNamedItem(YAttr);
997

  
998
                    ZAttr = Program.xml.CreateAttribute("Z");
999
                    ZAttr.Value = pArc.EndPoint.Z.ToString();
1000
                    EndPointNode.Attributes.SetNamedItem(ZAttr);
1001
                }
1002
                ArcNode.AppendChild(EndPointNode);
1003

  
972 1004
                node.AppendChild(ArcNode);
973 1005

  
974 1006
                return ArcNode;
DTI_PID/OdReadExMgd/OdReadExMgd.csproj
18 18
    </NuGetPackageImportStamp>
19 19
  </PropertyGroup>
20 20
  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|x86' ">
21
    <Optimize>true</Optimize>
21
    <Optimize>false</Optimize>
22 22
    <DefineConstants>ODA_LICENSING_ENABLED;_CRTDBG_MAP_ALLOC;UNLOCK_2019;NET47;TRACE;</DefineConstants>
23 23
    <OutputPath>bin\x86\Release\</OutputPath>
24 24
    <ErrorReport>prompt</ErrorReport>

내보내기 Unified diff

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