Minor improvement to IntersectionLine (now subclasses Line)

This commit is contained in:
Alessandro Ranellucci 2015-01-06 20:58:07 +01:00
parent 39172d5a08
commit d4ae734659
2 changed files with 4 additions and 7 deletions

View file

@ -5,6 +5,7 @@
#include <admesh/stl.h>
#include <vector>
#include "BoundingBox.hpp"
#include "Line.hpp"
#include "Point.hpp"
#include "Polygon.hpp"
#include "ExPolygon.hpp"
@ -71,11 +72,9 @@ class IntersectionPoint : public Point
IntersectionPoint() : point_id(-1), edge_id(-1) {};
};
class IntersectionLine
class IntersectionLine : public Line
{
public:
Point a;
Point b;
int a_id;
int b_id;
int edge_a_id;