Algorithms to project on lines/planes/. More...
#include <config.h>
#include <geometry/geometry.h>
Go to the source code of this file.
Namespaces | |
namespace | geometry |
Algorithmic geometry. | |
Functions | |
template<size_t N> | |
util::Vector< N, double > | geometry::projectPointOnLine (const util::Vector< N, double > &pt, const util::Vector< N, double > &u1, const util::Vector< N, double > &u2, bool strict=false) |
Project a point on a line. | |
Point3d | geometry::projectPointOnPlane (const Point3d &pos, const Point3d &p, const Point3d &n) |
Project a point into a plane defined by a point and a normal to the plane. | |
Point3d | geometry::projectPointOnTriangle (const Point3d &pt, const Point3d &p1, const Point3d &p2, const Point3d &p3, double &s, bool *in_triangle=0) |
Project a point into a triangle. |
Algorithms to project on lines/planes/.
..
Definition in file projection.h.