ArchWall_01KJ类主要内容
本帖最后由 tzbm123456 于 2017-2-26 19:15 编辑一、父类:DrawBase_01KJ
二、类名称:ArchWallLine_01KJ
三、类变量:
1、VersonString"3.0"
2、DevelopCompanyString"重庆天筑比盟科技公司"
3、DeveloperString"李总"
4、DevelopTimeString"2017.02.02"
5、DevelopAddressString"鸿恩寺公园保利山庄"
四、类函数:
1、getVerson()String返回Verson
2、getDevelopCompany()String返回DevelopCompany
3、getDeveloperString返回Developer
4、getDevelopTime()String返回DevelopTime
5、getDevelopAddress()String返回DevelopAddress
五、实例变量:
0、@mEntityClassString实体类名称"ArchWall_01KJ"类固定值
1、@mGroupNameString"墙"绘制命令固定值。
2、@m_GroupDescriptionString"直墙"|"弧墙"设定值。
3、@m_BuildingNumString"A"设定值。
4、@m_FloorNumString"LG"|"1"|……设定值。
5、@mSerialNumFixnum0,1,2,3,……绘制计数值。
6、@mCategoryString"填充墙"绘制命令固定值。
7、@m_TypeString"隔墙"|"围墙"|"外墙"设定值。
8、@m_NumberString""|""|""|""设定值。
9、@m_MaterialStrString设定值。
10、@m_WallDepthLength设定值。
11、@m_WallHeightLength设定值。
12、@mWallLengthLength计算值。
13、@mWallAreaString计算值。
14、@mWallVolumnString计算值。
15、@m_ElevationBottomLength设定值|计算值,与m_WallHeight和m_ElevationTop关联。
16、@m_ElevationTopLength设定值|计算值,与m_WallHeight和m_ElevationBottom关联。
17、@m_Point1Geom::Point3d点取值。
18、@m_AngLeft1弧度浮点值设定值
19、@m_AngRight1弧度浮点值设定值
20、@m_Point2Geom::Point3d点取值。
21、@m_AngLeft2弧度浮点值设定值
22、@m_AngRight2弧度浮点值设定值
23、@m_Point3Geom::Point3d点取值。
24、@mFirtPointArr[@m_Point1,@m_AngLeft1,@m_AngRight1]计算值。
25、@mSecondPointArr[@m_Point2,@m_AngLeft2,@m_AngRight2]计算值。
26、@mThreePointArr[@m_Point3]计算值。
27、@mLeftLengthLength计算值。
28、@m_LeftDepthLength设定值。
29、@mLeftAreaString计算值。
30、@m_LeftMatString设定值,Material名称,新增。
本帖最后由 tzbm123456 于 2017-2-26 21:18 编辑
31、@mRightLengthLength计算值。
32、@m_RightDepthLength设定值。
33、@mRightAreaString计算值。
34、@m_RightMatString设定值,Material名称,新增。
35、@mBottomAreaString计算值。
36、@m_ArcAcuracyLength设定值,弧线精度。
37、@m_HoleArray(一维数组)是墙洞在XOZ平面的正射投影转点坐标数组,初始化为(0,0,0)(500.mm,0,0) (500.mm,0,1200.mm) (0,0,1200.mm)设计赋予值
38、@mHoleArrArray(二维数组)墙洞实际转点坐标数组的数组计算值
39、@m_VtHoleHornGeom::Vector3d墙洞实际水平向量长度,方向设计时赋予,长度暂时使用XOZ平面墙洞转点组前两点的差值;设计赋予值
40、@m_HoleBottomHeightLength为墙洞的底面高度(相对于墙底面标高),初始化值为900.mm,用于直墙和弧墙;设计赋予值
41、@m_HoleLeftOffsetLength墙洞相对于起点的左偏移距离(即X轴正向偏移值),初始化值为300.mm,用于直墙;设计赋予值
42、@mMathMath_01KJ赋予值
43、@mPoint1LeftGeom::Point3d计算值
44、@mPoint1RightGeom::Point3d计算值
45、@mPoint2LeftGeom::Point3d计算值
46、@mPoint2RightGeom::Point3d计算值
47、@mPoint3LeftGeom::Point3d计算值
48、@mPoint3RightGeom::Point3d计算值
六、成员函数:
(一)初始化
0、initialize
(二)修改输入实例变量返回值
1、m_EntityID=(m_EntityID)
和setEntityID(m_EntityID)true/false
……
27、m_HoleLeftOffset=(m_HoleLeftOffset)和setHoleLeftOffset=(m_HoleLeftOffset)true/false
(三)生成实体
28、updatePtLR()
29、createEntity()true/false
30、createEntityLine()
31、createEntityArc()
(四)修改实体
32、ModifyEntity(keys,values)keys:关键值数组;values:数值数组true/false
(五)设置获取属性属性字典名称:BaseAttribute
33、setAttribute()EngineeringAttribute设置实体所有字典属性
34、getValues(dictionary)SpaceAttribute获取字典属性值组
35、getKeys(dictionary)获取字典属性关键字组
36、getAttrKeyValue(dictionary,key)获取字典关键字的值
37、attrLength(dictionary)计算字典属性长度
(六)其他
38、updateArguments()
39、countWallNum()
40、createHoleLine()
41、createHoleArc()
42、convertPointArr(ptArrBase,pointArr)返回文件中群组.name="墙"的实体序数,将其值赋予@m_SerialNum;
43、createHole()计算弧线墙段数
页:
[1]