コード例 #1
0
ファイル: TdPoly.cs プロジェクト: yannisgu/OcadParser
 public TdPoly(TdPolyPoint x, TdPolyPoint y, TdPoly basePoly)
     : this(x, y)
 {
     IsAreaBorderOrVirtualGapLine = basePoly.IsAreaBorderOrVirtualGapLine;
     IsCornerPoint = basePoly.IsCornerPoint;
     IsFirstBezierCurvePoint = basePoly.IsFirstBezierCurvePoint;
     IsFirstPointInAreaHole = basePoly.IsFirstPointInAreaHole;
     IsLeftLineHiddenUntillNextPoint = basePoly.IsLeftLineHiddenUntillNextPoint;
     IsPointDashLine = basePoly.IsPointDashLine;
     IsRightLineHiddenUntilNextPoint = basePoly.IsRightLineHiddenUntilNextPoint;
     IsSecondBezierCurvePoint = basePoly.IsSecondBezierCurvePoint;
 }
コード例 #2
0
ファイル: TdPoly.cs プロジェクト: yannisgu/OcadParser
 public TdPoly MoveBy(TdPoly point)
 {
     return new TdPoly(X.Coordinate + point.X.Coordinate, Y.Coordinate + point.Y.Coordinate, this);
 }