Home
last modified time | relevance | path

Searched refs:latitude (Results 1 – 25 of 103) sorted by relevance

12345

/external/geojson-jackson/src/main/java/org/geojson/
DLngLatAlt.java16 private double latitude; field in LngLatAlt
23 public LngLatAlt(double longitude, double latitude) { in LngLatAlt() argument
25 this.latitude = latitude; in LngLatAlt()
28 public LngLatAlt(double longitude, double latitude, double altitude) { in LngLatAlt() argument
30 this.latitude = latitude; in LngLatAlt()
43 …public LngLatAlt(double longitude, double latitude, double altitude, double... additionalElements)… in LngLatAlt() argument
45 this.latitude = latitude; in LngLatAlt()
69 return latitude; in getLatitude()
72 public void setLatitude(double latitude) { in setLatitude() argument
73 this.latitude = latitude; in setLatitude()
[all …]
DPoint.java14 public Point(double longitude, double latitude) { in Point() argument
15 coordinates = new LngLatAlt(longitude, latitude); in Point()
18 public Point(double longitude, double latitude, double altitude) { in Point() argument
19 coordinates = new LngLatAlt(longitude, latitude, altitude); in Point()
22 public Point(double longitude, double latitude, double altitude, double... additionalElements) { in Point() argument
23 coordinates = new LngLatAlt(longitude, latitude, altitude, additionalElements); in Point()
/external/grpc-grpc/examples/node/dynamic_codegen/route_guide/
Droute_guide_client.js56 feature.location.latitude/COORD_FACTOR + ', ' +
60 feature.location.latitude/COORD_FACTOR + ', ' +
66 latitude: 409146138, property
70 latitude: 0, property
86 latitude: 400000000, property
90 latitude: 420000000, property
98 feature.location.latitude/COORD_FACTOR + ', ' +
149 latitude: lat, property
158 point_senders[i] = pointSender(rand_point.location.latitude,
176 note.location.latitude + ', ' + note.location.longitude);
[all …]
Droute_guide_server.js62 if (feature.location.latitude === point.latitude &&
96 var top = _.max([lo.latitude, hi.latitude]);
97 var bottom = _.min([lo.latitude, hi.latitude]);
105 feature.location.latitude >= bottom &&
106 feature.location.latitude <= top) {
125 var lat1 = toRadians(start.latitude / COORD_FACTOR);
126 var lat2 = toRadians(end.latitude / COORD_FACTOR);
186 return point.latitude + ' ' + point.longitude;
/external/grpc-grpc/examples/ruby/route_guide/
Droute_guide_client.rb32 Point.new(latitude: 409_146_138, longitude: -746_188_906),
33 Point.new(latitude: 0, longitude: 0)
54 lo: Point.new(latitude: 400_000_000, longitude: -750_000_000),
55 hi: Point.new(latitude: 420_000_000, longitude: -730_000_000))
111 location: Point.new(latitude: 0, longitude: 0)),
113 location: Point.new(latitude: 0, longitude: 1)),
115 location: Point.new(latitude: 1, longitude: 0)),
117 location: Point.new(latitude: 1, longitude: 1)),
119 location: Point.new(latitude: 0, longitude: 1))
Droute_guide_server.rb38 lat_a = to_radians.call(point_a.latitude / COORD_FACTOR)
39 lat_b = to_radians.call(point_b.latitude / COORD_FACTOR)
58 lats = [@bounds.lo.latitude, @bounds.hi.latitude]
98 'latitude' => point.latitude }] || ''
113 'latitude' => point.latitude }] || ''
145 'latitude' => n.location.latitude,
/external/grpc-grpc/examples/cpp/route_guide/
Droute_guide_server.cc57 float lat_1 = start.latitude() / kCoordFactor; in GetDistance()
58 float lat_2 = end.latitude() / kCoordFactor; in GetDistance()
77 if (f.location().latitude() == point.latitude() && in GetFeatureName()
105 long top = (std::max)(lo.latitude(), hi.latitude()); in ListFeatures()
106 long bottom = (std::min)(lo.latitude(), hi.latitude()); in ListFeatures()
110 f.location().latitude() >= bottom && in ListFeatures()
111 f.location().latitude() <= top) { in ListFeatures()
154 if (n.location().latitude() == note.location().latitude() && in RouteChat()
Droute_guide_client.cc47 Point MakePoint(long latitude, long longitude) { in MakePoint() argument
49 p.set_latitude(latitude); in MakePoint()
55 long latitude, long longitude) { in MakeFeature() argument
58 f.mutable_location()->CopyFrom(MakePoint(latitude, longitude)); in MakeFeature()
63 long latitude, long longitude) { in MakeRouteNote() argument
66 n.mutable_location()->CopyFrom(MakePoint(latitude, longitude)); in MakeRouteNote()
103 << feature.location().latitude()/kCoordFactor_ << ", " in ListFeatures()
132 << f.location().latitude()/kCoordFactor_ << ", " in RecordRoute()
168 << " at " << note.location().latitude() << ", " in RouteChat()
178 << " at " << server_note.location().latitude() << ", " in RouteChat()
[all …]
/external/grpc-grpc/examples/python/route_guide/
Droute_guide_client.py27 def make_route_note(message, latitude, longitude): argument
30 location=route_guide_pb2.Point(latitude=latitude, longitude=longitude))
48 latitude=409146138, longitude=-746188906))
49 guide_get_one_feature(stub, route_guide_pb2.Point(latitude=0, longitude=0))
54 lo=route_guide_pb2.Point(latitude=400000000, longitude=-750000000),
55 hi=route_guide_pb2.Point(latitude=420000000, longitude=-730000000))
Droute_guide_server.py40 lat_1 = start.latitude / coord_factor
41 lat_2 = end.latitude / coord_factor
75 top = max(request.lo.latitude, request.hi.latitude)
76 bottom = min(request.lo.latitude, request.hi.latitude)
80 feature.location.latitude >= bottom and
81 feature.location.latitude <= top):
/external/grpc-grpc/examples/node/static_codegen/route_guide/
Droute_guide_client.js46 var latitude = feature.getLocation().getLatitude();
50 latitude/COORD_FACTOR + ', ' + longitude/COORD_FACTOR);
53 latitude/COORD_FACTOR + ', ' + longitude/COORD_FACTOR);
113 location.setLatitude(value.location.latitude);
177 latitude: 0, property
183 latitude: 0, property
189 latitude: 1, property
195 latitude: 0, property
203 note.location.latitude + ', ' + note.location.longitude);
207 location.setLatitude(note.location.latitude);
/external/grpc-grpc/examples/python/multiplex/
Dmultiplex_client.py30 def make_route_note(message, latitude, longitude): argument
33 location=route_guide_pb2.Point(latitude=latitude, longitude=longitude))
51 latitude=409146138, longitude=-746188906))
53 route_guide_pb2.Point(latitude=0, longitude=0))
58 lo=route_guide_pb2.Point(latitude=400000000, longitude=-750000000),
59 hi=route_guide_pb2.Point(latitude=420000000, longitude=-730000000))
Dmultiplex_server.py42 lat_1 = start.latitude / coord_factor
43 lat_2 = end.latitude / coord_factor
83 top = max(request.lo.latitude, request.hi.latitude)
84 bottom = min(request.lo.latitude, request.hi.latitude)
88 feature.location.latitude >= bottom and
89 feature.location.latitude <= top):
/external/mp4parser/isoparser/src/main/java/com/coremedia/iso/boxes/threegpp26244/
DLocationInformationBox.java20 private double latitude; field in LocationInformationBox
62 return latitude; in getLatitude()
65 public void setLatitude(double latitude) { in setLatitude() argument
66 this.latitude = latitude; in setLatitude()
104 latitude = IsoTypeReader.readFixedPoint1616(content); in _parseDetails()
119 IsoTypeWriter.writeFixedPont1616(byteBuffer, latitude); in getContent()
/external/oboe/samples/RhythmGame/third_party/glm/gtx/
Dpolar_coordinates.inl17 asin(tmp.y), // latitude
28 T const latitude(polar.x); local
32 cos(latitude) * sin(longitude),
33 sin(latitude),
34 cos(latitude) * cos(longitude));
/external/grpc-grpc/examples/objective-c/route_guide/
DViewControllers.m34 NSString *verticalDirection = self.latitude >= 0 ? @"N" : @"S";
37 abs(self.latitude) / 1E7f, verticalDirection,
45 latitude:(float)latitude
51 latitude:(float)latitude
55 note.location.latitude = (int32_t) latitude * 1E7;
97 point.latitude = 409146138;
141 rectangle.lo.latitude = 405E6;
143 rectangle.hi.latitude = 410E6;
203 location.latitude = [((NSNumber *) feature[@"location"][@"latitude"]) intValue];
264 NSArray *notes = @[[RTGRouteNote noteWithMessage:@"First message" latitude:0 longitude:0],
[all …]
/external/rust/crates/csv/examples/
Dtutorial-write-serde-02.rs14 latitude: f64, field
25 latitude: 65.2419444, in run()
32 latitude: 60.5544444, in run()
39 latitude: 33.7133333, in run()
Dtutorial-read-serde-01.rs18 let latitude: f64 = record[3].parse()?; in run() localVariable
24 city, state, pop, latitude, longitude in run()
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowGeocoder.java33 protected List<Address> getFromLocation(double latitude, double longitude, int maxResults) in getFromLocation() argument
36 -90 <= latitude && latitude <= 90, "Latitude must be between -90 and 90, got %s", latitude); in getFromLocation()
/external/icu/icu4c/source/i18n/
Dastro.h88 latitude = lat;
99 latitude = lat; in set()
115 double latitude; variable
317 CalendarAstronomer(double longitude, double latitude);
/external/icu/libicu/cts_headers/
Dastro.h88 latitude = lat;
99 latitude = lat; in set()
115 double latitude; variable
317 CalendarAstronomer(double longitude, double latitude);
/external/python/cpython3/Lib/
Dantigravity.py7 def geohash(latitude, longitude, datedow): argument
17 print('%d%s %d%s' % (latitude, p[1:], longitude, q[1:]))
/external/icu/android_icu4j/src/main/java/android/icu/impl/
DCalendarAstronomer.java243 public CalendarAstronomer(double longitude, double latitude) { in CalendarAstronomer() argument
246 fLatitude = normPI(latitude * DEG_RAD); in CalendarAstronomer()
430 return eclipticToEquatorial(ecliptic.longitude, ecliptic.latitude); in eclipticToEquatorial()
1508 latitude = lat;
1518 return Double.toString(longitude*RAD_DEG) + "," + (latitude*RAD_DEG);
1527 public final double latitude;
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DCalendarAstronomer.java241 public CalendarAstronomer(double longitude, double latitude) { in CalendarAstronomer() argument
244 fLatitude = normPI(latitude * DEG_RAD); in CalendarAstronomer()
428 return eclipticToEquatorial(ecliptic.longitude, ecliptic.latitude); in eclipticToEquatorial()
1505 latitude = lat;
1515 return Double.toString(longitude*RAD_DEG) + "," + (latitude*RAD_DEG);
1524 public final double latitude;
/external/grpc-grpc/examples/cpp/
Dcpptutorial.md114 // Points are represented as latitude-longitude pairs in the E7 representation
119 int32 latitude = 1;
229 long top = std::max(lo.latitude(), hi.latitude());
230 long bottom = std::min(lo.latitude(), hi.latitude());
234 f.location().latitude() >= bottom &&
235 f.location().latitude() <= top) {
272 if (n.location().latitude() == note.location().latitude() &&
389 << feature->location().latitude()/kCoordFactor_ << ", "
407 << feature.location().latitude()/kCoordFactor_ << ", "
432 << f.location().latitude()/kCoordFactor_ << ", "

12345