Example #1
0
 public bool IsParallelTo(RayLine2 line)
 {
     return(line.IsValid && this.IsParallelTo(line.Direction));
 }
Example #2
0
 public bool IsOrthogonalTo(RayLine2 line)
 {
     return(line.IsValid && this.IsOrthogonalTo(line.Direction));
 }
Example #3
0
 public RayLine2 Reflect(RayLine2 line)
 {
     return(new RayLine2(Reflect(line.StartPoint), -line.Direction));
 }