public bool IsParallelTo(RayLine2 line) { return(line.IsValid && this.IsParallelTo(line.Direction)); }
public bool IsOrthogonalTo(RayLine2 line) { return(line.IsValid && this.IsOrthogonalTo(line.Direction)); }
public RayLine2 Reflect(RayLine2 line) { return(new RayLine2(Reflect(line.StartPoint), -line.Direction)); }