CrystalSpace

Public API Reference

Main Page   Modules   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members   Related Pages  

csSegment3 Class Reference
[Geometry utilities]

A 3D line segment. More...

#include <segment.h>

List of all members.

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 csVector3Start () const
 Get the start of the segment.

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

csVector3Start ()
 Get the start of the segment.

csVector3End ()
 Get the end of the segment.


Detailed Description

A 3D line segment.

Definition at line 78 of file segment.h.


Constructor & Destructor Documentation

csSegment3::csSegment3 const csVector3   s,
const csVector3   e
[inline]
 

Make a new segment and initialize with the given values.

Definition at line 88 of file segment.h.

csSegment3::csSegment3   [inline]
 

Make a new uninitialized segment.

Definition at line 90 of file segment.h.


Member Function Documentation

csVector3& csSegment3::End   [inline]
 

Get the end of the segment.

Definition at line 112 of file segment.h.

const csVector3& csSegment3::End   const [inline]
 

Get the end of the segment.

Definition at line 106 of file segment.h.

Referenced by csIntersect3::XFrustum(), csIntersect3::YFrustum(), csIntersect3::Z0Plane(), and csIntersect3::ZPlane().

void csSegment3::Set const csVector3   s,
const csVector3   e
[inline]
 

Set segment to given values.

Definition at line 93 of file segment.h.

void csSegment3::SetEnd const csVector3   e [inline]
 

Set the end of the segment.

Definition at line 100 of file segment.h.

Referenced by csBox3::GetEdge().

void csSegment3::SetStart const csVector3   s [inline]
 

Set the start of the segment.

Definition at line 97 of file segment.h.

Referenced by csBox3::GetEdge().

csVector3& csSegment3::Start   [inline]
 

Get the start of the segment.

Definition at line 109 of file segment.h.

const csVector3& csSegment3::Start   const [inline]
 

Get the start of the segment.

Definition at line 103 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:
Generated for Crystal Space by doxygen 1.2.18