PixelLightAPI  .
Public Member Functions | Public Attributes
PLMath::Line Class Reference

Line class. More...

#include <Line.h>

List of all members.

Public Member Functions

 Line ()
 Default constructor setting all start- and end-position components to 0.
 Line (const Line &cSource)
 Copy constructor.
 Line (const Vector3 &vStartPoint, const Vector3 &vEndPoint)
 Copy constructor.
 ~Line ()
 Destructor.
Lineoperator= (const Line &cSource)
 Copy operator.
void Set (const Vector3 &vStart, const Vector3 &vEnd)
 Sets the start and end position of the line.
PLMATH_API Line operator* (const Matrix3x3 &mRot) const
PLMATH_API Line operator* (const Matrix3x4 &mTrans) const
PLMATH_API Line operator* (const Matrix4x4 &mTrans) const
PLMATH_API Lineoperator*= (const Matrix3x3 &mRot)
PLMATH_API Lineoperator*= (const Matrix3x4 &mTrans)
PLMATH_API Lineoperator*= (const Matrix4x4 &mTrans)

Public Attributes

Vector3 vStart
Vector3 vEnd

Detailed Description

Line class.


Constructor & Destructor Documentation

PLMath::Line::Line ( ) [inline]

Default constructor setting all start- and end-position components to 0.

PLMath::Line::Line ( const Line cSource) [inline]

Copy constructor.

Parameters:
[in]cSourceSource to copy from
PLMath::Line::Line ( const Vector3 vStartPoint,
const Vector3 vEndPoint 
) [inline]

Copy constructor.

Parameters:
[in]vStartPointStart point
[in]vEndPointEnd point
PLMath::Line::~Line ( ) [inline]

Destructor.


Member Function Documentation

Line & PLMath::Line::operator= ( const Line cSource) [inline]

Copy operator.

Parameters:
[in]cSourceSource to copy from
Returns:
Reference to this instance
void PLMath::Line::Set ( const Vector3 vStart,
const Vector3 vEnd 
) [inline]

Sets the start and end position of the line.

Parameters:
[in]vStartLine start position
[in]vEndLine end position
PLMATH_API Line PLMath::Line::operator* ( const Matrix3x3 mRot) const
PLMATH_API Line PLMath::Line::operator* ( const Matrix3x4 mTrans) const
PLMATH_API Line PLMath::Line::operator* ( const Matrix4x4 mTrans) const
PLMATH_API Line& PLMath::Line::operator*= ( const Matrix3x3 mRot)
PLMATH_API Line& PLMath::Line::operator*= ( const Matrix3x4 mTrans)
PLMATH_API Line& PLMath::Line::operator*= ( const Matrix4x4 mTrans)

Member Data Documentation

Line start point

Line end point


The documentation for this class was generated from the following files:


PixelLight PixelLight 0.9.10-R1
Copyright (C) 2002-2011 by The PixelLight Team
Last modified Fri Dec 23 2011 15:51:20
The content of this PixelLight document is published under the
Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported