由一个曲线开始,创建一个图
MxGraph::ErrorStatus Create(IN McDbObjectId edgeId, IN struct resbuf* pEdgeFilter, IN double dSearchTol = 2.0, OUT McGePoint3d* pErrorPos = NULL, IN struct resbuf* pVertexFilter = NULL, IN GetCurveData pGetCurveDataFun = NULL);
参数 |
说明 |
IN McDbObjectId edgeId |
开始边的id |
IN struct resbuf* pEdgeFilter |
边的过滤条件 |
IN double dSearchTol = 2.0 |
连接判断精度,默为2个绘图单位 |
OUT McGePoint3d* pErrorPos = NULL |
创建出错,返回出错位置 |
IN struct resbuf* pVertexFilter = NULL |
端点的过滤条件,如果为NULL,将不搜索端点处的实体 |
IN GetCurveData pGetCurveDataFun = NULL |
返回用户自定义实体的曲线数据 |
成功返回kOk