Go to Overview over all GrAL packages.
Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members   Related Pages  

ray Class Template Reference

#include <geometric-primitives.h>

Collaboration diagram for ray:

Collaboration graph
[legend]
List of all members.

Public Types

typedef P coord_type

Public Methods

 ray ()
 ray (P const &pp0, P const &ddir)
coord_type const & p0 () const
coord_type p1 () const
coord_type const & dir () const
coord_type operator() (double t) const

Public Attributes

p_0
dir_

template<class P>
class ray< P >


Member Typedef Documentation

template<class P>
typedef P ray::coord_type
 

Definition at line 50 of file geometric-primitives.h.

Referenced by dir, operator(), p0, and p1.


Constructor & Destructor Documentation

template<class P>
ray< P >::ray   [inline]
 

Definition at line 53 of file geometric-primitives.h.

template<class P>
ray< P >::ray P const &    pp0,
P const &    ddir
[inline]
 

Definition at line 54 of file geometric-primitives.h.

References dir_, and p_0.


Member Function Documentation

template<class P>
coord_type const& ray< P >::p0   const [inline]
 

Definition at line 55 of file geometric-primitives.h.

References coord_type, and p_0.

Referenced by geom_traits< ray< P > >::p0.

template<class P>
coord_type ray< P >::p1   const [inline]
 

Definition at line 56 of file geometric-primitives.h.

References coord_type, dir_, and p_0.

template<class P>
coord_type const& ray< P >::dir   const [inline]
 

Definition at line 57 of file geometric-primitives.h.

References coord_type, and dir_.

Referenced by geom_traits< ray< P > >::dir.

template<class P>
coord_type ray< P >::operator() double    t const [inline]
 

Definition at line 58 of file geometric-primitives.h.

References coord_type, dir_, and p_0.


Member Data Documentation

template<class P>
P ray::p_0
 

Definition at line 51 of file geometric-primitives.h.

Referenced by operator(), p0, p1, and ray.

template<class P>
P ray::dir_
 

Definition at line 51 of file geometric-primitives.h.

Referenced by dir, operator(), p1, and ray.


The documentation for this class was generated from the following file:
Copyright (c) Guntram Berti 1997-2002. See the GrAL Homepage for up-to-date information.

Generated at Tue Feb 26 15:57:36 2002 for Geometry by doxygen 1.2.11-20011104 written by Dimitri van Heesch, © 1997-2000