A 2D line segment.
More...
#include <csgeom/segment.h>
List of all members.
Detailed Description
A 2D line segment.
Definition at line 37 of file segment.h.
Constructor & Destructor Documentation
Make a new segment and initialize with the given values.
Definition at line 47 of file segment.h.
csSegment2::csSegment2 |
( |
|
) |
[inline] |
Make a new uninitialized segment.
Definition at line 49 of file segment.h.
csSegment2::~csSegment2 |
( |
|
) |
[inline] |
Member Function Documentation
const csVector2& csSegment2::End |
( |
|
) |
const [inline] |
Get the end of the segment.
Definition at line 67 of file segment.h.
Get the end of the segment.
Definition at line 73 of file segment.h.
Set segment to given values.
Definition at line 54 of file segment.h.
void csSegment2::SetEnd |
( |
const csVector2 & |
e |
) |
[inline] |
Set the end of the segment.
Definition at line 61 of file segment.h.
void csSegment2::SetStart |
( |
const csVector2 & |
s |
) |
[inline] |
Set the start of the segment.
Definition at line 58 of file segment.h.
Get the start of the segment.
Definition at line 70 of file segment.h.
const csVector2& csSegment2::Start |
( |
|
) |
const [inline] |
Get the start of the segment.
Definition at line 64 of file segment.h.
The documentation for this class was generated from the following file: