clan::LineSegment3f Class Reference

3D line segment - Float More...

#include <line_segment.h>

+ Inheritance diagram for clan::LineSegment3f:

Public Member Functions

 LineSegment3f ()
 
 LineSegment3f (const LineSegment3x< float > &copy)
 
 LineSegment3f (const Vec3< float > &point_p, const Vec3< float > &point_q)
 
- Public Member Functions inherited from clan::LineSegment3x< float >
 LineSegment3x ()
 
 LineSegment3x (const LineSegment3x< float > &copy)
 
 LineSegment3x (const Vec3< float > &point_p, const Vec3< float > &point_q)
 
Vec3< float > get_midpoint () const
 Get the midpoint of this line. More...
 
bool operator!= (const LineSegment3x< float > &line) const
 != operator. More...
 
LineSegment3x< float > & operator= (const LineSegment3x< float > &copy)
 = 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

- Public Attributes inherited from clan::LineSegment3x< float >
Vec3< float > p
 Start point on the line. More...
 
Vec3< float > q
 

Detailed Description

3D line segment - Float

A line segment has a start point and an end point

Constructor & Destructor Documentation

clan::LineSegment3f::LineSegment3f ( )
inline
clan::LineSegment3f::LineSegment3f ( const LineSegment3x< float > &  copy)
inline
clan::LineSegment3f::LineSegment3f ( const Vec3< float > &  point_p,
const Vec3< float > &  point_q 
)
inline

The documentation for this class was generated from the following file: