节点文献
应用ObjectARX开发地形图的窗口剪切程序
Application of ObjectARX to developing Window clipping program for topographic maps
【摘要】 为了对公路或铁路线路大幅带状地形图中的直线、多义线、样条曲线、圆、填充和块等各种实体方便地进行剪切操作,利用ObjectARX在VC++平台上开发了窗口剪切程序。利用此工具可以保留任意形状窗口内的实体,删除窗口外的其余部分,且不改变实体的原有属性。不论是开环还是闭环的线状实体,均利用getSplitCurves()对线状实体重画,同时完善了对子曲线进行取舍操作的算法。
【Abstract】 To cut entities of long ribbon of topographic maps of road or railway,such as straight lines(AcDbLine), polylines, spline curves, circles, paddings(AcDbHatch),block(AcDbBlock) and so on, it was developed the window clipping program based on ObjectARX in the developing environment of Visual C++6.0. Using this tool, we could reserve the entities keeping it’s attribute within the arbitrary shape window and delete the parts which were out of the window after having broken the curve at the point of intersection. To striation entities,closed or opened, the function of getSplitCurves() could re-draw the reserved entities. Also the method of reserving or deleting the sub-curves was been discussed.
【Key words】 ObjectARX; entity clipping; topographic map; window clipping progam;
- 【文献出处】 铁路计算机应用 ,Railway Computer Application , 编辑部邮箱 ,2007年10期
- 【分类号】TP391.72
- 【下载频次】108