|
ClanLib
2.3.7
|
3D line segment - Float More...
#include <line_segment.h>

Public Member Functions | |
| CL_LineSegment3f () | |
| CL_LineSegment3f (const CL_LineSegment3x< float > ©) | |
| CL_LineSegment3f (const CL_Vec3< float > &point_p, const CL_Vec3< float > &point_q) | |
Attributes | |
| CL_Vec3< float > | get_midpoint () const |
| Get the midpoint of this line. More... | |
| float | point_distance (const CL_Vec3< float > &point, CL_Vec3< float > &dest_intercept) const |
| Calculate the distance from a line segment to a point. More... | |
Operators | |
| bool | operator== (const CL_LineSegment3x< float > &line) const |
| == operator. More... | |
| bool | operator!= (const CL_LineSegment3x< float > &line) const |
| != operator. More... | |
Public Attributes | |
| CL_Vec3< float > | p |
| Start point on the line. More... | |
| CL_Vec3< float > | q |
3D line segment - Float
A line segment has a start point and an end point
|
inline |
|
inline |
|
inline |
|
inlineinherited |
Get the midpoint of this line.
|
inlineinherited |
!= operator.
|
inlineinherited |
== operator.
|
inherited |
Calculate the distance from a line segment to a point.
| point | = The point |
| dest_intercept | = On Return: The point on the line closest to the point |
|
inherited |
Start point on the line.
|
inherited |
1.8.4