www.mxdraw.com
|
创建一个遮挡,Wipeout
static McDbObjectId Mx_CreateWipeout(McGePoint3dArray& vertices);
参数 |
说明 |
McGePoint3dArray& vertices |
端点数组 |
成功返回新建的对象id
例如: C#代码
MxDrawResbuf param = new MxDrawResbuf(); MxDrawPoint pt = new MxDrawPoint(); pt.x = 10; pt.y = 10; param.AddPoint(pt); pt.x = 50; pt.y = 10; param.AddPoint(pt); pt.x = 50; pt.y = 50; param.AddPoint(pt); pt.x = 10; pt.y = 50; param.AddPoint(pt); MxDrawResbuf ret = (MxDrawResbuf)axMxDrawX1.CallEx("Mx_CreateWipeout", param); if (ret.AtString(0) == "Ok") { Int64 id = ret.AtObjectId(1); }