Pathfinder
Classes | Namespaces | Functions
Line2.h File Reference

This file declares the struct Line2 that represents a two-dimensional line. More...

#include <boost/optional.hpp>
#include "Using.h"
#include "Geometry/Vec2.h"
Include dependency graph for Line2.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  Pathfinder::Line2
 This struct represents a vertical 2D line or a line of the form y = mx + b. More...
 

Namespaces

 Pathfinder
 

Functions

boost::optional< float > Pathfinder::line2Intersection (const Line2 &a, const Line2 &b)
 Compute the x value of the intersection of two lines. More...
 

Detailed Description

This file declares the struct Line2 that represents a two-dimensional line.

Author
Jan-Luca Hansel