Main Page | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members | File Members

vgl_conic_segment_2d< Type > Class Template Reference

#include <vgl_conic_segment_2d.h>

List of all members.


Detailed Description

template<class Type>
class vgl_conic_segment_2d< Type >

Represents a 2D conic segment using two points.

Definition at line 22 of file vgl_conic_segment_2d.h.

Public Member Functions

 vgl_conic_segment_2d ()
 Default constructor - does not initialise!.
 vgl_conic_segment_2d (vgl_conic_segment_2d< Type > const &l)
 Copy constructor.
 vgl_conic_segment_2d (vgl_point_2d< Type > const &p1, vgl_point_2d< Type > const &p2, vgl_conic< Type > const &conic)
 Construct from two end points and an conic.
 ~vgl_conic_segment_2d ()
 Destructor.
vgl_point_2d< Type > point1 () const
 One end-point of the conic segment.
vgl_point_2d< Type > point2 () const
 The other end-point of the conic segment.
vgl_conic< Type > conic () const
 The conic representing the segment.
bool operator== (vgl_conic_segment_2d< Type > const &l) const
 The equality comparison operator.
bool operator!= (vgl_conic_segment_2d< Type >const &other) const
 The inequality comparison operator.
void set (vgl_point_2d< Type > const &p1, vgl_point_2d< Type > const &p2, vgl_conic< Type > conic)

Private Attributes

vgl_point_2d< Type > point1_
 One end of conic segment.
vgl_point_2d< Type > point2_
 The other end of the conic segment.
vgl_conic< Type > conic_
 The conic that represents the curve between point1 and point2.

Related Functions

(Note that these are not member functions.)

vcl_ostream & operator<< (vcl_ostream &s, const vgl_conic_segment_2d< Type > &p)
 Write to stream.
vcl_istream & operator>> (vcl_istream &is, vgl_conic_segment_2d< Type > &p)
 Read from stream.


Constructor & Destructor Documentation

template<class Type>
vgl_conic_segment_2d< Type >::vgl_conic_segment_2d  )  [inline]
 

Default constructor - does not initialise!.

Definition at line 35 of file vgl_conic_segment_2d.h.

template<class Type>
vgl_conic_segment_2d< Type >::vgl_conic_segment_2d vgl_conic_segment_2d< Type > const &  l  )  [inline]
 

Copy constructor.

Definition at line 38 of file vgl_conic_segment_2d.h.

template<class Type>
vgl_conic_segment_2d< Type >::vgl_conic_segment_2d vgl_point_2d< Type > const &  p1,
vgl_point_2d< Type > const &  p2,
vgl_conic< Type > const &  conic
[inline]
 

Construct from two end points and an conic.

Definition at line 42 of file vgl_conic_segment_2d.h.

template<class Type>
vgl_conic_segment_2d< Type >::~vgl_conic_segment_2d  )  [inline]
 

Destructor.

Definition at line 48 of file vgl_conic_segment_2d.h.


Member Function Documentation

template<class Type>
vgl_conic<Type> vgl_conic_segment_2d< Type >::conic  )  const [inline]
 

The conic representing the segment.

Definition at line 57 of file vgl_conic_segment_2d.h.

template<class Type>
bool vgl_conic_segment_2d< Type >::operator!= vgl_conic_segment_2d< Type >const &  other  )  const [inline]
 

The inequality comparison operator.

Definition at line 67 of file vgl_conic_segment_2d.h.

template<class Type>
bool vgl_conic_segment_2d< Type >::operator== vgl_conic_segment_2d< Type > const &  l  )  const [inline]
 

The equality comparison operator.

Definition at line 60 of file vgl_conic_segment_2d.h.

template<class Type>
vgl_point_2d<Type> vgl_conic_segment_2d< Type >::point1  )  const [inline]
 

One end-point of the conic segment.

Definition at line 51 of file vgl_conic_segment_2d.h.

template<class Type>
vgl_point_2d<Type> vgl_conic_segment_2d< Type >::point2  )  const [inline]
 

The other end-point of the conic segment.

Definition at line 54 of file vgl_conic_segment_2d.h.

template<class Type>
void vgl_conic_segment_2d< Type >::set vgl_point_2d< Type > const &  p1,
vgl_point_2d< Type > const &  p2,
vgl_conic< Type >  conic
[inline]
 

Definition at line 69 of file vgl_conic_segment_2d.h.


Friends And Related Function Documentation

template<class Type>
vcl_ostream & operator<< vcl_ostream &  s,
const vgl_conic_segment_2d< Type > &  p
[related]
 

Write to stream.

Definition at line 10 of file vgl_conic_segment_2d.txx.

template<class Type>
vcl_istream & operator>> vcl_istream &  is,
vgl_conic_segment_2d< Type > &  p
[related]
 

Read from stream.

Definition at line 16 of file vgl_conic_segment_2d.txx.


Member Data Documentation

template<class Type>
vgl_conic<Type> vgl_conic_segment_2d< Type >::conic_ [private]
 

The conic that represents the curve between point1 and point2.

Definition at line 31 of file vgl_conic_segment_2d.h.

template<class Type>
vgl_point_2d<Type> vgl_conic_segment_2d< Type >::point1_ [private]
 

One end of conic segment.

Definition at line 25 of file vgl_conic_segment_2d.h.

template<class Type>
vgl_point_2d<Type> vgl_conic_segment_2d< Type >::point2_ [private]
 

The other end of the conic segment.

Definition at line 28 of file vgl_conic_segment_2d.h.


The documentation for this class was generated from the following file:
Generated on Thu Jan 10 14:39:25 2008 for core/vgl by  doxygen 1.4.4