Segment Class Reference

#include <math/Segment.h>

Inherited by IGS_Segment.

Inheritance diagram for Segment:

Inheritance graph
[legend]
Collaboration diagram for Segment:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 Segment (const Vector4 &p0, const Vector4 &p1)
double Distance (const Vector4 &p) const
double DistanceSquared (const Vector4 &p) const
double Distance (const Segment &s) const
double DistanceSquared (const Segment &s) const

Public Attributes

Vector4 p0
Vector4 p1

Detailed Description

Definition at line 6 of file Segment.h.


Constructor & Destructor Documentation

Segment::Segment const Vector4 p0,
const Vector4 p1
 

Definition at line 10 of file Segment.cpp.

Referenced by MPK::Segment::Clone().


Member Function Documentation

double Segment::Distance const Segment s  )  const
 

Definition at line 33 of file Segment.cpp.

References DistanceSquared().

Here is the call graph for this function:

double Segment::Distance const Vector4 p  )  const
 

Definition at line 23 of file Segment.cpp.

References DistanceSquared().

Here is the call graph for this function:

double Segment::DistanceSquared const Segment s  )  const
 

Definition at line 43 of file Segment.cpp.

References Vector4::Dot(), gs_fTolerance, Vector4::MagSquared(), p0, and p1.

Here is the call graph for this function:

double Segment::DistanceSquared const Vector4 p  )  const
 

Definition at line 398 of file Segment.cpp.

References Vector4::Dot(), Vector4::MagSquared(), p0, and p1.

Referenced by Distance().

Here is the call graph for this function:


Member Data Documentation

Vector4 Segment::p0
 

Definition at line 20 of file Segment.h.

Referenced by DistanceSquared(), and IGS_Segment::Render().

Vector4 Segment::p1
 

Definition at line 21 of file Segment.h.

Referenced by DistanceSquared(), MPK::Segment::IsInterfering(), and IGS_Segment::Render().


The documentation for this class was generated from the following files:
Generated on Sat Apr 1 22:03:53 2006 for Motion Planning Kernel by  doxygen 1.4.6-NO