Main Page   Namespace List   Class Hierarchy   Compound List   File List   Header Files   Sources   Namespace Members   Compound Members   File Members  

curve_segment Struct Reference

A curve connecting two points. More...

#include <curve_segment.h>

List of all members.


Public Members

 curve_segment (void)
Construct an undefined acurve_segment.

 curve_segment ( curve *c, vector2 *f, vector2 *t )
Construct an fully defined acurve_segment. More...

curvealong
The curve.

vector2from
One end of the curve segment.

vector2to
The other end of the curve segment.


Detailed Description

A curve connecting two points.

Definition at line 39 of file curve_segment.h.


Member Function Documentation

curve_segment::curve_segment (void) [inline]

Construct an undefined acurve_segment.

Definition at line 88 of file curve_segment.h.

curve_segment::curve_segment (curve * c, vector2 * f, vector2 * t) [inline]

Construct an fully defined acurve_segment.

Parameters:
c   the curve
f   one end of the curve segment
t   the other end of the curve segment

Postconditions:
 assert( this->along == c );
 assert( this->from == f );
 assert( this->to == t );

Definition at line 94 of file curve_segment.h.


Member Data Documentation

curve* curve_segment::along

The curve.

Definition at line 73 of file curve_segment.h.

vector2* curve_segment::from

One end of the curve segment.

Definition at line 78 of file curve_segment.h.

vector2* curve_segment::to

The other end of the curve segment.

Definition at line 83 of file curve_segment.h.


The documentation for this struct was generated from the following file:
Generated at Sun Jul 14 20:38:17 2002 for Mapper by doxygen 1.0.0 written by Dimitri van Heesch, © 1997-1999