예제 #1
0
 public bool IsParallelTo(StraightLine2 line)
 {
     return(line.IsValid && this.IsParallelTo(line.Direction));
 }
예제 #2
0
 public bool IsOrthogonalTo(StraightLine2 line)
 {
     return(line.IsValid && this.IsOrthogonalTo(line.Direction));
 }
예제 #3
0
 public StraightLine2 Reflect(StraightLine2 line)
 {
     return(new StraightLine2(Reflect(line.BasicPoint), -line.Direction));
 }