public void CreateRay( DxfEntity entity, DrawContext.Wireframe drawContext, ArgbColor color, Segment4D segment) { }
public void CreateXLine(DxfEntity entity, Vector4D?startPoint, Segment4D segment) { System.Windows.Point windowsPoint1 = this.matrix4D_0.TransformToWindowsPoint(segment.Start); System.Windows.Point windowsPoint2 = this.matrix4D_0.TransformToWindowsPoint(segment.End); this.class453_0.method_1(windowsPoint1, false, false); this.class453_0.method_3(windowsPoint2, true); }
public void CreateXLine(DxfEntity entity, Vector4D?startPoint, Segment4D segment) { WpfWireframeGraphics3DUsingDrawingVisual.Class380.Class381 class381 = this.stack_0.Peek(); System.Windows.Point windowsPoint1 = this.matrix4D_0.TransformToWindowsPoint(segment.Start); System.Windows.Point windowsPoint2 = this.matrix4D_0.TransformToWindowsPoint(segment.End); class381.method_1(windowsPoint1, false, false); class381.method_3(windowsPoint2, false); }
public void CreateRay( DxfEntity entity, DrawContext.Wireframe drawContext, ArgbColor color, Segment4D segment) { this.linkedListNodeRef_0.Insert((IWireframeDrawable) new WireframeGraphicsCache.Class965(entity, drawContext, color, segment)); }
public void CreateRay( DxfEntity entity, DrawContext.Wireframe drawContext, ArgbColor color, Segment4D segment) { this.method_4(segment, color); }
public void CreateRay( DxfEntity entity, DrawContext.Wireframe drawContext, ArgbColor color, Segment4D segment) { this.iwireframeGraphicsFactory_0.CreateRay(entity, drawContext, this.func_0(color), segment); }
public void CreateXLine( DxfEntity entity, DrawContext.Wireframe drawContext, ArgbColor color, Vector4D?startPoint, Segment4D segment) { }
public void CreateRay( DxfEntity entity, DrawContext.Wireframe drawContext, ArgbColor color, Segment4D segment) { this.method_4(false, (Interface12) new Class345(new Vector4D?(segment.Start), segment, this.GetColor(color), drawContext.GetLineWeight(entity))); }
public void CreateXLine( DxfEntity entity, DrawContext.Wireframe drawContext, ArgbColor color, Vector4D?startPoint, Segment4D segment) { this.linkedListNodeRef_0.Insert((IWireframeDrawable) new WireframeGraphicsCache.Class966(entity, drawContext, color, startPoint, segment)); }
public void CreateXLine( DxfEntity entity, DrawContext.Wireframe drawContext, ArgbColor color, Vector4D?startPoint, Segment4D segment) { this.iwireframeGraphicsFactory_0.CreateXLine(entity, drawContext, this.func_0(color), startPoint, segment); }
public Class965( DxfEntity entity, DrawContext.Wireframe drawContext, ArgbColor color, Segment4D segment) : base(entity, drawContext, color) { this.color = color; this.segment4D_0 = segment; }
public IList <Segment4D> Transform(Segment3D segment) { Segment4D segment1 = new Segment4D((Vector4D)segment.Start, (Vector4D)segment.End); IList <Segment4D> segment4DList = (IList <Segment4D>) new List <Segment4D>(); foreach (Segment4D segment4D in (IEnumerable <Segment4D>) this.interface32_0.Clip(segment1)) { segment4DList.Add(new Segment4D(this.matrix4D_0.Transform(segment4D.Start), this.matrix4D_0.Transform(segment4D.End))); } return(segment4DList); }
public void CreateRay( DxfEntity entity, DrawContext.Wireframe drawContext, ArgbColor color, Segment4D segment) { Point2D start = (Point2D)segment.Start; Point2D end = (Point2D)segment.End; this.graphicsPath_0.AddLine((float)start.X, (float)start.Y, (float)end.X, (float)end.Y); }
public IList <Segment4D> Transform(Segment3D segment) { Segment4D segment1 = new Segment4D(this.matrix4D_0.TransformTo4D(segment.Start), this.matrix4D_0.TransformTo4D(segment.End)); List <Segment4D> segment4DList = new List <Segment4D>(); foreach (Segment4D segment4D in (IEnumerable <Segment4D>) this.blinnClipper4D_0.Clip(segment1)) { segment4DList.Add(new Segment4D(this.matrix4D_1.Transform(segment4D.Start), this.matrix4D_1.Transform(segment4D.End))); } return((IList <Segment4D>)segment4DList); }
public Class966( DxfEntity entity, DrawContext.Wireframe drawContext, ArgbColor color, Vector4D?startPoint, Segment4D segment) : base(entity, drawContext, color) { this.nullable_0 = startPoint; this.segment4D_0 = segment; }
public override IList <Segment4D> Clip(Segment4D segment) { Point3D point3D1 = this.matrix4D_1.TransformToPoint3D(segment.Start); Point3D point3D2 = this.matrix4D_1.TransformToPoint3D(segment.End); Point2D point = (Point2D)point3D1; Vector2D vector2D = (Point2D)point3D2 - point; bool flag = Class455.Contains(this.class461_0, point); if (vector2D == Vector2D.Zero) { if (!flag) { return(AbstractClipperBase4D.SegmentClippedAway); } return((IList <Segment4D>) new Segment4D[1] { segment }); } List <Class455.Class456> class456List = this.class461_0.method_1(point3D1, point3D2); if (class456List.Count == 0) { if (!flag) { return(AbstractClipperBase4D.SegmentClippedAway); } return((IList <Segment4D>) new Segment4D[1] { segment }); } class456List.Sort(new Comparison <Class455.Class456>(Class455.Class456.smethod_1)); Vector4D delta = segment.GetDelta(); List <Segment4D> segment4DList = new List <Segment4D>(); double num = 0.0; foreach (Class455.Class456 class456 in class456List) { if (flag) { segment4DList.Add(new Segment4D(segment.Start + num * delta, segment.Start + class456.double_1 * delta)); } else { num = class456.double_1; } flag = !flag; } if (flag) { segment4DList.Add(new Segment4D(segment.Start + num * delta, segment.End)); } return((IList <Segment4D>)segment4DList); }
public void CreateXLine(DxfEntity entity, Vector4D?startPoint, Segment4D segment) { this.method_2(segment); }
public void CreateRay(DxfEntity entity, Segment4D segment) { this.method_2(segment); }
public Class345(Vector4D?startPoint, Segment4D segment, ArgbColor color, short lineWeight) : base(color, lineWeight) { this.nullable_0 = startPoint; this.segment4D_0 = segment; }
private void method_4(Segment4D segment, ArgbColor color) { this.method_5(segment.Start, segment.End, color); }
public void CreateRay(DxfEntity entity, Segment4D segment) { this.class925_0.Add((IWireframeDrawable2) new WireframeGraphics2Cache.Class931(entity, segment)); }
public void CreateXLine(DxfEntity entity, Vector4D?startPoint, Segment4D segment) { this.class925_0.Add((IWireframeDrawable2) new WireframeGraphics2Cache.Class932(entity, startPoint, segment)); }
public Class931(DxfEntity entity, Segment4D segment) { this.dxfEntity_0 = entity; this.segment4D_0 = segment; }
public Class932(DxfEntity entity, Vector4D?startPoint, Segment4D segment) { this.dxfEntity_0 = entity; this.nullable_0 = startPoint; this.segment4D_0 = segment; }
public void CreateXLine(DxfEntity entity, Vector4D?startPoint, Segment4D segment) { this.iwireframeGraphicsFactory2_0.CreateXLine(entity, startPoint, segment); }
private void method_2(Segment4D segment) { this.method_3(this.xamlExporter_0.matrix4D_0.Transform(segment.Start), this.xamlExporter_0.matrix4D_0.Transform(segment.End)); }
internal static void Extrude( DxfEntity entity, DrawContext.Surface context, ISurfaceGraphicsFactory graphicsFactory, WW.Math.Geometry.Polyline3D polyline, bool isSurface, Vector3D extrusion) { Interface41 transformer = context.GetTransformer(); if (polyline.Count == 1) { WW.Math.Point3D start = polyline[0]; Segment4D segment4D = DxfUtil.smethod_50(new Segment3D(start, start + extrusion), transformer); graphicsFactory.CreateSegment(segment4D.Start, segment4D.End); } else if (polyline.Count == 2) { WW.Math.Point3D point3D1 = polyline[0]; WW.Math.Point3D point3D2 = polyline[1]; Polyline4D boundary = DxfUtil.smethod_46(new WW.Math.Geometry.Polyline3D(true, new WW.Math.Point3D[4] { point3D1, point3D2, point3D2 + extrusion, point3D1 + extrusion }), transformer); Class940.smethod_20(entity, context, graphicsFactory, boundary, (List <bool>)null); } else if (isSurface) { Polyline4D boundary1 = DxfUtil.smethod_46(polyline, transformer); Class940.smethod_20(entity, context, graphicsFactory, boundary1, (List <bool>)null); WW.Math.Point3D point3D1 = polyline[polyline.Count - 1]; WW.Math.Point3D point3D2 = point3D1 + extrusion; WW.Math.Geometry.Polyline3D polyline1 = new WW.Math.Geometry.Polyline3D(polyline.Count, polyline.Closed); for (int index = 0; index < polyline.Count; ++index) { WW.Math.Point3D point3D3 = polyline[index]; WW.Math.Point3D point3D4 = point3D3 + extrusion; polyline1.Add(point3D4); Polyline4D boundary2 = DxfUtil.smethod_46(new WW.Math.Geometry.Polyline3D(true, new WW.Math.Point3D[4] { point3D3, point3D1, point3D2, point3D4 }), transformer); Class940.smethod_20(entity, context, graphicsFactory, boundary2, (List <bool>)null); point3D1 = point3D3; point3D2 = point3D4; } Polyline4D boundary3 = DxfUtil.smethod_46(polyline1, transformer); Class940.smethod_20(entity, context, graphicsFactory, boundary3, (List <bool>)null); } else { WW.Math.Point3D point3D1 = polyline[polyline.Count - 1]; WW.Math.Point3D point3D2 = point3D1 + extrusion; WW.Math.Geometry.Polyline3D polyline3D = new WW.Math.Geometry.Polyline3D(polyline.Count, polyline.Closed); for (int index = 0; index < polyline.Count; ++index) { WW.Math.Point3D point3D3 = polyline[index]; WW.Math.Point3D point3D4 = point3D3 + extrusion; polyline3D.Add(point3D4); Polyline4D boundary = DxfUtil.smethod_46(new WW.Math.Geometry.Polyline3D(true, new WW.Math.Point3D[4] { point3D3, point3D1, point3D2, point3D4 }), transformer); Class940.smethod_20(entity, context, graphicsFactory, boundary, (List <bool>)null); point3D1 = point3D3; point3D2 = point3D4; } } }
public void CreateRay(DxfEntity entity, Segment4D segment) { this.iwireframeGraphicsFactory2_0.CreateRay(entity, segment); }