ResidualVM website - Forums - Contact us BuildBot - Doxygen - Wiki

# Math::Line3d Class Reference

`#include <line3d.h>`

Collaboration diagram for Math::Line3d:

List of all members.

## Public Member Functions

Line3d ()
Line3d (const Vector3d &begin, const Vector3d &end)
Line3d (const Line3d &other)
Math::Vector3d begin () const
Math::Vector3d end () const
Math::Vector3d middle () const
bool intersectLine2d (const Line3d &other, Math::Vector3d *pos, bool useXZ)
Check if this line segment intersects with another line segment.
Line3doperator= (const Line3d &other)

## Private Attributes

Math::Vector3d _begin
Math::Vector3d _end

## Detailed Description

Definition at line 33 of file line3d.h.

## Constructor & Destructor Documentation

 Math::Line3d::Line3d ( )

Definition at line 27 of file line3d.cpp.

 Math::Line3d::Line3d ( const Vector3d & begin, const Vector3d & end )

Definition at line 31 of file line3d.cpp.

 Math::Line3d::Line3d ( const Line3d & other )

Definition at line 36 of file line3d.cpp.

## Member Function Documentation

 Math::Vector3d Math::Line3d::begin ( ) const

Definition at line 40 of file line3d.cpp.

 Math::Vector3d Math::Line3d::end ( ) const

Definition at line 44 of file line3d.cpp.

 bool Math::Line3d::intersectLine2d ( const Line3d & other, Math::Vector3d * pos, bool useXZ )

Check if this line segment intersects with another line segment.

The check is done in either a XY or a XZ 2D plane.

Definition at line 52 of file line3d.cpp.

 Math::Vector3d Math::Line3d::middle ( ) const

Definition at line 48 of file line3d.cpp.

 Line3d & Math::Line3d::operator= ( const Line3d & other )

Definition at line 92 of file line3d.cpp.

## Member Data Documentation

 Math::Vector3d Math::Line3d::_begin` [private]`

Definition at line 53 of file line3d.h.

 Math::Vector3d Math::Line3d::_end` [private]`

Definition at line 53 of file line3d.h.

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

Generated on Sat Jan 12 2019 05:04:50 for ResidualVM by  1.7.1