public FundamentalRegion ReflectInMirror(int mirrorId) { Mirror[] newBoundary = new Mirror[boundary.Length]; Mirror m = boundary[mirrorId]; for (int i = 0; i < boundary.Length; i++) { newBoundary[i] = m.Reflect(boundary[i]); } return(new FundamentalRegion(newBoundary)); }
public Mirror Reflect(Mirror tobeReflected) { var T = Space.I }