3D line segment - Float More...
#include <line_segment.h>
Public Member Functions | |
LineSegment3f () | |
LineSegment3f (const LineSegment3x< float > ©) | |
LineSegment3f (const Vec3< float > &point_p, const Vec3< float > &point_q) | |
![]() | |
LineSegment3x () | |
LineSegment3x (const LineSegment3x< float > ©) | |
LineSegment3x (const Vec3< float > &point_p, const Vec3< float > &point_q) | |
Vec3< float > | midpoint () const |
Get the midpoint of this line. More... | |
bool | operator!= (const LineSegment3x< float > &line) const |
!= operator. More... | |
LineSegment3x< float > & | operator= (const LineSegment3x< float > ©) |
= operator. More... | |
bool | operator== (const LineSegment3x< float > &line) const |
== operator. More... | |
float | point_distance (const Vec3< float > &point, Vec3< float > &dest_intercept) const |
Calculate the distance from a line segment to a point. More... | |
Additional Inherited Members | |
![]() | |
Vec3< float > | p |
Start point on the line. More... | |
Vec3< float > | q |
3D line segment - Float
A line segment has a start point and an end point
|
inline |
|
inline |
|
inline |