fctom1215
2021-04-28 148254bb1dc170db320bcb208ca79b0e252751d8
lib/src/main/cpp/test_common/Geometry.cpp
@@ -403,6 +403,15 @@
    return newPoint;
}
PointF centerOfTwoPoint(PointF p1, PointF p2) {
    PointF center;
    center.X = (p1.X + p2.X) / 2;
    center.Y = (p1.Y + p2.Y) / 2;
    return center;
}
// All in
bool InsidePolygon(const Polygon *t1, const Polygon *t2) {
    for (int i = 0; i < t1->num; ++i) {