DeSiGNAR  0.5a
Data Structures General Library
List of all members
Designar::Segment Class Reference

#include <segment.H>

Inheritance diagram for Designar::Segment:
Inheritance graph
[legend]
Collaboration diagram for Designar::Segment:
Collaboration graph
[legend]

Additional Inherited Members

- Public Types inherited from Designar::GenSegment< Point2D >
using PointType = Point2D
 
- Public Member Functions inherited from Designar::GenSegment< Point2D >
 GenSegment ()
 
 GenSegment (const Point2D &sp, const Point2D &tp)
 
 GenSegment (const Point2D &sp, Point2D &&tp)
 
 GenSegment (Point2D &&sp, const Point2D &tp)
 
 GenSegment (Point2D &&sp, Point2D &&tp)
 
 GenSegment (const GenSegment &s)
 
 GenSegment (GenSegment &&s)
 
GenSegmentoperator= (const GenSegment &s)
 
GenSegmentoperator= (GenSegment &&s)
 
void swap (GenSegment &s)
 
const Point2Dget_src_point () const
 
const Point2Dget_tgt_point () const
 
void set_src_point (const Point2D &sp)
 
void set_src_point (Point2D &&sp)
 
void set_tgt_point (const Point2D &tp)
 
void set_tgt_point (Point2D &&tp)
 
real_t length () const
 
bool is_to_left_from (const Point2D &p) const
 
bool is_to_left_on_from (const Point2D &p) const
 
bool is_to_right_from (const Point2D &p) const
 
bool is_to_right_on_from (const Point2D &p) const
 
bool is_collinear_with (const Point2D &p) const
 
bool contains_to (const Point2D &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 Point2D &p) const
 
double counterclockwise_angle_with (const GenSegment &s)
 
GenSegment get_opposite () const
 
Point2D 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
 

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