Google

Main Page   Class Hierarchy   Compound List   File List   Compound Members  

csSegment2 Class Reference

A 2D line segment. More...

#include <segment.h>

List of all members.

Public Methods

 csSegment2 (const csVector2 &s, const csVector2 &e)
 Make a new segment and initialize with the given values.

 csSegment2 ()
 Make a new uninitialized segment.

 ~csSegment2 ()
 Destructor.

void Set (const csVector2 &s, const csVector2 &e)
 Set segment to given values.

void SetStart (const csVector2 &s)
 Set the start of the segment.

void SetEnd (const csVector2 &e)
 Set the end of the segment.

const csVector2Start () const
 Get the start of the segment.

const csVector2End () const
 Get the end of the segment.

csVector2Start ()
 Get the start of the segment.

csVector2End ()
 Get the end of the segment.


Detailed Description

A 2D line segment.


The documentation for this class was generated from the following file:
Generated for Crystal Space by doxygen 1.2.5 written by Dimitri van Heesch, ©1997-2000