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

line Class Template Reference

#include <geometric-primitives.h>

Collaboration diagram for line:

Collaboration graph
[legend]
List of all members.

Public Types

typedef P coord_type
typedef algebraic_primitives<
coord_type
ap

Public Methods

 line ()
 line (P const &pp0, P const &ddir)
 line (ray< P > const &r)
 line (segment< P > const &s)
coord_type const & p0 () const
coord_type const & dir () const
coord_type operator() (double t) const
void normalize ()

Public Attributes

p_0
dir_

template<class P>
class line< P >


Member Typedef Documentation

template<class P>
typedef P line::coord_type
 

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

Referenced by dir, operator(), and p0.

template<class P>
typedef algebraic_primitives<coord_type> line::ap
 

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


Constructor & Destructor Documentation

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

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

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

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

References dir_, and p_0.

template<class P>
line< P >::line ray< P > const &    r [inline]
 

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

References dir, dir_, p0, and p_0.

template<class P>
line< P >::line segment< P > const &    s [inline]
 

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

References dir_, p0, and p_0.


Member Function Documentation

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

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

References coord_type, and p_0.

Referenced by line, and geom_traits< line< P > >::p0.

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

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

References coord_type, and dir_.

Referenced by geom_traits< line< P > >::dir, and line.

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

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

References coord_type, dir_, and p_0.

template<class P>
void line< P >::normalize   [inline]
 

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

References dir_.


Member Data Documentation

template<class P>
P line::p_0
 

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

Referenced by line, operator(), and p0.

template<class P>
P line::dir_
 

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

Referenced by dir, line, normalize, and operator().


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:33 2002 for Geometry by doxygen 1.2.11-20011104 written by Dimitri van Heesch, © 1997-2000