HOG2
Public Member Functions | Public Attributes | List of all members
line2d Class Reference

‍** More...

#include <GLUtil.h>

Collaboration diagram for line2d:
Collaboration graph
[legend]

Public Member Functions

 line2d ()
 
 line2d (recVec a, recVec b)
 
bool crosses (line2d which) const
 

Public Attributes

recVec start
 
recVec end
 

Detailed Description

‍**

Definition at line 155 of file GLUtil.h.

Constructor & Destructor Documentation

◆ line2d() [1/2]

line2d::line2d ( )
inline

Definition at line 157 of file GLUtil.h.

◆ line2d() [2/2]

line2d::line2d ( recVec  a,
recVec  b 
)
inline

Definition at line 158 of file GLUtil.h.

Member Function Documentation

◆ crosses()

bool line2d::crosses ( line2d  which) const

Definition at line 61 of file GLUtil.cpp.

References a1, a2, end, fastCrossTest(), fequal(), fgreater(), fless(), start, recVec::x, and recVec::y.

Member Data Documentation

◆ end

recVec line2d::end

◆ start

recVec line2d::start

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