csSegment3 Class Reference
[Geometry utilities]
A 3D line segment.
More...
#include <segment.h>
Public Methods | |
csSegment3 (const csVector3 &s, const csVector3 &e) | |
Make a new segment and initialize with the given values. | |
csSegment3 () | |
Make a new uninitialized segment. | |
void | Set (const csVector3 &s, const csVector3 &e) |
Set segment to given values. | |
void | SetStart (const csVector3 &s) |
Set the start of the segment. | |
void | SetEnd (const csVector3 &e) |
Set the end of the segment. | |
const csVector3 & | Start () const |
Get the start of the segment. | |
const csVector3 & | End () const |
Get the end of the segment. | |
csVector3 & | Start () |
Get the start of the segment. | |
csVector3 & | End () |
Get the end of the segment. |
Detailed Description
A 3D line segment.
Definition at line 76 of file segment.h.
Constructor & Destructor Documentation
|
Make a new segment and initialize with the given values.
|
|
Make a new uninitialized segment.
|
Member Function Documentation
|
Get the end of the segment.
|
|
Get the end of the segment.
Definition at line 104 of file segment.h. Referenced by csIntersect3::XFrustum(), csIntersect3::YFrustum(), csIntersect3::Z0Plane(), and csIntersect3::ZPlane(). |
|
Set segment to given values.
|
|
Set the end of the segment.
Definition at line 98 of file segment.h. Referenced by csBox3::GetEdge(). |
|
Set the start of the segment.
Definition at line 95 of file segment.h. Referenced by csBox3::GetEdge(). |
|
Get the start of the segment.
|
|
Get the start of the segment.
Definition at line 101 of file segment.h. Referenced by csIntersect3::XFrustum(), csIntersect3::YFrustum(), csIntersect3::Z0Plane(), and csIntersect3::ZPlane(). |
The documentation for this class was generated from the following file:
- csgeom/segment.h
Generated for Crystal Space by doxygen 1.2.18