BIMHome v1.0.0
BIMHome接口文档说明
CalcIntersectionPoint.h
浏览该文件的文档.
1/************************************************************************
2* @file CalcIntersectionPoint.h
3*
4* @brief 计算交点类
5*
6* @details 计算交点类
7*
8* @author wukx
9*
10* @version v1.0
11*
12* @date 2016.9.29
13*
14* @license 北京华科软科技有限公司
15*
16*************************************************************************/
17
18#ifndef BIMHOMEBASE_CALCINTERSECTIONPOINT_H
19#define BIMHOMEBASE_CALCINTERSECTIONPOINT_H
20
21#include <boost/filesystem.hpp>
22#include <string>
23#include <vector>
24#include <Base/TimeInfo.h>
25#include <QString>
26#include "QMap"
27
28
29namespace Base
30{
35 class BaseExport CalcIntersectionPoint
36 {
37 public:
43
49
50 public:
58 const std::vector<std::pair<Base::Vector3f, Base::Vector3f> >& lines,
59 std::vector<Base::Vector3f>& intersectionPoints);
60
72 Vector3f startpot,
73 Vector3f endpot,
74 Vector3f startpot1,
75 Vector3f endpot1,
76 Vector3f& point);
77 };
78
79} //namespace Base
80
81
82#endif // BIMHOMEBASE_CalcIntersectionPoint_H
static bool calculateLineIntersection(Vector3f startpot, Vector3f endpot, Vector3f startpot1, Vector3f endpot1, Vector3f &point)
计算两条线段的交点
static void getIntersectionPoints(const std::vector< std::pair< Base::Vector3f, Base::Vector3f > > &lines, std::vector< Base::Vector3f > &intersectionPoints)
计算多条线段的交点
CalcIntersectionPoint()
默认构造函数
~CalcIntersectionPoint()
析构函数
CalcIntersectionPoint 类,用于计算几何图形的交点
Definition CalcIntersectionPoint.h:36
Vector3 类,表示三维空间中的向量
Definition Vector3D.h:149
Definition BaseFigureFactory.h:24