コード例 #1
0
ファイル: Construction.cpp プロジェクト: 3DPrinterGuy/FreeCAD
	Point::Point(const Vector2d& v)
	{
		x = v.getx(); y = v.gety();
	}
コード例 #2
0
ファイル: Construction.cpp プロジェクト: 3DPrinterGuy/FreeCAD
	Point Point::operator+(const Vector2d &v)const{
		return Point(x + v.getx(), y + v.gety());
	}
コード例 #3
0
ファイル: Matrix.cpp プロジェクト: Fat-Zer/FreeCAD_sf_master
	 bool Vector2d::operator==(const Vector2d &v)const {
		return FEQ(dx, v.getx(), 1.0e-06) && FEQ(dy, v.gety(), 1.0e-06);
	 }