#include <segment.h>
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 csVector2& | Start () const |
| Get the start of the segment. | |
| const csVector2& | End () const |
| Get the end of the segment. | |
| csVector2& | Start () |
| Get the start of the segment. | |
| csVector2& | End () |
| Get the end of the segment. | |