www.mxdraw.com
内容索引主面
前一个向上下一个
MxGraph::Create2 方法

由一个曲线开始,创建一个图

C++
MxGraph::ErrorStatus Create2(IN McDbObjectId edgeId, IN MySearchEdge pSearchEdgeFun, IN MySearchVertex pSearchVertexFun, IN GetCurveData pGetCurveDataFun = NULL, IN double dSearchTol = 2.0, OUT McGePoint3d* pErrorPos = NULL, IN void* pSearchParam = NULL);
参数 
说明 
IN McDbObjectId edgeId 
开始边的id 
IN MySearchEdge pSearchEdgeFun 
查找边的回调函数 
IN MySearchVertex pSearchVertexFun 
查找端点的回调函数 
IN GetCurveData pGetCurveDataFun = NULL 
返回用户自定义实体的曲线数据 
IN double dSearchTol = 2.0 
连接判断精度,默为2个绘图单位 
OUT McGePoint3d* pErrorPos = NULL 
创建出错,返回出错位置 

成功返回kOk

Copyright (c) 2010. All rights reserved.
你认为该帮助怎么样? 发送反馈信息!