//构造函数 public RayTracingModel(ClassNewRay firstRay, ClassNewRay secondRay, ClassNewRay thirdRay) { this.thirdRay = thirdRay; this.firstRay = firstRay; this.secondRay = secondRay; GetAngleOfRayBeam(); JudgeIfUnitHaveTraced(); }
//构造函数 public RayTracingModel(ClassNewRay firstRay, ClassNewRay secondRay, ClassNewRay thirdRay, bool haveTraced) { this.thirdRay = thirdRay; this.firstRay = firstRay; this.secondRay = secondRay; this.haveTraced = haveTraced; GetAngleOfRayBeam(); }
public Object Clone() { ClassNewRay param = new ClassNewRay(); param.Origin = this.origin; param.SVector = this.sVector; param.WhetherHaveTraced = false; param.Flag = false; return(param); }