uicore::Line2 Class Reference

2D line - Integer More...

#include <line.h>

+ Inheritance diagram for uicore::Line2:

Public Member Functions

 Line2 ()
 
 Line2 (const Line2x< int > &copy)
 
 Line2 (const Vec2< int > &point_p, const Vec2< int > &point_q)
 
 Line2 (const Vec2< int > &point_p, int gradient)
 
- Public Member Functions inherited from uicore::Line2x< int >
 Line2x ()
 
 Line2x (const Line2x< int > &copy)
 
 Line2x (const Vec2< int > &point_p, const Vec2< int > &point_q)
 
 Line2x (const Vec2< int > &point_p, int gradient)
 
Vec2< int > intersection (const Line2x< int > &second, bool &intersect) const
 Return the intersection of this and other line. More...
 
bool operator!= (const Line2x< int > &line) const
 != operator. More...
 
Line2x< int > & operator= (const Line2x< int > &copy)
 = operator. More...
 
bool operator== (const Line2x< int > &line) const
 == operator. More...
 
int point_right_of_line (Vec2< int > point) const
 Return [<0, 0, >0] if the Point P is right, on or left of the line trough A,B. More...
 

Additional Inherited Members

- Public Attributes inherited from uicore::Line2x< int >
Vec2< int > p
 First point on the line. More...
 
Vec2< int > q
 

Detailed Description

2D line - Integer

Constructor & Destructor Documentation

uicore::Line2::Line2 ( )
inline
uicore::Line2::Line2 ( const Line2x< int > &  copy)
inline
uicore::Line2::Line2 ( const Vec2< int > &  point_p,
const Vec2< int > &  point_q 
)
inline
uicore::Line2::Line2 ( const Vec2< int > &  point_p,
int  gradient 
)
inline

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