mardi 4 septembre 2018

distance from point to plane in a particular direction

Given:

  1. a point (x1, y1, z1)
  2. a direction vector (a1, b1, c1)
  3. a plane ax + by + cz + d = 0

How can I find the distance D from the point to the plane along that vector? What common c++ library can I use?

Thanks

Aucun commentaire:

Enregistrer un commentaire