Home
last modified time | relevance | path

Searched refs:point (Results 1 – 25 of 318) sorted by relevance

12345678910>>...13

/plugin/geophp/vendor/funiq/geophp/src/Geometry/
DLineString.php39 foreach ($array as $point) {
40 $points[] = Point::fromArray($point);
92 foreach ($this->getPoints() as $point) {
96 pow(($previousPoint->x() - $point->x()), 2) +
97 pow(($previousPoint->y() - $point->y()), 2)
100 $x += ($previousPoint->x() + $point->x()) / 2 * $segmentLength;
101 $y += ($previousPoint->y() + $point->y()) / 2 * $segmentLength;
103 $previousPoint = $point;
127 foreach ($this->getPoints() as $point) {
130 pow(($previousPoint->x() - $point->x()), 2) +
[all …]
DPolygon.php163 foreach ($points as $k => $point) {
165 $P = ($point->x() * $points[$j]->y()) - ($point->y() * $points[$j]->x());
166 $x += ($point->x() + $points[$j]->x()) * $P;
167 $y += ($point->y() + $points[$j]->y()) * $P;
187 foreach ($this->exteriorRing()->getPoints() as $point) {
188 $distance = $centroid->distance($point);
192 $maxPoint = $point;
253 * @param Point $point
258 public function pointInPolygon($point, $pointOnBoundary = true, $pointOnVertex = true) argument
263 if ($this->pointOnVertex($point, $vertices)) {
[all …]
/plugin/aichat/vendor/bdelespierre/php-kmeans/src/KMeans/
DSpace.php52 foreach ($this as $point) {
53 $points[] = $point->toArray();
70 $this->attach($point = $this->newPoint($coordinates), $data);
72 return $point;
75 public function attach($point, $data = null): void argument
77 if (!$point instanceof Point) {
81 parent::attach($point, $data);
98 foreach ($this as $point) {
100 if ($min[$n] === null || $min[$n] > $point[$n]) {
101 $min[$n] = $point[$n];
[all …]
DCluster.php46 foreach ($this->points as $point) {
47 $points[] = $point->toArray();
56 public function attach(Point $point): Point argument
58 if ($point instanceof self) {
62 $this->points->attach($point);
63 return $point;
66 public function detach(Point $point): Point argument
68 $this->points->detach($point);
69 return $point;
90 foreach ($this->points as $point) {
[all …]
DPoint.php50 public function getDistanceWith(self $point, bool $precise = true): float argument
52 if ($point->space !== $this->space) {
58 $difference = $this->coordinates[$n] - $point->coordinates[$n];
69 foreach ($points as $point) {
70 $distance = $this->getDistanceWith($point, false);
74 $minPoint = $point;
/plugin/geophp/vendor/funiq/geophp/src/Adapter/
DGeoHash.php129 foreach ($envelope->getPoints() as $point) {
130 $geoHashes[] = $this->encodePoint($point, 0.0000001);
151 * @param Point $point
156 private function encodePoint($point, $precision = null) argument
169 $lap = strlen($point->y()) - strpos($point->y(), ".");
170 $lop = strlen($point->x()) - strpos($point->x(), ".");
175 $point->x() < $minLongitude || $point->y() < $minLatitude ||
176 $point->x() > $maxLongitude || $point->y() > $maxLatitude
178 … throw new \Exception("Point coordinates ({$point->x()}, {$point->y()}) are out of lat/lon range");
187 if ($point->x() > $next) {
[all …]
DWKB.php183 $point = null;
186 $point = new Point($coordinates[0], $coordinates[1]);
190 $point = new Point($coordinates[0], $coordinates[1], $coordinates[2]);
192 $point = new Point($coordinates[0], $coordinates[1], null, $coordinates[2]);
196 … $point = new Point($coordinates[0], $coordinates[1], $coordinates[2], $coordinates[3]);
199 return $point;
214 $point = $this->getPoint();
215 if ($point) {
216 $components[] = $point;
328 * @param Point $point
[all …]
DOSM.php90 'point' => new Point($lon, $lat),
159 $relationPoints[] = $nodes[$ref]['point'];
200 $linePoints[] = $nodes[$wayNode]['point'];
218 $geometries[] = $node['point'];
267 $linePoints[] = $nodes[$lineNode]['point'];
322 $ringPoints[] = $nodes[$ringNode]['point'];
/plugin/aichat/Storage/
DQdrantStorage.php254 foreach ($data as $point) {
256 $point['payload']['page'],
257 (int)$point['id'],
258 $point['payload']['text'],
259 $point['vector'],
260 $point['payload']['language'] ?? '',
261 (int)$point['payload']['created']
299 foreach ($data as $point) {
301 $point['payload']['page'],
302 (int)$point['id'],
[all …]
/plugin/rigrr/lib/svg-pan-zoom/
Dsvg-pan-zoom.js445 SvgPanZoom.prototype.zoomAtPoint = function(svg, point, zoomScale, zoomAbsolute) {
452 point = point.matrixTransform(viewportCTM.inverse())
454 …var k = svg.createSVGMatrix().translate(point.x, point.y).scale(zoomScale).translate(-point.x, -po…
482 SvgPanZoom.prototype.publicZoomAtPoint = function(scale, point, absolute) {
484 if (Utils.getType(point) !== 'SVGPoint' && 'x' in point && 'y' in point) {
486 _point.x = point.x
487 _point.y = point.y
488 point = _point
494 this.zoomAtPoint(this.svg, point, scale, absolute)
532 var point;
[all …]
/plugin/asciidocjs/node_modules/is-fullwidth-code-point/
Dreadme.md1point [![Build Status](https://travis-ci.org/sindresorhus/is-fullwidth-code-point.svg?branch=maste…
3 > Check if the character represented by a given [Unicode code point](https://en.wikipedia.org/wiki/…
9 $ npm install is-fullwidth-code-point
16 const isFullwidthCodePoint = require('is-fullwidth-code-point');
34 The [code point](https://en.wikipedia.org/wiki/Code_point) of a character.
/plugin/html2pdf/html2pdf/html2ps/
Dpath.php27 foreach ($this->_points as $point) {
28 $rect->ur->x = max($rect->ur->x, $point->x);
29 $rect->ur->y = max($rect->ur->y, $point->y);
30 $rect->ll->x = min($rect->ll->x, $point->x);
31 $rect->ll->y = min($rect->ll->y, $point->y);
41 function addPoint($point) { argument
42 $this->_points[] = $point;
55 foreach ($this->_points as $point) {
56 $result[] = $point->x;
57 $result[] = $point->y;
/plugin/statdisplay/pchart/
DGDCanvas.php386 …public function drawAntialiasPixel(Point $point, Color $color, ShadowProperties $shadowProperties,… argument
389 $this->drawAntialiasPixel(new Point($point->getX() + $shadowProperties->xDistance,
390 $point->getY() + $shadowProperties->yDistance),
398 $this->drawAntialiasPixel(new Point($point->getX() + $shadowProperties->xDistance - $i / 2,
399 $point->getY() + $shadowProperties->yDistance - $i / 2),
404 $this->drawAntialiasPixel(new Point($point->getX() + $shadowProperties->xDistance + $i / 2,
405 $point->getY() + $shadowProperties->yDistance + $i / 2),
412 $Xi = floor ( $point->getX() );
413 $Yi = floor ( $point->getY() );
415 if ($Xi == $point->getX() && $Yi == $point->getY()) {
[all …]
/plugin/aichat/vendor/bdelespierre/php-kmeans/
DREADME.md95 ### How to get coordinates of a point/cluster:
97 $x = $point[0];
98 $y = $point[1];
102 list($x,$y) = $point->getCoordinates();
108 foreach ($cluster as $point) {
109 printf('[%d,%d]', $point[0], $point[1]);
113 ### Attach data to a point:
116 $point = $space->addPoint([$x, $y, $z], "user #123");
119 ### Retrieve point data:
122 $data = $space[$point]; // e.g. "user #123"
/plugin/tline/timeline_ajax/styles/
Dgraphics.css120 div.simileAjax-bubble-arrow-point-left {
126 .simileAjax-bubble-arrow-point-left-pngTranslucent {
127 background: url(../images/bubble-arrow-point-left.png) center right no-repeat;
130 div.simileAjax-bubble-arrow-point-right {
136 .simileAjax-bubble-arrow-point-right-pngTranslucent {
137 background: url(../images/bubble-arrow-point-right.png) center left no-repeat;
140 div.simileAjax-bubble-arrow-point-up {
146 .simileAjax-bubble-arrow-point-up-pngTranslucent {
147 background: url(../images/bubble-arrow-point-up.png) bottom center no-repeat;
150 div.simileAjax-bubble-arrow-point-down {
[all …]
/plugin/eventline/timeline_ajax/styles/
Dgraphics.css120 div.simileAjax-bubble-arrow-point-left {
126 .simileAjax-bubble-arrow-point-left-pngTranslucent {
127 background: url(../images/bubble-arrow-point-left.png) center right no-repeat;
130 div.simileAjax-bubble-arrow-point-right {
136 .simileAjax-bubble-arrow-point-right-pngTranslucent {
137 background: url(../images/bubble-arrow-point-right.png) center left no-repeat;
140 div.simileAjax-bubble-arrow-point-up {
146 .simileAjax-bubble-arrow-point-up-pngTranslucent {
147 background: url(../images/bubble-arrow-point-up.png) bottom center no-repeat;
150 div.simileAjax-bubble-arrow-point-down {
[all …]
/plugin/asciidocjs/node_modules/core-js/library/modules/
Des6.string.iterator.js12 var point;
14 point = $at(O, index);
15 this._i += point.length;
16 return { value: point, done: false };
/plugin/asciidocjs/node_modules/core-js/modules/
Des6.string.iterator.js12 var point;
14 point = $at(O, index);
15 this._i += point.length;
16 return { value: point, done: false };
/plugin/authgooglesheets/vendor/google/apiclient-services/src/Apigee/
DGoogleCloudApigeeV1DebugSessionTransaction.php47 public function setPoint($point) argument
49 $this->point = $point;
56 return $this->point;
/plugin/authgooglesheets/vendor/phpseclib/phpseclib/phpseclib/Crypt/EC/Formats/Keys/
DCommon.php233 $point = self::extractPoint("\0" . $data['base'], $curve);
234 $curve->setBasePoint(...$point);
260 $point = self::extractPoint("\0" . $data['base'], $curve);
261 $curve->setBasePoint(...$point);
294 $point = $curve->recoverX($y, $sign);
295 if (!$curve->verifyPoint($point)) {
298 return $point;
324 $point = [
329 if (!$curve->verifyPoint($point)) {
333 return $point;
[all …]
/plugin/authgooglesheets/vendor/google/apiclient-services/src/CloudVideoIntelligence/
DGoogleCloudVideointelligenceV1p2beta1DetectedLandmark.php64 public function setPoint(GoogleCloudVideointelligenceV1p2beta1NormalizedVertex $point) argument
66 $this->point = $point;
73 return $this->point;
DGoogleCloudVideointelligenceV1DetectedLandmark.php64 public function setPoint(GoogleCloudVideointelligenceV1NormalizedVertex $point) argument
66 $this->point = $point;
73 return $this->point;
DGoogleCloudVideointelligenceV1beta2DetectedLandmark.php64 public function setPoint(GoogleCloudVideointelligenceV1beta2NormalizedVertex $point) argument
66 $this->point = $point;
73 return $this->point;
DGoogleCloudVideointelligenceV1p1beta1DetectedLandmark.php64 public function setPoint(GoogleCloudVideointelligenceV1p1beta1NormalizedVertex $point) argument
66 $this->point = $point;
73 return $this->point;
DGoogleCloudVideointelligenceV1p3beta1DetectedLandmark.php64 public function setPoint(GoogleCloudVideointelligenceV1p3beta1NormalizedVertex $point) argument
66 $this->point = $point;
73 return $this->point;

12345678910>>...13