Esempio n. 1
0
 //构造函数
 public RayTracingModel(ClassNewRay firstRay, ClassNewRay secondRay, ClassNewRay thirdRay)
 {
     this.thirdRay  = thirdRay;
     this.firstRay  = firstRay;
     this.secondRay = secondRay;
     GetAngleOfRayBeam();
     JudgeIfUnitHaveTraced();
 }
Esempio n. 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();
 }
Esempio n. 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);
        }