rheolef  6.3
Public Types | Public Member Functions | Private Types | Private Attributes | List of all members
rheolef::custom_cgal::MySegmentC2< R_ > Class Template Reference

#include <cgal_kernel.h>

Public Types

typedef R_ R

Public Member Functions

 MySegmentC2 ()
 MySegmentC2 (const Point_2 &sp, const Point_2 &tp)
bool is_horizontal () const
bool is_vertical () const
bool has_on (const Point_2 &p) const
bool collinear_has_on (const Point_2 &p) const
bool operator== (const MySegmentC2 &s) const
bool operator!= (const MySegmentC2 &s) const
const Point_2source () const
const Point_2target () const
const Point_2start () const
const Point_2end () const
const Point_2min () const
const Point_2max () const
const Point_2vertex (int i) const
const Point_2point (int i) const
const Point_2operator[] (int i) const
FT squared_length () const
Direction_2 direction () const
Vector_2 to_vector () const
Line_2 supporting_line () const
Segment_2 opposite () const
Segment_2 transform (const Aff_transformation_2 &t) const
bool is_degenerate () const
CGAL::Bbox_2 bbox () const

Private Types

typedef R_::FT FT
typedef R_::Point_2 Point_2
typedef R_::Vector_2 Vector_2
typedef R_::Direction_2 Direction_2
typedef R_::Line_2 Line_2
typedef R_::Segment_2 Segment_2
typedef R_::Aff_transformation_2 Aff_transformation_2

Private Attributes

Point_2 sp_
Point_2 tp_

Detailed Description

template<class R_>
class rheolef::custom_cgal::MySegmentC2< R_ >

Definition at line 14 of file cgal_kernel.h.

Member Typedef Documentation

template<class R_>
typedef R_::FT rheolef::custom_cgal::MySegmentC2< R_ >::FT
private

Definition at line 16 of file cgal_kernel.h.

template<class R_>
typedef R_::Point_2 rheolef::custom_cgal::MySegmentC2< R_ >::Point_2
private

Definition at line 17 of file cgal_kernel.h.

template<class R_>
typedef R_::Vector_2 rheolef::custom_cgal::MySegmentC2< R_ >::Vector_2
private

Definition at line 18 of file cgal_kernel.h.

template<class R_>
typedef R_::Direction_2 rheolef::custom_cgal::MySegmentC2< R_ >::Direction_2
private

Definition at line 19 of file cgal_kernel.h.

template<class R_>
typedef R_::Line_2 rheolef::custom_cgal::MySegmentC2< R_ >::Line_2
private

Definition at line 20 of file cgal_kernel.h.

template<class R_>
typedef R_::Segment_2 rheolef::custom_cgal::MySegmentC2< R_ >::Segment_2
private

Definition at line 21 of file cgal_kernel.h.

template<class R_>
typedef R_::Aff_transformation_2 rheolef::custom_cgal::MySegmentC2< R_ >::Aff_transformation_2
private

Definition at line 22 of file cgal_kernel.h.

template<class R_>
typedef R_ rheolef::custom_cgal::MySegmentC2< R_ >::R

Definition at line 26 of file cgal_kernel.h.

Constructor & Destructor Documentation

template<class R_>
rheolef::custom_cgal::MySegmentC2< R_ >::MySegmentC2 ( )
inline

Definition at line 28 of file cgal_kernel.h.

template<class R_>
rheolef::custom_cgal::MySegmentC2< R_ >::MySegmentC2 ( const Point_2 sp,
const Point_2 tp 
)
inline

Definition at line 30 of file cgal_kernel.h.

Member Function Documentation

template<class R >
bool rheolef::custom_cgal::MySegmentC2< R >::is_horizontal ( ) const
inline

Definition at line 182 of file cgal_kernel.h.

template<class R >
bool rheolef::custom_cgal::MySegmentC2< R >::is_vertical ( ) const
inline

Definition at line 189 of file cgal_kernel.h.

template<class R_>
bool rheolef::custom_cgal::MySegmentC2< R >::has_on ( const Point_2 p) const
inline

Definition at line 197 of file cgal_kernel.h.

template<class R_>
bool rheolef::custom_cgal::MySegmentC2< R >::collinear_has_on ( const Point_2 p) const
inline

Definition at line 205 of file cgal_kernel.h.

template<class R >
bool rheolef::custom_cgal::MySegmentC2< R >::operator== ( const MySegmentC2< R_ > &  s) const
inline

Definition at line 77 of file cgal_kernel.h.

template<class R >
bool rheolef::custom_cgal::MySegmentC2< R >::operator!= ( const MySegmentC2< R_ > &  s) const
inline

Definition at line 84 of file cgal_kernel.h.

template<class R_>
const Point_2& rheolef::custom_cgal::MySegmentC2< R_ >::source ( ) const
inline

Definition at line 41 of file cgal_kernel.h.

template<class R_>
const Point_2& rheolef::custom_cgal::MySegmentC2< R_ >::target ( ) const
inline

Definition at line 46 of file cgal_kernel.h.

template<class R_>
const Point_2& rheolef::custom_cgal::MySegmentC2< R_ >::start ( ) const
template<class R_>
const Point_2& rheolef::custom_cgal::MySegmentC2< R_ >::end ( ) const
template<class R >
const MySegmentC2< R >::Point_2 & rheolef::custom_cgal::MySegmentC2< R >::min ( ) const
inline

Definition at line 91 of file cgal_kernel.h.

template<class R >
const MySegmentC2< R >::Point_2 & rheolef::custom_cgal::MySegmentC2< R >::max ( ) const
inline

Definition at line 99 of file cgal_kernel.h.

template<class R >
const MySegmentC2< R >::Point_2 & rheolef::custom_cgal::MySegmentC2< R >::vertex ( int  i) const
inline

Definition at line 107 of file cgal_kernel.h.

template<class R >
const MySegmentC2< R >::Point_2 & rheolef::custom_cgal::MySegmentC2< R >::point ( int  i) const
inline

Definition at line 114 of file cgal_kernel.h.

template<class R >
const MySegmentC2< R >::Point_2 & rheolef::custom_cgal::MySegmentC2< R >::operator[] ( int  i) const
inline

Definition at line 121 of file cgal_kernel.h.

template<class R >
MySegmentC2< R >::FT rheolef::custom_cgal::MySegmentC2< R >::squared_length ( ) const
inline

Definition at line 128 of file cgal_kernel.h.

template<class R >
MySegmentC2< R >::Direction_2 rheolef::custom_cgal::MySegmentC2< R >::direction ( ) const
inline

Definition at line 136 of file cgal_kernel.h.

template<class R >
MySegmentC2< R >::Vector_2 rheolef::custom_cgal::MySegmentC2< R >::to_vector ( ) const
inline

Definition at line 144 of file cgal_kernel.h.

template<class R >
MySegmentC2< R >::Line_2 rheolef::custom_cgal::MySegmentC2< R >::supporting_line ( ) const
inline

Definition at line 152 of file cgal_kernel.h.

template<class R >
MySegmentC2< R >::Segment_2 rheolef::custom_cgal::MySegmentC2< R >::opposite ( ) const
inline

Definition at line 161 of file cgal_kernel.h.

template<class R_>
Segment_2 rheolef::custom_cgal::MySegmentC2< R_ >::transform ( const Aff_transformation_2 t) const
inline

Definition at line 66 of file cgal_kernel.h.

template<class R >
bool rheolef::custom_cgal::MySegmentC2< R >::is_degenerate ( ) const
inline

Definition at line 175 of file cgal_kernel.h.

template<class R >
CGAL::Bbox_2 rheolef::custom_cgal::MySegmentC2< R >::bbox ( ) const
inline

Definition at line 168 of file cgal_kernel.h.

Member Data Documentation

template<class R_>
Point_2 rheolef::custom_cgal::MySegmentC2< R_ >::sp_
private

Definition at line 24 of file cgal_kernel.h.

template<class R_>
Point_2 rheolef::custom_cgal::MySegmentC2< R_ >::tp_
private

Definition at line 24 of file cgal_kernel.h.


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