3D line segment - Double More...
#include <line_segment.h>
Inheritance diagram for clan::LineSegment3d:Public Member Functions | |
| LineSegment3d () | |
| LineSegment3d (const LineSegment3x< double > ©) | |
| LineSegment3d (const Vec3< double > &point_p, const Vec3< double > &point_q) | |
Public Member Functions inherited from clan::LineSegment3x< double > | |
| LineSegment3x () | |
| LineSegment3x (const LineSegment3x< double > ©) | |
| LineSegment3x (const Vec3< double > &point_p, const Vec3< double > &point_q) | |
| Vec3< double > | get_midpoint () const |
| Get the midpoint of this line. | |
| bool | operator!= (const LineSegment3x< double > &line) const |
| != operator. | |
| LineSegment3x< double > & | operator= (const LineSegment3x< double > ©) |
| = operator. | |
| bool | operator== (const LineSegment3x< double > &line) const |
| == operator. | |
| double | point_distance (const Vec3< double > &point, Vec3< double > &dest_intercept) const |
| Calculate the distance from a line segment to a point. | |
Additional Inherited Members | |
Public Attributes inherited from clan::LineSegment3x< double > | |
| Vec3< double > | p |
| Start point on the line. | |
| Vec3< double > | q |
3D line segment - Double
A line segment has a start point and an end point
|
inline |
|
inline |
|
inline |