Home
last modified time | relevance | path

Searched refs:point1 (Results 1 – 25 of 68) sorted by relevance

123

/third_party/boost/libs/geometry/doc/src/examples/geometries/
Dpoint_xyz.cpp21 bg::model::d3::point_xyz<double> point1; in main() local
24 bg::set<0>(point1, 1.0); /*< Set a coordinate, generic. >*/ in main()
25 point1.y(2.0); /*< Set a coordinate, class-specific ([*Note]: prefer `bg::set()`). >*/ in main()
26 point1.z(4.0); in main()
28 double x = bg::get<0>(point1); /*< Get a coordinate, generic. >*/ in main()
29 double y = point1.y(); /*< Get a coordinate, class-specific ([*Note]: prefer `bg::get()`). >*/ in main()
30 double z = point1.z(); in main()
Dpoint_xy.cpp21 bg::model::d2::point_xy<double> point1; in main() local
24 bg::set<0>(point1, 1.0); /*< Set a coordinate, generic. >*/ in main()
25 point1.y(2.0); /*< Set a coordinate, class-specific ([*Note]: prefer `bg::set()`). >*/ in main()
27 double x = bg::get<0>(point1); /*< Get a coordinate, generic. >*/ in main()
28 double y = point1.y(); /*< Get a coordinate, class-specific ([*Note]: prefer `bg::get()`). >*/ in main()
Dpoint.cpp20 bg::model::point<double, 2, bg::cs::cartesian> point1; in main() local
23 bg::set<0>(point1, 1.0); /*< Set a coordinate, generic. >*/ in main()
24 point1.set<1>(2.0); /*< Set a coordinate, class-specific ([*Note]: prefer `bg::set()`). >*/ in main()
26 double x = bg::get<0>(point1); /*< Get a coordinate, generic. >*/ in main()
27 …double y = point1.get<1>(); /*< Get a coordinate, class-specific ([*Note]: prefer `bg::get()`). >*/ in main()
/third_party/boost/boost/geometry/algorithms/detail/disjoint/
Dpoint_point.hpp50 inline bool disjoint_point_point(Point1 const& point1, Point2 const& point2, in disjoint_point_point() argument
53 return ! Strategy::apply(point1, point2); in disjoint_point_point()
70 static inline bool apply(Point1 const& point1, Point2 const& point2, in apply()
73 return ! Strategy::apply(point1, point2); in apply()
/third_party/boost/boost/geometry/strategies/spherical/
Dpoint_in_point.hpp66 static inline bool apply(Point1 const& point1, Point2 const& point2) in apply()
72 strategy::normalize::spherical_point::apply(point1, point1_normalized); in apply()
86 static inline bool apply(Point1 const& point1, Point2 const& point2) in apply()
100 strategy::normalize::spherical_point::apply(point1, point1_normalized); in apply()
116 static inline bool apply(Point1 const& point1, Point2 const& point2) in apply() argument
127 >::apply(point1, point2); in apply()
/third_party/boost/boost/polygon/
Dpoint_concept.hpp247 const PointType1& point1, const PointType2& point2) { in equivalence() argument
248 return (x(point1) == x(point2)) && (y(point1) == y(point2)); in equivalence()
265 manhattan_distance(const PointType1& point1, const PointType2& point2) { in manhattan_distance() argument
266 return euclidean_distance(point1, point2, HORIZONTAL) + in manhattan_distance()
267 euclidean_distance(point1, point2, VERTICAL); in manhattan_distance()
285 const PointType1& point1, in euclidean_distance() argument
289 get(point1, orient) - get(point2, orient); in euclidean_distance()
307 distance_squared(const PointType1& point1, const PointType2& point2) { in distance_squared() argument
309 euclidean_distance(point1, point2, HORIZONTAL); in distance_squared()
311 euclidean_distance(point1, point2, VERTICAL); in distance_squared()
[all …]
/third_party/boost/libs/geometry/test/strategies/
Ddistance_default_result.cpp110 > point1; in test_distance_result_segment() typedef
117 typedef typename bg::model::segment<point1> segment1; in test_distance_result_segment()
122 point1, point2, ExpectedResult, ExpectedComparableResult in test_distance_result_segment()
127 point1, segment2, ExpectedResult, ExpectedComparableResult in test_distance_result_segment()
154 > point1; in test_distance_result_box() typedef
161 typedef typename bg::model::box<point1> box1; in test_distance_result_box()
166 point1, box2, ExpectedResult, ExpectedComparableResult in test_distance_result_box()
/third_party/flutter/skia/docs/examples/
DRect_set_4.cpp7 SkPoint point1 = {SK_ScalarNaN, 8}; in draw() local
10 rect.set(point1, point2); in draw()
12 rect.set(point2, point1); in draw()
/third_party/skia/docs/examples/
DRect_set_4.cpp7 SkPoint point1 = {SK_ScalarNaN, 8}; in draw() local
10 rect.set(point1, point2); in draw()
12 rect.set(point2, point1); in draw()
/third_party/skia/src/utils/win/
DSkDWriteGeometrySink.cpp118 if (this->currentIsNot(beziers->point1) || in SK_STDMETHODIMP_()
123 { beziers->point1.x, beziers->point1.y }, in SK_STDMETHODIMP_()
132 fPath->cubicTo(beziers->point1.x, beziers->point1.y, in SK_STDMETHODIMP_()
/third_party/boost/boost/geometry/strategies/geographic/
Denvelope_segment.hpp57 inline void apply(Point const& point1, Point const& point2, Box& box) const in apply() argument
60 strategy::normalize::spherical_point::apply(point1, p1_normalized); in apply()
91 >::apply(point1, point2, box); in apply()
Dside.hpp139 static inline ResultType azimuth(Point1 const& point1, Point2 const& point2, in azimuth() argument
142 return InverseFormulaType::apply(get_as_radian<0>(point1), in azimuth()
143 get_as_radian<1>(point1), in azimuth()
Denvelope.hpp79 inline void apply(Point1 const& point1, Point2 const& point2, Box& box) const in apply() argument
86 >(m_spheroid).apply(point1, point2, box); in apply()
Ddistance.hpp116 apply(Point1 const& point1, Point2 const& point2) const in apply() argument
120 CT lon1 = get_as_radian<0>(point1); in apply()
121 CT lat1 = get_as_radian<1>(point1); in apply()
/third_party/boost/boost/geometry/algorithms/detail/equals/
Dpoint_point.hpp37 inline bool equals_point_point(Point1 const& point1, Point2 const& point2, in equals_point_point() argument
40 return Strategy::apply(point1, point2); in equals_point_point()
/third_party/boost/libs/geometry/example/
Dc11_custom_cs_transform_example.cpp74 typedef boost::geometry::model::point<double, 2, cart> point1; typedef
93 struct default_strategy<point_tag, point_tag, point1, point2, cartesian_tag, cartesian_tag>
105 point1 p1_a(0, 0), p1_b(5, 5); in main()
/third_party/flutter/skia/src/utils/win/
DSkDWriteGeometrySink.cpp121 { beziers->point1.x, beziers->point1.y }, in SK_STDMETHODIMP_()
129 fPath->cubicTo(beziers->point1.x, beziers->point1.y, in SK_STDMETHODIMP_()
/third_party/boost/libs/geometry/test/algorithms/overlay/
Dsort_by_side_basic.cpp114 Point point1, point2, point3; in apply_get_turns() local
116 turn.operations[i].seg_id, point1, point2, point3); in apply_get_turns()
117 bool const is_origin = ! has_origin && bg::equals(point1, origin_point); in apply_get_turns()
143 Point point1, point2, point3; in apply_get_turns() local
145 turn.operations[i].seg_id, point1, point2, point3); in apply_get_turns()
/third_party/grpc/examples/node/static_codegen/route_guide/
Droute_guide_client.js57 var point1 = new messages.Point();
58 point1.setLatitude(409146138);
59 point1.setLongitude(-746188906);
63 client.getFeature(point1, featureCallback);
/third_party/boost/libs/geometry/doc/src/examples/arithmetic/
Ddot_product.cpp27 bg::model::point<double, 3, bg::cs::cartesian> point1(1.0, 2.0, 3.0); in BOOST_GEOMETRY_REGISTER_BOOST_ARRAY_CS() local
31 dp1 = bg::dot_product(point1, point2); in BOOST_GEOMETRY_REGISTER_BOOST_ARRAY_CS()
/third_party/boost/boost/geometry/strategies/cartesian/
Denvelope_segment.hpp62 static inline void apply(Point const& point1, Point const& point2, Box& box) in apply() argument
68 >::apply(point1, point2, box); in apply()
Dpoint_in_point.hpp82 static inline bool apply(Point1 const& point1, Point2 const& point2) in apply()
87 >::apply(point1, point2); in apply()
/third_party/boost/libs/geometry/test/srs/
Dcheck_geometry.hpp39 static void apply(Point const& point1, Point const& point2, T tol) in apply()
42 x1 = bg::get<0>(point1), in apply()
43 y1 = bg::get<1>(point1), in apply()
/third_party/boost/boost/geometry/algorithms/detail/overlay/
Dappend_no_dups_or_spikes.hpp40 inline bool points_equal_or_close(Point1 const& point1, in points_equal_or_close() argument
45 if (detail::equals::equals_point_point(point1, point2, strategy)) in points_equal_or_close()
63 geometry::recalculate(point1_rob, point1, robust_policy); in points_equal_or_close()
/third_party/flutter/flutter/packages/flutter/test/painting/
Dmatrix_utils_test.dart187 final Offset point1 = _transformPoint(transform, rect.topLeft);
192 _min4(point1.dx, point2.dx, point3.dx, point4.dx),
193 _min4(point1.dy, point2.dy, point3.dy, point4.dy),
194 _max4(point1.dx, point2.dx, point3.dx, point4.dx),
195 _max4(point1.dy, point2.dy, point3.dy, point4.dy),

123