BIMHome
v1.0.0
BIMHome接口文档说明
首页
相关页面
Topics
包
类
文件
C++类列表
Base
LineSegment2D
Public 成员函数
|
Private 属性
|
所有成员列表
LineSegment2D类 参考
#include <
LineSegment2D.h
>
类 LineSegment2D 继承关系图:
Public 成员函数
BoundBox2d
CalcBoundBox
() const
bool
Contains
(const
Vector2d
&rclV) const
virtual
Geometry2D
*
copy
(void) const
Vector2d
FromPos
(double fDistance) const
Base::Vector2d
getEndPoint
() const
获取终点
double
getLength
() const
获取长度
Base::Vector2d
getMidPoint
()
Base::Vector2d
getStartPoint
() const
获取起点
bool
Intersect
(const
LineSegment2D
&rclLine,
Vector2d
&rclV) const
bool
Intersect
(const
Vector2d
&rclV, double eps) const
bool
IntersectAndContain
(const
LineSegment2D
&rclLine,
Vector2d
&rclV) const
bool
isClosed
()
LineSegment2D
()
LineSegment2D
(
Base::Vector2d
startPoint,
Base::Vector2d
endPoint)
LineSegment2D
(const
LineSegment2D
&rclLine)
构造二维直线段
LineSegment2D
&
operator=
(const
LineSegment2D
&rclLine)
bool
operator==
(const
LineSegment2D
&rclLine) const
void
setEndPoint
(const
Base::Vector2d
&pt)
设置终点
void
setStartPoint
(const
Base::Vector2d
&pt)
设置起点
Public 成员函数 继承自
Curve2D
Curve2D
()
virtual
Base::Vector2d
getCenterPoint
()
获取中心点
Public 成员函数 继承自
Geometry2D
Geometry2D
*
clone
(void) const
Geometry2D
()
Geometry2DType
getType
() const
virtual
~Geometry2D
()
Private 属性
Base::Vector2d
mEndPoint
Base::Vector2d
mStartPoint
额外继承的成员函数
Protected 属性 继承自
Geometry2D
Geometry2DType
mType
该类的文档由以下文件生成:
BIMHome/BIMHomeBase/Math/Geometry/Geometry2D/
LineSegment2D.h