|
| virtual double | angle (const Line &other) const |
| | compute angle between a given line. More...
|
| |
| virtual double | computeAlpha (const Point &p) const |
| |
| virtual double | distance (const Line &other) const |
| | compute a distance to line. More...
|
| |
| virtual double | distanceToPoint (const Eigen::Vector3f &from) const |
| | compute a distance to a point More...
|
| |
| virtual double | distanceToPoint (const Eigen::Vector3f &from, Eigen::Vector3f &foot) const |
| | compute a distance to a point and foot point will be assigned to foot. More...
|
| |
| virtual PointPair | findEndPoints (const Vertices &points) const |
| | Extract end points from the points on the lines. More...
|
| |
| virtual Line::Ptr | flip () |
| |
| virtual void | foot (const Eigen::Vector3f &point, Eigen::Vector3f &output) const |
| | compute a point which gives perpendicular projection. More...
|
| |
| virtual Eigen::Vector3f | getDirection () const |
| | get normalized direction vector of the line. More...
|
| |
| virtual void | getDirection (Eigen::Vector3f &output) const |
| | get normalized direction vector of the line and assign it to output. More...
|
| |
| virtual Eigen::Vector3f | getOrigin () const |
| | get origin of the line. More...
|
| |
| virtual void | getOrigin (Eigen::Vector3f &output) const |
| | get origin of the line and assing it to output. More...
|
| |
| virtual bool | isParallel (const Line &other, double angle_threshold=0.1) const |
| | return true if given line is parallel. angle_threshold is error tolerance. More...
|
| |
| virtual bool | isPerpendicular (const Line &other, double angle_threshold=0.1) const |
| | return true if given line is perpendicular. angle_threshold is error tolerance. More...
|
| |
| virtual bool | isSameDirection (const Line &other) const |
| |
| | Line (const Eigen::Vector3f &direction, const Eigen::Vector3f &origin) |
| | Construct a line from direction vector and a point on the line. More...
|
| |
| virtual Ptr | midLine (const Line &other) const |
| | compute a middle line between given line. More...
|
| |
| virtual void | parallelLineNormal (const Line &other, Eigen::Vector3f &output) const |
| | compute a perpendicular line of two lines from origin_ More...
|
| |
| virtual Ptr | parallelLineOnAPoint (const Eigen::Vector3f &p) const |
| | compute a line on a point, whose direction is same to the current line. More...
|
| |
| virtual void | point (double alpha, Eigen::Vector3f &ouptut) |
| | Compute a point on normal from alpha parameter. More...
|
| |
| virtual void | print () |
| | Print Line information. More...
|
| |
Class to represent 3-D straight line.
Definition at line 81 of file line.h.