clan::LineSegment3d Class Reference

3D line segment - Double More...

#include <line_segment.h>

+ Inheritance diagram for clan::LineSegment3d:

Public Member Functions

 LineSegment3d ()
 
 LineSegment3d (const LineSegment3x< double > &copy)
 
 LineSegment3d (const Vec3< double > &point_p, const Vec3< double > &point_q)
 
- Public Member Functions inherited from clan::LineSegment3x< double >
 LineSegment3x ()
 
 LineSegment3x (const LineSegment3x< double > &copy)
 
 LineSegment3x (const Vec3< double > &point_p, const Vec3< double > &point_q)
 
Vec3< double > get_midpoint () const
 Get the midpoint of this line. More...
 
bool operator!= (const LineSegment3x< double > &line) const
 != operator. More...
 
LineSegment3x< double > & operator= (const LineSegment3x< double > &copy)
 = operator. More...
 
bool operator== (const LineSegment3x< double > &line) const
 == operator. More...
 
double point_distance (const Vec3< double > &point, Vec3< double > &dest_intercept) const
 Calculate the distance from a line segment to a point. More...
 

Additional Inherited Members

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

Detailed Description

3D line segment - Double

A line segment has a start point and an end point

Constructor & Destructor Documentation

clan::LineSegment3d::LineSegment3d ( )
inline
clan::LineSegment3d::LineSegment3d ( const LineSegment3x< double > &  copy)
inline
clan::LineSegment3d::LineSegment3d ( const Vec3< double > &  point_p,
const Vec3< double > &  point_q 
)
inline

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