33 template<
typename Type>
36 template<
typename Type>
39 template<
typename Type>
42 template<
typename Type>
48 template<
typename Type>
80 template<
typename Type>
93 Line2x(
const Vec2<Type> &point_p, Type gradient) : p(point_p), q(static_cast<Type> (1), gradient) {}
Line3()
Definition: line.h:152
Line2d()
Definition: line.h:142
Line3x()
Definition: line.h:55
bool operator!=(const Line2x< Type > &line) const
!= operator.
Definition: line.h:115
Vec3< Type > intersection(const Line3x< Type > &second, bool &intersect, Type range=(Type) 0.5) const
Return the intersection of this and other line.
2D vector
Definition: line.h:43
Line2x< Type > & operator=(const Line2x< Type > ©)
= operator.
Definition: line.h:109
Line3(const Line3x< int > ©)
Definition: line.h:153
Line3(const Vec3< int > &point_p, const Vec3< int > &point_q)
Definition: line.h:154
3D vector
Definition: line_ray.h:43
Vec2< Type > intersection(const Line2x< Type > &second, bool &intersect) const
Return the intersection of this and other line.
Line3d(const Line3x< double > ©)
Definition: line.h:171
Line3d()
Definition: line.h:170
2D line
Definition: line.h:34
Type x
Definition: vec2.h:75
Vec3< Type > q
Definition: line.h:53
Line3f()
Definition: line.h:161
Vec2< Type > p
First point on the line.
Definition: line.h:85
Line2(const Line2x< int > ©)
Definition: line.h:123
Line2d(const Line2x< double > ©)
Definition: line.h:143
Line2f(const Vec2< float > &point_p, float gradient)
Definition: line.h:135
3D line - Integer
Definition: line.h:149
Line2x(const Vec2< Type > &point_p, const Vec2< Type > &point_q)
Definition: line.h:92
Line2f(const Vec2< float > &point_p, const Vec2< float > &point_q)
Definition: line.h:134
3D line - Double
Definition: line.h:167
Line3x< Type > & operator=(const Line3x< Type > ©)
= operator.
Definition: line.h:68
Line2()
Definition: line.h:122
2D line - Float
Definition: line.h:129
Line2x()
Definition: line.h:90
bool operator!=(const Line3x< Type > &line) const
!= operator.
Definition: line.h:74
Type y
Definition: vec2.h:76
Line2x(const Vec2< Type > &point_p, Type gradient)
Definition: line.h:93
Line2f(const Line2x< float > ©)
Definition: line.h:133
Type point_right_of_line(Vec2< Type > point) const
Return [<0, 0, >0] if the Point P is right, on or left of the line trough A,B.
Definition: line.h:106
Line2x(const Line2x< Type > ©)
Definition: line.h:91
Line3f(const Vec3< float > &point_p, const Vec3< float > &point_q)
Definition: line.h:163
Line2(const Vec2< int > &point_p, int gradient)
Definition: line.h:125
bool operator==(const Line3x< Type > &line) const
== operator.
Definition: line.h:71
Line2(const Vec2< int > &point_p, const Vec2< int > &point_q)
Definition: line.h:124
Vec3< Type > p
Definition: line.h:52
2D (left,top,right,bottom) rectangle structure.
Definition: line.h:40
3D line
Definition: line.h:37
Vec2< Type > q
Definition: line.h:88
Line3f(const Line3x< float > ©)
Definition: line.h:162
bool operator==(const Line2x< Type > &line) const
== operator.
Definition: line.h:112
Line2d(const Vec2< double > &point_p, double gradient)
Definition: line.h:145
2D line - Integer
Definition: line.h:119
Line3x(const Line3x< Type > ©)
Definition: line.h:56
2D line - Double
Definition: line.h:139
Line2d(const Vec2< double > &point_p, const Vec2< double > &point_q)
Definition: line.h:144
Line2f()
Definition: line.h:132
Line3x(const Vec3< Type > &point_p, const Vec3< Type > &point_q)
Definition: line.h:57
3D line - Float
Definition: line.h:158
Definition: Application/application.h:35
Line3d(const Vec3< double > &podouble_p, const Vec3< double > &podouble_q)
Definition: line.h:172