26#include <Inventor/SbBase.h>
27#include <Inventor/SbVec.h>
28#include <Inventor/SbBox.h>
261 double &projlen )
const;
263 bool getClosestPoints_(
const SbLined &line2,
<a href="IconLegend.html"><img src="extTGS.gif" alt="VSG extension" border="0"></a> 3D box class.
static void setIntersectEpsilon(const float epsilon)
Setup epsilon to detect intersection of very small geometry.
SbBool getClosestPoints(const SbLine &line2, SbVec3f &ptOnThis, SbVec3f &ptOnLine2) const
Finds the two closest points between this line and line2, and loads them into ptOnThis and ptOnLi...
const SbVec3f & getDirection() const
Returns direction vector of line.
SbLine()
Default constructor.
void setPosDir(const SbVec3f &position, const SbVec3f &direction)
Sets line using a position and a direction vector.
const SbVec3f & getPosition() const
Returns position of line origin point.
SbVec3f getClosestPoint(const SbVec3f &point) const
Returns the closest point on the line to the given point.
void setValue(const SbVec3f &p0, const SbVec3f &p1)
Sets line to pass through points p0 and p1.
SbLine(const SbVec3f &p0, const SbVec3f &p1)
Constructor.
Directed line in 3D (double precision).
SbVec3d getClosestPoint(const SbVec3d &point) const
Returns the closest point on the line to the given point.
SbLined(const SbVec3d &p0, const SbVec3d &p1)
Constructor.
static void setIntersectEpsilon(const double epsilon)
Setup epsilon to detect intersection of very small geometry.
void setPosDir(const SbVec3d &position, const SbVec3d &direction)
Sets line using a position and a direction vector.
SbBool getClosestPoints(const SbLined &line2, SbVec3d &ptOnThis, SbVec3d &ptOnLine2) const
Finds the two closest points between this line and line2, and loads them into ptOnThis and ptOnLi...
void setValue(const SbVec3d &p0, const SbVec3d &p1)
Sets line to pass through points p0 and p1.
const SbVec3d & getDirection() const
Returns direction vector of line.
SbLined()
Default constructor.
const SbVec3d & getPosition() const
Returns position of line origin point.
<a href="IconLegend.html"><img src="extTGS.gif" alt="VSG extension" border="0"></a> 3D vector class ...
SbVec3d & setValue(const double v[3])
Sets the vector components.
SbVec3f & setValue(const float v[3])
Sets the vector components.
3D box with an associated transformation matrix.