first commit

This commit is contained in:
陈赣
2026-06-03 12:43:14 +08:00
commit ba76cfae28
608 changed files with 120791 additions and 0 deletions

18
objects/shapes/vp_polygon.cpp Executable file
View File

@@ -0,0 +1,18 @@
#include <assert.h>
#include "vp_polygon.h"
namespace vp_objects {
vp_polygon::vp_polygon(std::vector<vp_point> vertexs): vertexs(vertexs) {
assert(vertexs.size() > 2);
}
vp_polygon::~vp_polygon() {
}
bool vp_polygon::contains(const vp_point & p) {
return true;
}
}