DeSiGNAR  0.5a
Data Structures General Library
Public Types | Public Member Functions | List of all members
Designar::GenSegment< PointT > Class Template Reference

#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)
 
GenSegmentoperator= (const GenSegment &s)
 
GenSegmentoperator= (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
 

Member Typedef Documentation

template<class PointT>
using Designar::GenSegment< PointT >::PointType = PointT

Constructor & Destructor Documentation

template<class PointT>
Designar::GenSegment< PointT >::GenSegment ( )
inline
template<class PointT>
Designar::GenSegment< PointT >::GenSegment ( const PointT &  sp,
const PointT &  tp 
)
inline
template<class PointT>
Designar::GenSegment< PointT >::GenSegment ( const PointT &  sp,
PointT &&  tp 
)
inline
template<class PointT>
Designar::GenSegment< PointT >::GenSegment ( PointT &&  sp,
const PointT &  tp 
)
inline
template<class PointT>
Designar::GenSegment< PointT >::GenSegment ( PointT &&  sp,
PointT &&  tp 
)
inline
template<class PointT>
Designar::GenSegment< PointT >::GenSegment ( const GenSegment< PointT > &  s)
inline
template<class PointT>
Designar::GenSegment< PointT >::GenSegment ( GenSegment< PointT > &&  s)
inline

Member Function Documentation

template<class PointT>
bool Designar::GenSegment< PointT >::contains_to ( const PointT &  p) const
inline
template<class PointT>
bool Designar::GenSegment< PointT >::contains_to ( const GenSegment< PointT > &  s) const
inline
template<class PointT>
double Designar::GenSegment< PointT >::counterclockwise_angle_with ( const GenSegment< PointT > &  s)
inline
template<class PointT>
GenSegment Designar::GenSegment< PointT >::get_opposite ( ) const
inline
template<class PointT>
GenSegment Designar::GenSegment< PointT >::get_perpendicular ( const PointT &  p) const
inline
template<class PointT>
const PointT& Designar::GenSegment< PointT >::get_src_point ( ) const
inline
template<class PointT>
const PointT& Designar::GenSegment< PointT >::get_tgt_point ( ) const
inline
template<class PointT>
PointT Designar::GenSegment< PointT >::intersection_with ( const GenSegment< PointT > &  s) const
inline
template<class PointT>
bool Designar::GenSegment< PointT >::intersects_properly_with ( const GenSegment< PointT > &  s) const
inline
template<class PointT>
bool Designar::GenSegment< PointT >::intersects_with ( const GenSegment< PointT > &  s) const
inline
template<class PointT>
bool Designar::GenSegment< PointT >::is_collinear_with ( const PointT &  p) const
inline
template<class PointT>
bool Designar::GenSegment< PointT >::is_null ( ) const
inline
template<class PointT>
bool Designar::GenSegment< PointT >::is_parallel_with ( const GenSegment< PointT > &  s) const
inline
template<class PointT>
bool Designar::GenSegment< PointT >::is_perpendicular_with ( const GenSegment< PointT > &  s) const
inline
template<class PointT>
bool Designar::GenSegment< PointT >::is_to_left_from ( const PointT &  p) const
inline
template<class PointT>
bool Designar::GenSegment< PointT >::is_to_left_on_from ( const PointT &  p) const
inline
template<class PointT>
bool Designar::GenSegment< PointT >::is_to_right_from ( const PointT &  p) const
inline
template<class PointT>
bool Designar::GenSegment< PointT >::is_to_right_on_from ( const PointT &  p) const
inline
template<class PointT>
real_t Designar::GenSegment< PointT >::length ( ) const
inline
template<class PointT>
bool Designar::GenSegment< PointT >::operator! ( ) const
inline
template<class PointT>
bool Designar::GenSegment< PointT >::operator!= ( const GenSegment< PointT > &  s) const
inline
template<class PointT>
GenSegment& Designar::GenSegment< PointT >::operator= ( const GenSegment< PointT > &  s)
inline
template<class PointT>
GenSegment& Designar::GenSegment< PointT >::operator= ( GenSegment< PointT > &&  s)
inline
template<class PointT>
bool Designar::GenSegment< PointT >::operator== ( const GenSegment< PointT > &  s) const
inline
template<class PointT>
void Designar::GenSegment< PointT >::set_src_point ( const PointT &  sp)
inline
template<class PointT>
void Designar::GenSegment< PointT >::set_src_point ( PointT &&  sp)
inline
template<class PointT>
void Designar::GenSegment< PointT >::set_tgt_point ( const PointT &  tp)
inline
template<class PointT>
void Designar::GenSegment< PointT >::set_tgt_point ( PointT &&  tp)
inline
template<class PointT>
real_t Designar::GenSegment< PointT >::slope ( ) const
inline
template<class PointT>
void Designar::GenSegment< PointT >::swap ( GenSegment< PointT > &  s)
inline

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