fixed some grid-factory issues
added some new attributes minor changes
This commit is contained in:
11
geo/Line2.h
11
geo/Line2.h
@@ -14,15 +14,18 @@ public:
|
||||
|
||||
public:
|
||||
|
||||
/** empty ctor */
|
||||
/** empty ctor */
|
||||
Line2() : p1(), p2() {;}
|
||||
|
||||
/** value ctor */
|
||||
Line2(const Point2 p1, const Point2 p2) : p1(p1), p2(p2) {;}
|
||||
/** value ctor */
|
||||
Line2(const Point2 p1, const Point2 p2) : p1(p1), p2(p2) {;}
|
||||
|
||||
/** value ctor */
|
||||
/** value ctor */
|
||||
Line2(const float x1, const float y1, const float x2, const float y2) : p1(x1,y1), p2(x2,y2) {;}
|
||||
|
||||
|
||||
Line2 operator * (const float v) const {return Line2(p1*v, p2*v);}
|
||||
|
||||
// bool getSegmentIntersection(const Line& other) const {
|
||||
// static K::Point p;
|
||||
// return K::Line::getSegmentIntersection(other, p);
|
||||
|
||||
Reference in New Issue
Block a user