Home
last modified time | relevance | path

Searched refs:IntPoint (Results 1 – 9 of 9) sorted by relevance

/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/deps/boost/1.65.1/include/boost/geometry/policies/robustness/
H A Drescale_policy.hpp34 template <typename FpPoint, typename IntPoint, typename CalculationType>
39 typedef typename geometry::coordinate_type<IntPoint>::type output_ct;
41 robust_policy(FpPoint const& fp_min, IntPoint const& int_min, CalculationType const& the_factor) in robust_policy()
60 IntPoint m_int_min;
71 template <typename Point, typename FpPoint, typename IntPoint, typename CalculationType>
72 struct robust_point_type<Point, detail::robust_policy<FpPoint, IntPoint, CalculationType> >
74 typedef IntPoint type;
78 template <typename Point, typename FpPoint, typename IntPoint, typename CalculationType>
79 struct segment_ratio_type<Point, detail::robust_policy<FpPoint, IntPoint, CalculationType> >
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/clipper/
H A Dclipper.h85 struct IntPoint { struct
90 IntPoint(cInt x = 0, cInt y = 0, cInt z = 0): X(x), Y(y), Z(z) {}; in X() argument
92 IntPoint(cInt x = 0, cInt y = 0): X(x), Y(y) {}; in X() argument
95 friend inline bool operator== (const IntPoint& a, const IntPoint& b)
99 friend inline bool operator!= (const IntPoint& a, const IntPoint& b)
106 typedef std::vector< IntPoint > Path;
109 inline Path& operator <<(Path& poly, const IntPoint& p) {poly.push_back(p); return poly;}
112 std::ostream& operator <<(std::ostream &s, const IntPoint &p);
121 DoublePoint(IntPoint ip) : X((double)ip.X), Y((double)ip.Y) {} in DoublePoint()
126 typedef void (*ZFillCallback)(IntPoint& e1bot, IntPoint& e1top, IntPoint& e2bot, IntPoint& e2top, I…
[all …]
H A Dclipper.cpp67 IntPoint Bot;
68 IntPoint Curr; //current (updated for every new scanbeam)
69 IntPoint Top;
89 IntPoint Pt;
114 IntPoint Pt;
122 IntPoint OffPt;
425 bool PointIsVertex(const IntPoint &Pt, OutPt *pp) in PointIsVertex()
440 int PointInPolygon(const IntPoint &pt, const Path &path) in PointInPolygon()
446 IntPoint ip = path[0]; in PointInPolygon()
449 IntPoint ipNext = (i == cnt ? path[0] : path[i]); in PointInPolygon()
[all …]
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/positioning/
H A Dqclipperutils.cpp52 QDoubleVector2D QClipperUtils::toVector2D(const IntPoint &p) in toVector2D()
57 IntPoint QClipperUtils::toIntPoint(const QDoubleVector2D &p) in toIntPoint()
59 return IntPoint(cInt(p.x() * kClipperScaleFactor), cInt(p.y() * kClipperScaleFactor)); in toIntPoint()
66 for (const IntPoint &ip: path) in pathToQList()
H A Dqclipperutils_p.h74 static QDoubleVector2D toVector2D(const IntPoint &p);
75 static IntPoint toIntPoint(const QDoubleVector2D &p);
H A Dqgeopolygon.cpp617 IntPoint intCoord = QClipperUtils::toIntPoint(coord); in polygonContains()
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/clip2tri/
H A Dclip2tri.cpp176 int clip2tri::pointInPolygon(const IntPoint &pt, const Path &path) in pointInPolygon()
187 …outputPolygon[i] = IntPoint(S64(inputPolygon[i].x * CLIPPER_SCALE_FACT), S64(inputPolygon[i].y * C… in upscaleClipperPoints()
204 …outputPolygons[i][j] = IntPoint(S64(inputPolygons[i][j].x * CLIPPER_SCALE_FACT), S64(inputPolygons… in upscaleClipperPoints()
H A Dclip2tri.h94 static int pointInPolygon(const IntPoint &pt, const Path &path);
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/location/declarativemaps/
H A Dqdeclarativepolylinemapitem.cpp92 static inline IntPoint toIntPoint(const double x, const double y) in toIntPoint()
94 return IntPoint(cInt(x * kClipperScaleFactor), cInt(y * kClipperScaleFactor)); in toIntPoint()
97 static IntPoint toIntPoint(const QDoubleVector2D &p) in toIntPoint()