コード例 #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
ファイル: TdPolyPoint.cs プロジェクト: yannisgu/OcadParser
 protected bool Equals(TdPolyPoint other)
 {
     return Coordinate == other.Coordinate;
 }
コード例 #3
0
ファイル: TdPoly.cs プロジェクト: yannisgu/OcadParser
 public TdPoly(TdPolyPoint x, TdPolyPoint y)
 {
     X = x;
     Y = y;
 }