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