Home
last modified time | relevance | path

Searched refs:Point (Results 1 – 25 of 488) sorted by relevance

12345678910>>...20

/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/poly2tri/common/
H A Dshapes.h45 struct Point { struct
50 Point() in Point() argument
60 Point(double x, double y) : x(x), y(y) {} in Point() argument
77 Point operator -() const argument
79 Point v; argument
85 void operator +=(const Point& v)
92 void operator -=(const Point& v)
125 Point* p, *q; argument
128 Edge(Point& p1, Point& p2) : p(&p1), q(&p2) in Edge()
154 Triangle(Point& a, Point& b, Point& c);
[all …]
H A Dshapes.cpp36 Triangle::Triangle(Point& a, Point& b, Point& c) in Triangle()
46 void Triangle::MarkNeighbor(Point* p1, Point* p2, Triangle* t) in MarkNeighbor()
119 Point* Triangle::OppositePoint(Triangle& t, Point& p) in OppositePoint()
121 Point *cw = t.PointCW(p); in OppositePoint()
126 void Triangle::Legalize(Point& point) in Legalize()
134 void Triangle::Legalize(Point& opoint, Point& npoint) in Legalize()
153 int Triangle::Index(const Point* p) in Index()
165 int Triangle::EdgeIndex(const Point* p1, const Point* p2) in EdgeIndex()
200 void Triangle::MarkConstrainedEdge(Point* p, Point* q) in MarkConstrainedEdge()
212 Point* Triangle::PointCW(Point& point) in PointCW()
[all …]
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/deps/boost/1.65.1/include/boost/geometry/geometries/register/
H A Dpoint.hpp23 #define BOOST_GEOMETRY_DETAIL_SPECIALIZE_POINT_TRAITS(Point, Dim, CoordinateType, CoordinateSystem)… argument
24 template<> struct tag<Point> { typedef point_tag type; }; \
25 template<> struct dimension<Point> : boost::mpl::int_<Dim> {}; \
26 template<> struct coordinate_type<Point> { typedef CoordinateType type; }; \
27 template<> struct coordinate_system<Point> { typedef CoordinateSystem type; };
30 #define BOOST_GEOMETRY_DETAIL_SPECIALIZE_POINT_ACCESS(Point, Dim, CoordinateType, Get, Set) \ argument
31 template<> struct access<Point, Dim> \
33 static inline CoordinateType get(Point const& p) { return p. Get; } \
34 static inline void set(Point& p, CoordinateType const& value) { p. Set = value; } \
38 #define BOOST_GEOMETRY_DETAIL_SPECIALIZE_POINT_ACCESS_CONST(Point, Dim, CoordinateType, Get) \ argument
[all …]
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/deps/boost/1.65.1/include/boost/geometry/policies/
H A Dcompare.hpp31 typename Point,
40 Strategy, Direction, Point, Dimension
43 typedef typename geometry::coordinate_type<Point>::type coordinate_type;
45 static inline bool apply(Point const& left, Point const& right) in apply()
54 Direction, Point, Strategy, in apply()
69 typename Point,
73 struct compare_loop<Direction, Point, Strategy, DimensionCount, DimensionCount>
75 static inline bool apply(Point const&, Point const&) in apply()
84 template <int Direction, typename Point, typename Strategy>
87 inline bool operator()(Point const& left, Point const& right) const in operator ()()
[all …]
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/poly2tri/sweep/
H A Dsweep.h48 struct Point;
86 Node& PointEvent(SweepContext& tcx, Point& point);
97 void EdgeEvent(SweepContext& tcx, Point& ep, Point& eq, Triangle* triangle, Point& point);
107 Node& NewFrontTriangle(SweepContext& tcx, Point& point, Node& node);
145 bool Incircle(Point& pa, Point& pb, Point& pc, Point& pd);
161 void RotateTrianglePair(Triangle& t, Point& p, Triangle& ot, Point& op);
175 bool AngleExceeds90Degrees(Point* origin, Point* pa, Point* pb);
176 bool AngleExceedsPlus90DegreesOrIsNegative(Point* origin, Point* pa, Point* pb);
177 double Angle(Point& origin, Point& pa, Point& pb);
213 bool IsEdgeSideOfTriangle(Triangle& triangle, Point& ep, Point& eq);
[all …]
H A Dsweep_context.h45 struct Point;
55 SweepContext(std::vector<Point*> polyline);
59 void set_head(Point* p1);
61 Point* head();
63 void set_tail(Point* p1);
65 Point* tail();
69 Node& LocateNode(Point& point);
80 Point* GetPoint(const int& index);
82 Point* GetPoints();
86 void AddHole(std::vector<Point*> polyline);
[all …]
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/deps/boost/1.65.1/include/boost/geometry/algorithms/detail/distance/
H A Dpoint_to_geometry.hpp76 typename Point,
91 Point, Range, Closure, comparable_strategy
98 Point,
102 static inline return_type apply(Point const& point, Range const& range, in apply()
117 Point, in apply()
147 typename Point,
156 Strategy, Point, typename point_type<Ring>::type
159 static inline return_type apply(Point const& point, in apply()
170 Point, Ring, closure<Ring>::value, Strategy in apply()
178 typename Point,
[all …]
H A Dbackward_compatibility.hpp48 template<typename Point, typename Segment, typename Strategy>
54 Point,
57 apply(Point const& point, Segment const& segment, Strategy const& ) in apply()
61 Point, in apply()
86 template <typename Point, typename Segment, typename Strategy>
89 Point, Segment, Strategy,
92 > : detail::distance::point_to_segment<Point, Segment, Strategy>
97 template <typename Point, typename Linestring, typename Strategy>
100 Point, Linestring, Strategy,
108 Strategy, Point, typename point_type<Linestring>::type
[all …]
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/deps/boost/1.65.1/include/boost/geometry/strategies/cartesian/
H A Ddistance_pythagoras_point_box.hpp45 template <typename Point, typename Box, typename T>
46 static inline void apply(Point const& point, Box const& box, T& result) in apply()
72 template <typename Point, typename Box, typename T>
73 static inline void apply(Point const&, Box const&, T&) in apply()
99 template <typename Point, typename Box>
104 Point, Box, CalculationType
108 template <typename Point, typename Box>
109 static inline typename calculation_type<Point, Box>::type
110 apply(Point const& point, Box const& box) in apply()
112 BOOST_CONCEPT_ASSERT( (concepts::ConstPoint<Point>) ); in apply()
[all …]
H A Dpoint_in_box.hpp145 typename Point,
152 static inline bool apply(Point const& point, Box const& box) in apply()
154 typedef typename tag_cast<typename cs_tag<Point>::type, spherical_tag>::type cs_tag_t; in apply()
156 if (! SubStrategy<Point, Dimension, cs_tag_t>::apply(get<Dimension>(point), in apply()
167 Point, Box, in apply()
177 typename Point,
181 struct relate_point_box_loop<SubStrategy, Point, Box, DimensionCount, DimensionCount>
183 static inline bool apply(Point const& , Box const& ) in apply()
192 typename Point,
198 static inline bool apply(Point const& point, Box const& box) in apply()
[all …]
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/deps/boost/1.65.1/include/boost/geometry/geometries/
H A Dbox.hpp53 template<typename Point>
56 BOOST_CONCEPT_ASSERT( (concepts::Point<Point>) );
83 inline box(Point const& min_corner, Point const& max_corner) in box()
93 inline Point const& min_corner() const in min_corner()
100 inline Point const& max_corner() const in max_corner()
108 inline Point& min_corner() in min_corner()
115 inline Point& max_corner() in max_corner()
125 Point m_min_corner;
126 Point m_max_corner;
142 template <typename Point>
[all …]
H A Dpolygon.hpp68 typename Point,
78 BOOST_CONCEPT_ASSERT( (concepts::Point<Point>) );
83 typedef Point point_type;
84 typedef ring<Point, ClockWise, Closed, PointList, PointAlloc> ring_type;
157 typename Point,
168 Point, ClockWise, Closed,
178 typename Point,
189 Point, ClockWise, Closed,
196 Point, ClockWise, Closed,
205 typename Point,
[all …]
H A Dring.hpp59 typename Point,
64 class ring : public Container<Point, Allocator<Point> >
66 BOOST_CONCEPT_ASSERT( (concepts::Point<Point>) );
68 typedef Container<Point, Allocator<Point> > base_type;
85 inline ring(std::initializer_list<Point> l) in ring()
114 typename Point,
119 struct tag<model::ring<Point, ClockWise, Closed, Container, Allocator> >
127 typename Point,
132 struct point_order<model::ring<Point, false, Closed, Container, Allocator> >
140 typename Point,
[all …]
H A Dsegment.hpp45 template<typename Point>
46 class segment : public std::pair<Point, Point>
48 BOOST_CONCEPT_ASSERT( (concepts::Point<Point>) );
64 inline segment(Point const& p1, Point const& p2) in segment()
92 concepts::Point<ConstOrNonConstPoint>,
122 template <typename Point>
123 struct tag<model::segment<Point> >
128 template <typename Point>
129 struct point_type<model::segment<Point> >
131 typedef Point type;
[all …]
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/deps/boost/1.65.1/include/boost/geometry/arithmetic/
H A Darithmetic.hpp36 template <typename Point>
41 typename coordinate_type<Point>::type
139 template <typename Point>
140 inline void add_value(Point& p, typename detail::param<Point>::type value) in add_value()
142 BOOST_CONCEPT_ASSERT( (concepts::Point<Point>) ); in add_value()
147 typename coordinate_type<Point>::type, in add_value()
165 BOOST_CONCEPT_ASSERT( (concepts::Point<Point1>) ); in add_point()
179 template <typename Point>
180 inline void subtract_value(Point& p, typename detail::param<Point>::type value) in subtract_value()
182 BOOST_CONCEPT_ASSERT( (concepts::Point<Point>) ); in subtract_value()
[all …]
H A Dnormalize.hpp28 template <typename Point>
29 inline typename coordinate_type<Point>::type vec_length_sqr(Point const& pt) in vec_length_sqr()
34 template <typename Point>
35 inline typename coordinate_type<Point>::type vec_length(Point const& pt) in vec_length()
41 template <typename Point>
42 inline bool vec_normalize(Point & pt, typename coordinate_type<Point>::type & len) in vec_normalize()
44 typedef typename coordinate_type<Point>::type coord_t; in vec_normalize()
58 template <typename Point>
59 inline bool vec_normalize(Point & pt) in vec_normalize()
61 typedef typename coordinate_type<Point>::type coord_t; in vec_normalize()
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/deps/boost/1.65.1/include/boost/geometry/index/detail/algorithms/
H A Dsegment_intersection.hpp34 template <typename Box, typename Point, size_t I>
38 BOOST_STATIC_ASSERT(0 <= dimension<Point>::value);
40 BOOST_STATIC_ASSERT(I < size_t(dimension<Point>::value));
41 BOOST_STATIC_ASSERT(dimension<Point>::value == dimension<Box>::value);
46 static inline bool apply(Box const& b, Point const& p0, Point const& p1, in apply()
64 template <typename Box, typename Point, size_t CurrentDimension>
69 typedef box_segment_intersection_dim<Box, Point, CurrentDimension - 1> for_dim;
72 static inline bool apply(Box const& b, Point const& p0, Point const& p1, in apply()
75 … return box_segment_intersection<Box, Point, CurrentDimension - 1>::apply(b, p0, p1, t_near, t_far) in apply()
80 template <typename Box, typename Point>
[all …]
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/deps/boost/1.65.1/include/boost/geometry/views/detail/
H A Dtwo_dimensional_view.hpp50 template <typename Point, std::size_t Dimension1, std::size_t Dimension2>
51 struct two_dimensional_view<Point, Dimension1, Dimension2, point_tag>
54 (Dimension1 < static_cast<std::size_t>(dimension<Point>::value)),
59 (Dimension2 < static_cast<std::size_t>(dimension<Point>::value)),
63 two_dimensional_view(Point& point) in two_dimensional_view()
67 Point& m_point;
80 template <typename Point, std::size_t Dimension1, std::size_t Dimension2>
85 Point, Dimension1, Dimension2, point_tag
92 template <typename Point, std::size_t Dimension1, std::size_t Dimension2>
97 Point, Dimension1, Dimension2, point_tag
[all …]
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/deps/boost/1.65.1/include/boost/geometry/algorithms/
H A Dcentroid.hpp111 template<typename Point, typename PointCentroid, typename Strategy>
112 static inline void apply(Point const& point, PointCentroid& centroid, in apply()
122 typename Point,
130 Indexed, Point
132 static inline void apply(Indexed const& indexed, Point& centroid) in apply()
144 Indexed, Point, Dimension + 1 in apply()
150 template<typename Indexed, typename Point, std::size_t DimensionCount>
151 struct centroid_indexed_calculator<Indexed, Point, DimensionCount, DimensionCount>
153 static inline void apply(Indexed const& , Point& ) in apply()
161 template<typename Indexed, typename Point, typename Strategy>
[all …]
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/deps/boost/1.65.1/include/boost/geometry/algorithms/detail/
H A Dpoint_on_border.hpp51 template <typename Point>
52 static inline bool apply(Point& destination, Point const& source) in apply()
59 template<typename Point, std::size_t Dimension, std::size_t DimensionCount>
63 static inline bool apply(Point& p, InputPoint const& p1, InputPoint const& p2) in apply()
65 typename coordinate_type<Point>::type const two = 2; in apply()
68 return midpoint_helper<Point, Dimension + 1, DimensionCount>::apply(p, p1, p2); in apply()
73 template <typename Point, std::size_t DimensionCount>
74 struct midpoint_helper<Point, DimensionCount, DimensionCount>
77 static inline bool apply(Point& , InputPoint const& , InputPoint const& ) in apply()
88 template<typename Point, typename Iterator>
[all …]
H A Dassign_values.hpp71 template <typename Point>
72 static inline void apply(Point& point) in apply()
118 typename Box, typename Point
120 inline void assign_box_2d_corner(Box const& box, Point& point) in assign_box_2d_corner()
124 assert_dimension<Point, 2>(); in assign_box_2d_corner()
127 typedef typename coordinate_type<Point>::type coordinate_type; in assign_box_2d_corner()
137 typename Geometry, typename Point,
144 static inline void apply(Point const& point, Geometry& geometry) in apply()
153 Geometry, Point, Index, Dimension + 1, DimensionCount in apply()
160 typename Geometry, typename Point,
[all …]
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/deps/boost/1.65.1/include/boost/geometry/util/
H A Dfor_each_coordinate.hpp28 template <typename Point, int Dimension, int DimensionCount, bool IsConst>
35 Point in apply()
38 operation.template apply<Point, Dimension>(point); in apply()
41 Point, in apply()
49 template <typename Point, int DimensionCount, bool IsConst>
50 struct coordinates_scanner<Point, DimensionCount, DimensionCount, IsConst>
56 Point in apply()
66 template <typename Point, typename Op>
67 inline void for_each_coordinate(Point& point, Op operation) in for_each_coordinate()
69 BOOST_CONCEPT_ASSERT( (concepts::Point<Point>) ); in for_each_coordinate()
[all …]
H A Dhas_nan_coordinate.hpp44 typename Point,
48 std::size_t N = geometry::dimension<Point>::value
52 static bool apply(Point const& point) in apply()
57 Point, Predicate, Enable, I+1, N in apply()
62 template <typename Point, typename Predicate, std::size_t I, std::size_t N>
63 struct has_coordinate_with_property<Point, Predicate, false, I, N>
65 static inline bool apply(Point const&) in apply()
71 template <typename Point, typename Predicate, std::size_t N>
72 struct has_coordinate_with_property<Point, Predicate, true, N, N>
74 static bool apply(Point const& ) in apply()
[all …]
/OK3568_Linux_fs/external/rknpu2/examples/3rdparty/opencv/opencv-linux-aarch64/include/opencv2/stitching/detail/
H A Dseam_finders.hpp68 virtual void find(const std::vector<UMat> &src, const std::vector<Point> &corners,
77 … void find(const std::vector<UMat>&, const std::vector<Point>&, std::vector<UMat>&) CV_OVERRIDE {} in find() argument
85 virtual void find(const std::vector<UMat> &src, const std::vector<Point> &corners,
100 std::vector<Point> corners_;
109 virtual void find(const std::vector<UMat> &src, const std::vector<Point> &corners,
111 virtual void find(const std::vector<Size> &size, const std::vector<Point> &corners,
128 virtual void find(const std::vector<UMat> &src, const std::vector<Point> &corners,
142 ImagePairLess(const std::vector<Mat> &images, const std::vector<Point> &corners) in ImagePairLess()
147 Point c1 = corners_[l.first] + Point(src_[l.first].cols / 2, src_[l.first].rows / 2); in operator ()()
148 Point c2 = corners_[l.second] + Point(src_[l.second].cols / 2, src_[l.second].rows / 2); in operator ()()
[all …]
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/deps/boost/1.65.1/include/boost/geometry/algorithms/detail/envelope/
H A Dpoint.hpp49 template <std::size_t Index, typename Point, typename Box>
50 static inline void apply(Point const& point, Box& mbr) in apply()
55 Point, in apply()
62 template <typename Point, typename Box, typename Strategy>
63 static inline void apply(Point const& point, Box& mbr, Strategy const&) in apply()
73 template<typename Point, typename Box, typename Strategy>
74 static inline void apply(Point const& point, Box& mbr, Strategy const& strategy) in apply()
76 Point normalized_point = detail::return_normalized<Point>(point); in apply()
91 2, dimension<Point>::value in apply()
105 template <typename Point, typename CS_Tag>
[all …]

12345678910>>...20