|
G3D::LineSegment Class ReferenceAn finite segment of an infinite 3D line.
More...
#include <LineSegment.h>
List of all members.
Detailed Description
An finite segment of an infinite 3D line.
Constructor & Destructor Documentation
| G3D::LineSegment::LineSegment |
( |
const Vector3 & |
__point, |
|
|
const Vector3 & |
_direction | |
|
) |
| | [inline, protected] |
| G3D::LineSegment::LineSegment |
( |
|
) |
[inline] |
| G3D::LineSegment::LineSegment |
( |
class BinaryInput & |
b |
) |
|
| virtual G3D::LineSegment::~LineSegment |
( |
|
) |
[inline, virtual] |
Member Function Documentation
| Vector3 G3D::LineSegment::closestPoint |
( |
const Vector3 & |
point |
) |
const |
Returns the closest point on the line segment to point.
| void G3D::LineSegment::deserialize |
( |
class BinaryInput & |
b |
) |
|
| double G3D::LineSegment::distance |
( |
const Vector3 & |
p |
) |
const [inline] |
Returns the distance between point and the line.
| double G3D::LineSegment::distanceSquared |
( |
const Vector3 & |
p |
) |
const [inline] |
Constructs a line from two (not equal) points.
| bool G3D::LineSegment::intersectsSolidSphere |
( |
const class Sphere & |
s |
) |
const |
Returns true if some part of this segment is inside the sphere.
| float G3D::LineSegment::length |
( |
|
) |
const [inline] |
| Vector3 G3D::LineSegment::point |
( |
int |
i |
) |
const |
| Vector3 G3D::LineSegment::randomPoint |
( |
|
) |
const |
| void G3D::LineSegment::serialize |
( |
class BinaryOutput & |
b |
) |
const |
Member Data Documentation
The documentation for this class was generated from the following file:
Generated on Thu Aug 2 11:40:46 2007 for G3D by
1.5.2
Hosted by
| |