2026-10-04 00:04:20 +08:00
|
|
|
#pragma once
|
2026-09-28 15:28:50 +08:00
|
|
|
#include "aecdbxdraw.h"
|
|
|
|
|
struct LineStair;
|
|
|
|
|
class AecDbLineSegStairDraw : public AecDbXDraw
|
|
|
|
|
{
|
|
|
|
|
public:
|
|
|
|
|
ACRX_DECLARE_MEMBERS(AecDbLineSegStairDraw);
|
|
|
|
|
|
|
|
|
|
public:
|
|
|
|
|
AecDbLineSegStairDraw(void);
|
|
|
|
|
~AecDbLineSegStairDraw(void);
|
|
|
|
|
|
|
|
|
|
public:
|
|
|
|
|
|
|
|
|
|
virtual Acad::ErrorStatus Draw2d(AcGiDraw &dc) const;
|
|
|
|
|
virtual Acad::ErrorStatus Draw3d(AcGiDraw &dc) const;
|
|
|
|
|
|
|
|
|
|
protected:
|
|
|
|
|
|
|
|
|
|
Acad::ErrorStatus DrawSide3d(AcGiDraw &dc,const AcGePoint3d& ptSta,const AcGePoint3d& ptEnd,const LineStair& data) const;
|
|
|
|
|
|
|
|
|
|
Acad::ErrorStatus DrawSteep3d(AcGiDraw &dc,const AcGePoint3d& ptSta,const AcGePoint3d& ptEnd,const LineStair& data) const;
|
|
|
|
|
|
|
|
|
|
Acad::ErrorStatus DrawSlope3d(AcGiDraw &dc,const AcGePoint3d& ptFr,const AcGePoint3d& ptTo,const LineStair& data) const;
|
|
|
|
|
|
|
|
|
|
Acad::ErrorStatus DrawGuardBar3d(AcGiDraw &dc,const AcGePoint3d& ptSta,const AcGePoint3d& ptEnd,const LineStair& data) const;
|
|
|
|
|
|
|
|
|
|
Acad::ErrorStatus DrawSlopeBase(AcGiDraw &dc,const AcGePoint3d& ptFr,const AcGePoint3d& ptTo,const LineStair& data) const;
|
|
|
|
|
|
|
|
|
|
Acad::ErrorStatus DrawHandRail(AcGiDraw& dc, const AcGePoint3d& ptFr, const AcGePoint3d& ptTo, const LineStair& data) const;
|
|
|
|
|
};
|