Class defining a line.
More...
#include <Math.h>
§ Line() [1/2]
BaseLib::Math::Line::Line |
( |
| ) |
|
|
inline |
§ Line() [2/2]
§ ~Line()
virtual BaseLib::Math::Line::~Line |
( |
| ) |
|
|
inlinevirtual |
§ closestPointToPoint()
void BaseLib::Math::Line::closestPointToPoint |
( |
const Point2D & |
p, |
|
|
Point2D & |
r |
|
) |
| |
Finds the closest point on the line to a point.
- Parameters
-
[in] | p | The point to get the closest point on the line for. |
[out] | r | The point on the line which is closest to p. |
§ getA()
Point2D BaseLib::Math::Line::getA |
( |
| ) |
const |
|
inline |
§ getB()
Point2D BaseLib::Math::Line::getB |
( |
| ) |
const |
|
inline |
§ setA() [1/2]
void BaseLib::Math::Line::setA |
( |
Point2D |
value | ) |
|
|
inline |
§ setA() [2/2]
void BaseLib::Math::Line::setA |
( |
Point2D & |
value | ) |
|
|
inline |
§ setB() [1/2]
void BaseLib::Math::Line::setB |
( |
Point2D |
value | ) |
|
|
inline |
§ setB() [2/2]
void BaseLib::Math::Line::setB |
( |
Point2D & |
value | ) |
|
|
inline |
§ _a
§ _b
The documentation for this class was generated from the following files: