Пример #1
0
            public Logical3D GetLogical3D(I3DPhysicalVariantAccessor acc, int idx)
            {
                var shifted = new Logical3D(
                    _xScale.PhysicalVariantToNormal(acc.GetXPhysical(idx)),
                    _yScale.PhysicalVariantToNormal(acc.GetYPhysical(idx)));

                return(shifted);
            }
Пример #2
0
            public Logical3D GetLogical3D(I3DPhysicalVariantAccessor acc, int idx)
            {
                Logical3D r;

                r.RX = XAxis.PhysicalVariantToNormal(acc.GetXPhysical(idx));
                r.RY = YAxis.PhysicalVariantToNormal(acc.GetYPhysical(idx));
                r.RZ = 0;
                return(r);
            }
Пример #3
0
 public Logical3D GetLogical3D(I3DPhysicalVariantAccessor acc, int idx)
 {
   Logical3D r;
   r.RX = XAxis.PhysicalVariantToNormal(acc.GetXPhysical(idx));
   r.RY = YAxis.PhysicalVariantToNormal(acc.GetYPhysical(idx));
   r.RZ = Is3D ? ZAxis.PhysicalVariantToNormal(acc.GetZPhysical(idx)) : 0;
   return r;
 }
Пример #4
0
			public Logical3D GetLogical3D(I3DPhysicalVariantAccessor acc, int idx)
			{
				Logical3D shifted = new Logical3D(
					_xScale.PhysicalVariantToNormal(acc.GetXPhysical(idx)),
					_yScale.PhysicalVariantToNormal(acc.GetYPhysical(idx)));
				return shifted;
			}