Ejemplo n.º 1
0
        public override void CopyFrom(DxfHandledObject from, CloneContext cloneContext)
        {
            base.CopyFrom(from, cloneContext);
            DxfRay dxfRay = (DxfRay)from;

            this.point3D_0  = dxfRay.point3D_0;
            this.vector3D_0 = dxfRay.vector3D_0;
        }
Ejemplo n.º 2
0
        public override IGraphCloneable Clone(CloneContext cloneContext)
        {
            DxfRay dxfRay = (DxfRay)cloneContext.GetExistingClone((IGraphCloneable)this);

            if (dxfRay == null)
            {
                dxfRay = new DxfRay();
                cloneContext.RegisterClone((IGraphCloneable)this, (IGraphCloneable)dxfRay);
                dxfRay.CopyFrom((DxfHandledObject)this, cloneContext);
            }
            return((IGraphCloneable)dxfRay);
        }
Ejemplo n.º 3
0
 public virtual void Visit(DxfRay ray)
 {
 }
Ejemplo n.º 4
0
 public virtual void Visit(DxfRay ray)
 {
     this.VisitEntity((DxfEntity)ray);
 }