#include <Geometry.hpp>
◆ Line() [1/3]
template<class T, int Dim>
Does not zero-initialize members.
◆ Line() [2/3]
template<class T, int Dim>
Construct a line through base in given direction .
- Parameters
-
base | Any point in 3D space. |
direction | Must be normalized. |
◆ Line() [3/3]
template<class T, int Dim>
A 2D plane and line are equivalent, converts representation. Only for 2D.
◆ Base()
template<class T, int Dim>
Returns the base point or point1 as given in constructor.
◆ Direction()
template<class T, int Dim>
Return the signed direction of the line (as given in constructor).
◆ PointAt()
template<class T, int Dim>
Returns the point at param distance from the base point along direction.
◆ Through()
template<class T, int Dim>
Constructs a line through both points.
- Parameters
-
point1 | Base of the line. |
point2 | Specifies direction only. |
◆ base
template<class T, int Dim>
◆ direction
template<class T, int Dim>
The documentation for this class was generated from the following file: