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