|
DeSiGNAR
0.5a
Data Structures General Library
|
#include <segment.H>
Public Types | |
| using | PointType = PointT |
Public Member Functions | |
| GenSegment () | |
| GenSegment (const PointT &sp, const PointT &tp) | |
| GenSegment (const PointT &sp, PointT &&tp) | |
| GenSegment (PointT &&sp, const PointT &tp) | |
| GenSegment (PointT &&sp, PointT &&tp) | |
| GenSegment (const GenSegment &s) | |
| GenSegment (GenSegment &&s) | |
| GenSegment & | operator= (const GenSegment &s) |
| GenSegment & | operator= (GenSegment &&s) |
| void | swap (GenSegment &s) |
| const PointT & | get_src_point () const |
| const PointT & | get_tgt_point () const |
| void | set_src_point (const PointT &sp) |
| void | set_src_point (PointT &&sp) |
| void | set_tgt_point (const PointT &tp) |
| void | set_tgt_point (PointT &&tp) |
| real_t | length () const |
| bool | is_to_left_from (const PointT &p) const |
| bool | is_to_left_on_from (const PointT &p) const |
| bool | is_to_right_from (const PointT &p) const |
| bool | is_to_right_on_from (const PointT &p) const |
| bool | is_collinear_with (const PointT &p) const |
| bool | contains_to (const PointT &p) const |
| bool | contains_to (const GenSegment &s) const |
| bool | intersects_properly_with (const GenSegment &s) const |
| bool | intersects_with (const GenSegment &s) const |
| real_t | slope () const |
| bool | is_parallel_with (const GenSegment &s) const |
| bool | is_perpendicular_with (const GenSegment &s) const |
| GenSegment | get_perpendicular (const PointT &p) const |
| double | counterclockwise_angle_with (const GenSegment &s) |
| GenSegment | get_opposite () const |
| PointT | intersection_with (const GenSegment &s) const |
| bool | is_null () const |
| bool | operator! () const |
| bool | operator== (const GenSegment &s) const |
| bool | operator!= (const GenSegment &s) const |
| using Designar::GenSegment< PointT >::PointType = PointT |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
1.8.11