Пример #1
0
 //构造函数
 public RayTracingModel(ClassNewRay firstRay, ClassNewRay secondRay, ClassNewRay thirdRay)
 {
     this.thirdRay  = thirdRay;
     this.firstRay  = firstRay;
     this.secondRay = secondRay;
     GetAngleOfRayBeam();
     JudgeIfUnitHaveTraced();
 }
Пример #2
0
 //构造函数
 public RayTracingModel(ClassNewRay firstRay, ClassNewRay secondRay, ClassNewRay thirdRay, bool haveTraced)
 {
     this.thirdRay   = thirdRay;
     this.firstRay   = firstRay;
     this.secondRay  = secondRay;
     this.haveTraced = haveTraced;
     GetAngleOfRayBeam();
 }
Пример #3
0
        public Object Clone()
        {
            ClassNewRay param = new ClassNewRay();

            param.Origin            = this.origin;
            param.SVector           = this.sVector;
            param.WhetherHaveTraced = false;
            param.Flag = false;
            return(param);
        }