Rheolef  7.2
an efficient C++ finite element environment
 
Loading...
Searching...
No Matches
MySegmentC2< R_ >

Detailed Description

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

Definition at line 57 of file 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_2 & source () const
 
const Point_2 & target () const
 
const Point_2 & start () const
 
const Point_2 & end () const
 
const Point_2 & min () const
 
const Point_2 & max () const
 
const Point_2 & vertex (int i) const
 
const Point_2 & point (int i) const
 
const Point_2 & operator[] (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
 

Member Typedef Documentation

◆ R

template<class R_ >
typedef R_ R

Definition at line 69 of file cgal_kernel.h.

Constructor & Destructor Documentation

◆ MySegmentC2() [1/2]

template<class R_ >
MySegmentC2 ( )

Definition at line 71 of file cgal_kernel.h.

◆ MySegmentC2() [2/2]

template<class R_ >
MySegmentC2 ( const Point_2 &  sp,
const Point_2 &  tp 
)

Definition at line 73 of file cgal_kernel.h.

Member Function Documentation

◆ is_horizontal()

template<class R >
bool is_horizontal ( ) const

Definition at line 225 of file cgal_kernel.h.

◆ is_vertical()

template<class R >
bool is_vertical ( ) const

Definition at line 232 of file cgal_kernel.h.

◆ has_on()

template<class R_ >
bool has_on ( const Point_2 &  p) const

Definition at line 239 of file cgal_kernel.h.

◆ collinear_has_on()

template<class R_ >
bool collinear_has_on ( const Point_2 &  p) const

Definition at line 247 of file cgal_kernel.h.

◆ operator==()

template<class R_ >
bool operator== ( const MySegmentC2< R_ > &  s) const

Definition at line 120 of file cgal_kernel.h.

◆ operator!=()

template<class R_ >
bool operator!= ( const MySegmentC2< R_ > &  s) const

Definition at line 127 of file cgal_kernel.h.

◆ source()

template<class R_ >
const Point_2 & source ( ) const

Definition at line 84 of file cgal_kernel.h.

◆ target()

template<class R_ >
const Point_2 & target ( ) const

Definition at line 89 of file cgal_kernel.h.

◆ start()

template<class R_ >
const Point_2 & start ( ) const

◆ end()

template<class R_ >
const Point_2 & end ( ) const

◆ min()

template<class R >
const MySegmentC2< R >::Point_2 & min ( ) const

Definition at line 134 of file cgal_kernel.h.

◆ max()

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

Definition at line 142 of file cgal_kernel.h.

◆ vertex()

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

Definition at line 150 of file cgal_kernel.h.

◆ point()

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

Definition at line 157 of file cgal_kernel.h.

◆ operator[]()

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

Definition at line 164 of file cgal_kernel.h.

◆ squared_length()

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

Definition at line 171 of file cgal_kernel.h.

◆ direction()

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

Definition at line 179 of file cgal_kernel.h.

◆ to_vector()

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

Definition at line 187 of file cgal_kernel.h.

◆ supporting_line()

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

Definition at line 195 of file cgal_kernel.h.

◆ opposite()

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

Definition at line 204 of file cgal_kernel.h.

◆ transform()

template<class R_ >
Segment_2 transform ( const Aff_transformation_2 &  t) const

Definition at line 109 of file cgal_kernel.h.

◆ is_degenerate()

template<class R >
bool is_degenerate ( ) const

Definition at line 218 of file cgal_kernel.h.

◆ bbox()

template<class R >
CGAL::Bbox_2 bbox ( ) const

Definition at line 211 of file cgal_kernel.h.


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