BIMHome v1.0.0
BIMHome接口文档说明
Public 成员函数 | Private 属性 | 所有成员列表
ArcofCircle2D类 参考

#include <ArcofCircle2D.h>

类 ArcofCircle2D 继承关系图:
Curve2D Geometry2D

Public 成员函数

 ArcofCircle2D ()
 
 ArcofCircle2D (Base::Vector2d center, double radius, double startangle, double endangle)
 构造二维圆弧
 
 ArcofCircle2D (Base::Vector2d pt1, Base::Vector2d pt2, Base::Vector2d pt3)
 通过三点定弧构造圆弧
 
void calculateCircleCenter ()
 
void calculateStartandEndPoint ()
 
virtual Geometry2Dcopy (void) const
 
Base::Vector2d getCenterPoint () const
 获取中心点
 
bool getDirection () const
 获取方向
 
double getEndAngle () const
 获取终止角度
 
Base::Vector2d getEndPoint () const
 
std::pair< Base::Vector2d, Base::Vector2dgetExtrema ()
 
double getLength () const
 获取长度
 
Base::Vector2d getMidPoint () const
 
double getRadius () const
 获取半径
 
double getStartAngle () const
 获取起始角度
 
Base::Vector2d getStartPoint () const
 
bool isClockWise ()
 
bool isClosed ()
 
bool isInArc (double angle)
 
void setCenterPoint (const Base::Vector2d &pt)
 设置中心点
 
void setDirection (bool bClockWire)
 设置方向
 
void setEndAngle (double angle)
 设置终止角度
 
void setRadius (double pt)
 设置半径
 
void setStartAngle (double angle)
 设置起始角度
 
- Public 成员函数 继承自 Curve2D
 Curve2D ()
 
virtual Base::Vector2d getCenterPoint ()
 获取中心点
 
- Public 成员函数 继承自 Geometry2D
Geometry2Dclone (void) const
 
 Geometry2D ()
 
Geometry2DType getType () const
 
virtual ~Geometry2D ()
 

Private 属性

Base::Vector2d mCenterPoint
 
bool mClockWise
 
double mEndAngle
 
Base::Vector2d mEndPoint
 
double mRadius
 
Base::Vector2d mSecondPoint
 
double mStartAngle
 
Base::Vector2d mStartPoint
 

额外继承的成员函数

- Protected 属性 继承自 Geometry2D
Geometry2DType mType
 

该类的文档由以下文件生成: