0_0_32795455_18114.cpp: In instantiation of 'bool taro::Segment<T>::isOn(const taro::Segment<T>&, bool) const [with T = double]':
0_0_32795455_18114.cpp:147:49: required from here
0_0_32795455_18114.cpp:112:19: error: invalid use of incomplete type 'class taro::Vector<double>'
T t1 = (e - s).cross(sg.s - s);
^
0_0_32795455_18114.cpp:14:7: error: declaration of 'class taro::Vector<double>'
class Vector;
^
0_0_32795455_18114.cpp:112:35: error: invalid use of incomplete type 'class taro::Vector<double>'
T t1 = (e - s).cross(sg.s - s);
^
0_0_32795455_18114.cpp:14:7: error: declaration of 'class taro::Vector<double>'
class Vector;
^
0_0_32795455_18114.cpp:113:19: error: invalid use of incomplete type 'class taro::Vector<double>'
T t2 = (e - s).cross(sg.e - s);
^
0_0_32795455_18114.cpp:14:7: error: declaration of 'class taro::Vector<double>'
class Vector;
^
0_0_32795455_18114.cpp:113:35: error: invalid use of incomplete type 'class taro::Vector<double>'
T t2 = (e - s).cross(sg.e - s);
^
0_0_32795455_18114.cpp:14:7: error: declaration of 'class taro::Vector<double>'
class Vector;
^
0_0_32795455_18114.cpp:114:22: error: invalid use of incomplete type 'class taro::Vector<double>'
T t3 = (sg.e - sg.s).cross(e - sg.s);
^
0_0_32795455_18114.cpp:14:7: error: declaration of 'class taro::Vector<double>'
class Vector;
^
0_0_32795455_18114.cpp:114:38: error: invalid use of incomplete type 'class taro::Vector<double>'
T t3 = (sg.e - sg.s).cross(e - sg.s);
^
0_0_32795455_18114.cpp:14:7: error: declaration of 'class taro::Vector<double>'
class Vector;
^
0_0_32795455_18114.cpp:115:22: error: invalid use of incomplete type 'class taro::Vector<double>'
T t4 = (sg.e - sg.s).cross(s - sg.s);
^
0_0_32795455_18114.cpp:14:7: error: declaration of 'class taro::Vector<double>'
class Vector;
^
0_0_32795455_18114.cpp:115:38: error: invalid use of incomplete type 'class taro::Vector<double>'
T t4 = (sg.e - sg.s).cross(s - sg.s);
^
0_0_32795455_18114.cpp:14:7: error: declaration of 'class taro::Vector<double>'
class Vector;
^
0_0_32795455_18114.cpp: In instantiation of 'taro::Vector<T> taro::Point<T>::operator-(const taro::Point<T>&) const [with T = double]':
0_0_32795455_18114.cpp:112:19: required from 'bool taro::Segment<T>::isOn(const taro::Segment<T>&, bool) const [with T = double]'
0_0_32795455_18114.cpp:147:49: required from here
0_0_32795455_18114.cpp:29:15: error: return type 'class taro::Vector<double>' is incomplete
Vector<T> operator-(const Point<T>& v) const { return Vector<T>(x - v.x, y - v.y); }
^
0_0_32795455_18114.cpp:29:85: error: invalid use of incomplete type 'class taro::Vector<double>'
Vector<T> operator-(const Point<T>& v) const { return Vector<T>(x - v.x, y - v.y); }
^
0_0_32795455_18114.cpp:14:7: error: declaration of 'class taro::Vector<double>'
class Vector;
^
|