由一个曲线开始,创建一个图
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