53 return Line(point1, point2 - point1);
60 return Line(point, direction);
static Line fromPointAndDirection(const Vector3 &point, const Vector3 &direction)
Definition: Line.h:59
void serialize(class BinaryOutput &b) const
Definition: Line.cpp:40
Line()
Definition: Line.h:39
Vector3 direction() const
Definition: Line.cpp:63
Vector3 direction() const
Definition: Vector3.h:756
Vector3 closestPoint(const Line &B) const
Definition: Line.h:96
virtual ~Line()
Definition: Line.h:47
Vector3 _direction
Definition: Line.h:29
Vector3 _point
Definition: Line.h:28
Vector3 closestPoint(const Vector3 &pt) const
Definition: Line.cpp:52
Line(const Vector3 &point, const Vector3 &direction)
Definition: Line.h:31
Definition: BinaryOutput.h:52
double distance(const Vector3 &point) const
Definition: Line.h:71
Vector3 intersection(const Plane &plane) const
Definition: Line.cpp:17
static Line fromTwoPoints(const Vector3 &point1, const Vector3 &point2)
Definition: Line.h:52
Vector3 point() const
Definition: Line.cpp:58
void deserialize(class BinaryInput &b)
Definition: Line.cpp:46