Namespaces | Defines | Functions
Line2D.cpp File Reference
#include <cmath>
#include "Line2D.hpp"
#include "Point2D.hpp"
#include "Polygon2D.hpp"
Include dependency graph for Line2D.cpp:

Go to the source code of this file.

Namespaces

namespace  datatypes

Defines

#define SAME_SIGNS(a, b)   ((a) * (b) >= 0)

Functions

double datatypes::dot_product (const Point2D &p1, const Point2D &p2)
template<typename FloatT >
static bool datatypes::line2d_intersect (FloatT x1, FloatT y1, FloatT x2, FloatT y2, FloatT x3, FloatT y3, FloatT x4, FloatT y4)

Define Documentation

#define SAME_SIGNS (   a,
 
)    ((a) * (b) >= 0)

Definition at line 227 of file Line2D.cpp.



libsick_ldmrs
Author(s): SICK AG , Martin Günther , Jochen Sprickerhof
autogenerated on Thu Jun 6 2019 21:02:36