#ifndef PICKED_POINT_H #define PICKED_POINT_H #include "XJAlgorithm/XJPoint2D.h" #include "XJAlgorithm/XJPoint3D.h" #define POS_NONE 0 #define POS_START 1 #define POS_END 2 #define POS_MID 3 typedef int PointPos; //草图拾取返回信息 struct pickPoint2D { pickPoint2D() { type = POS_NONE; omKey =-1; } Point2D pt;//点草图坐标 int omKey;//点所在对象id int type;//点类型 }; struct pickPoint3D { pickPoint3D() { type = 0; omKey =-1; } double pt[3]; //点坐标 int omKey; //点所在对象id int type; //点所在单元类型 int idx; //点所在单元索引号 }; #endif