Exemplo n.º 1
0
 public Location2D ProjectToLine(LinearParameter2D lp)
 {
     return(lp.Point(0) + lp.DirectionVector().Project((new Vector2D(this, lp.Point(0)))));
 }
Exemplo n.º 2
0
 public Location2F ProjectToLine(LinearParameter2D lp)
 {
     return((Location2F)lp.Point(0) + (Vector2F)lp.DirectionVector().Project((new Vector2F(this, (Location2F)lp.Point(0)))));
 }