#include <LineS2.h>
Public Member Functions | |
LineS2 () | |
LineS2 (const PointS2< FT > &p, const PointS2< FT > &q) | |
LineS2 (const FT &a, const FT &b, const FT &c) | |
LineS2 (const SegmentS2< FT > &s) | |
LineS2 (const RayS2< FT > &r) | |
LineS2 (const PointS2< FT > &p, const DirectionS2< FT > &d) | |
bool | operator== (const LineS2< FT > &l) const |
bool | operator!= (const LineS2< FT > &l) const |
FT | a () const |
FT | b () const |
FT | c () const |
FT | x_at_y (const FT &y) const |
FT | y_at_x (const FT &x) const |
LineS2< FT > | perpendicular (const PointS2< FT > &p) const |
LineS2< FT > | opposite () const |
PointS2< FT > | point (int i) const |
PointS2< FT > | point () const |
PointS2< FT > | projection (const PointS2< FT > &p) const |
DirectionS2< FT > | direction () const |
Oriented_side | oriented_side (const PointS2< FT > &p) const |
bool | has_on_boundary (const PointS2< FT > &p) const |
bool | has_on_positive_side (const PointS2< FT > &p) const |
bool | has_on_negative_side (const PointS2< FT > &p) const |
bool | is_horizontal () const |
bool | is_vertical () const |
bool | is_degenerate () const |
LineS2< FT > | transform (const Aff_transformationS2< FT > &t) const |
void | new_rep (const PointS2< FT > &p, const PointS2< FT > &q) |
void | new_rep (const FT &a, const FT &b, const FT &c) |
Public Attributes | |
FT | e0 |
FT | e1 |
FT | e2 |
Definition at line 150 of file LineS2.h.
References SegmentS2< FT >::end(), and SegmentS2< FT >::start().
Definition at line 155 of file LineS2.h.
References RayS2< FT >::second_point(), and RayS2< FT >::start().
CGAL_KERNEL_INLINE LineS2 | ( | const PointS2< FT > & | p, |
const DirectionS2< FT > & | d | ||
) |
Definition at line 160 of file LineS2.h.
References DirectionS2< FT >::dx(), DirectionS2< FT >::dy(), PointS2< FT >::x(), and PointS2< FT >::y().
|
inline |
Definition at line 188 of file LineS2.h.
Referenced by LineS2< FT >::operator==().
|
inline |
Definition at line 193 of file LineS2.h.
Referenced by LineS2< FT >::operator==().
|
inline |
Definition at line 198 of file LineS2.h.
Referenced by LineS2< FT >::operator==().
|
inline |
Definition at line 270 of file LineS2.h.
Referenced by Aff_transformationS2< FT >::transform().
|
inline |
Definition at line 280 of file LineS2.h.
References PointS2< FT >::x(), and PointS2< FT >::y().
CGAL_KERNEL_INLINE bool has_on_negative_side | ( | const PointS2< FT > & | p | ) | const |
Definition at line 290 of file LineS2.h.
References PointS2< FT >::x(), and PointS2< FT >::y().
|
inline |
Definition at line 285 of file LineS2.h.
References PointS2< FT >::x(), and PointS2< FT >::y().
CGAL_KERNEL_INLINE void new_rep | ( | const PointS2< FT > & | p, |
const PointS2< FT > & | q | ||
) |
Definition at line 122 of file LineS2.h.
References PointS2< FT >::x(), and PointS2< FT >::y().
CGAL_KERNEL_INLINE void new_rep | ( | const FT & | a, |
const FT & | b, | ||
const FT & | c | ||
) |
|
inline |
CGAL_KERNEL_MEDIUM_INLINE bool operator== | ( | const LineS2< FT > & | l | ) | const |
Definition at line 166 of file LineS2.h.
References LineS2< FT >::a(), LineS2< FT >::b(), LineS2< FT >::c(), CGAL_NTS, and sign().
|
inline |
Definition at line 226 of file LineS2.h.
CGAL_KERNEL_INLINE Oriented_side oriented_side | ( | const PointS2< FT > & | p | ) | const |
Definition at line 275 of file LineS2.h.
References CGAL_NTS, sign(), PointS2< FT >::x(), and PointS2< FT >::y().
Definition at line 221 of file LineS2.h.
References PointS2< FT >::x(), and PointS2< FT >::y().
CGAL_KERNEL_MEDIUM_INLINE PointS2< FT > point | ( | int | i | ) | const |
Definition at line 231 of file LineS2.h.
Referenced by Aff_transformationS2< FT >::transform().
CGAL_KERNEL_INLINE PointS2< FT > point | ( | ) | const |
CGAL_KERNEL_MEDIUM_INLINE PointS2< FT > projection | ( | const PointS2< FT > & | p | ) | const |
Definition at line 255 of file LineS2.h.
References PointS2< FT >::x(), PointS2< FT >::y(), and y.
|
inline |
Definition at line 310 of file LineS2.h.
References Aff_transformationS2< FT >::transform().
CGAL_KERNEL_INLINE FT x_at_y | ( | const FT & | y | ) | const |
Definition at line 203 of file LineS2.h.
References CGAL_kernel_precondition_msg.
CGAL_KERNEL_INLINE FT y_at_x | ( | const FT & | x | ) | const |
Definition at line 212 of file LineS2.h.
References CGAL_kernel_precondition_msg.