Boundary.h 470 B

123456789101112131415161718192021
  1. #pragma once
  2. #import "FunSDK/JObject.h"
  3. #import "Points.h"
  4. #define JK_Boundary "Boundary"
  5. class Boundary : public JObject
  6. {
  7. public:
  8. JIntObj PointNum; //边界点数
  9. JObjArray<Points> Points;//数组里面是字典[{"x":100,"y":100},{"x":100,"y":100},{"x":100,"y":100}]
  10. public:
  11. Boundary(JObject *pParent = NULL, const char *szName = JK_Boundary):
  12. JObject(pParent,szName),
  13. PointNum(this, "PointNum"),
  14. Points(this, "Points"){
  15. };
  16. ~Boundary(void){};
  17. };