Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members  

WFMath::Segment< dim > Class Template Reference

A line segment embedded in dim dimensions. More...

#include <segment.h>

List of all members.

Public Member Functions

 Segment ()
 construct an uninitialized segment

 Segment (const Point< dim > &p1, const Point< dim > &p2)
 construct a segment with endpoints p1 and p2

 Segment (const Segment &s)
 construct a copy of a segment

const Point< dim > & endpoint (const int i) const
 get one end of the segment

Point< dim > & endpoint (const int i)
 get one end of the segment


Detailed Description

template<const int dim>
class WFMath::Segment< dim >

A line segment embedded in dim dimensions.

This class implements the full shape interface, as described in the fake class Shape.


The documentation for this class was generated from the following files:
Generated on Wed May 28 09:20:34 2003 for WFMath by doxygen1.3-rc3