Segment3D

Description

Represents a directed line segment described by its start- and end-point.

struct Segment3D
{
	Point3D point1;
	Point3D point2;

	Point3D Point1( void ) const;
	Point3D Point2( void ) const;
	float X1( void ) const;
	float Y1( void ) const;
	float Z1( void ) const;
	float X2( void ) const;
	float Y2( void ) const;
	float Z2( void ) const;

	bool operator == ( const Segment3D& rhs ) const;
	bool operator != ( const Segment3D& rhs ) const;

	float Length() const;
}