请问容差AcGeTol的用法
请问容差AcGeTol的用法:下列代码不正确?AcGeTol如何使用?<BR> AcGePoint3dArray vertexArrayA;<BR> AcGePoint3dArray vertexArrayB;
//vertexArrayA和vertexArrayB已经存储了两条AcDbPolyline的结点坐标<BR> //我想判断两条线的起点或终点是否重合
//容差设置 ???<BR> AcGeTol tol = AcGeContex::gTol;<BR> tol.setEqualPoint(0.2);<BR> <BR> if (Adsk::kTrue == vertexArrayA.first().isEqualTo(vertexArrayB.first(), tol) )<BR> acedAlert("起点重合");<BR> else<BR> acedAlert("起点不重合");
页:
[1]