示例#1
0
文件: DxfRay.cs 项目: 15831944/WW
 public override void DrawInternal(
     DrawContext.Wireframe context,
     IWireframeGraphicsFactory graphicsFactory)
 {
     foreach (Segment4D segment in (IEnumerable <Segment4D>)context.GetTransformer().Transform(new Segment3D(this.point3D_0, this.point3D_0 + 10000000.0 * this.vector3D_0)))
     {
         graphicsFactory.CreateRay((DxfEntity)this, context, context.GetPlotColor((DxfEntity)this), segment);
     }
 }
示例#2
0
 public void Draw(IWireframeGraphicsFactory graphicsFactory)
 {
     graphicsFactory.CreateRay(this.entity, this.drawContext, this.color, this.segment4D_0);
 }