Home
last modified time | relevance | path

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

1234567891011

/plugin/geophp/vendor/funiq/geophp/src/Geometry/
H A DLineString.php39 foreach ($array as $point) {
40 $points[] = Point::fromArray($point);
56 * Returns the 1-based Nth point of the LineString.
59 * @param int $n Nth point of the LineString
92 foreach ($this->getPoints() as $point) {
94 // Equivalent to $previousPoint->distance($point) but much faster
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
[all...]
H A DPolygon.php42 'Cannot create Polygon: contains non-closed ring (first point: '
43 . implode(' ', $component->startPoint()->asArray()) . ', last point: '
163 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;
173 * Find the outermost point from the centroid
175 * @returns Point The outermost point
187 foreach ($this->exteriorRing()->getPoints() as $point) {
258 pointInPolygon($point, $pointOnBoundary = true, $pointOnVertex = true) global() argument
313 pointOnVertex($point) global() argument
[all...]
/plugin/geophp/vendor/funiq/geophp/src/Adapter/
H A DGeoHash.php79 * Convert the geoHash to a Point. The point is 2-dimensional.
82 * @param boolean $asGrid Return the center point of hash grid or the grid cell as Polygon
129 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
[all...]
H A 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
331 writePoint($point) global() argument
[all...]
H A 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'];
278 * I propose to force-close if start -> end point distance is less then 10% of line length, otherwise drop it.
322 $ringPoints[] = $nodes[$ringNode]['point'];
468 * @param Point $point
472 protected function processPoint($point, $isWayPoint = false) argument
474 $nodePosition = sprintf(self::OSM_COORDINATE_PRECISION . '_' . self::OSM_COORDINATE_PRECISION, $point
[all...]
/plugin/rigrr/lib/svg-pan-zoom/
H A Dsvg-pan-zoom.js452 point = point.matrixTransform(viewportCTM.inverse())
454 …var k = svg.createSVGMatrix().translate(point.x, point.y).scale(zoomScale).translate(-point.x, -po…
484 if (Utils.getType(point) !== 'SVGPoint' && 'x' in point && 'y' in point) {
486 _point.x = point.x
488 point = _point
532 var point;
756 , pan: function(point) {that.pan(point)}
757 , panBy: function(point) {that.panBy(point)}
1021 return point
1036 point.x = width / 2
[all …]
/plugin/html2pdf/html2pdf/html2ps/
H A 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/authgooglesheets/vendor/google/apiclient-services/src/Apigee/
H A DGoogleCloudApigeeV1DebugSessionTransaction.php47 public function setPoint($point) argument
49 $this->point = $point;
56 return $this->point;
/plugin/statdisplay/pchart/
H A DGDCanvas.php412 $Xi = floor ( $point->getX() );
413 $Yi = floor ( $point->getY() );
415 if ($Xi == $point->getX() && $Yi == $point->getY()) {
419 $point->getX(), $point->getY(),
424 $Alpha1 = (((1 - ($point->getX() - $Xi)) * (1 - ($point->getY() - $Yi)) * 100) / 100) * $alpha;
429 $Alpha2 = ((($point->getX() - $Xi) * (1 - ($point->getY() - $Yi)) * 100) / 100) * $alpha;
434 $Alpha3 = (((1 - ($point->getX() - $Xi)) * ($point->getY() - $Yi) * 100) / 100)
440 $Alpha4 = ((($point->getX() - $Xi) * ($point->getY() - $Yi) * 100) / 100)
452 $RGB2 = imagecolorat ( $this->picture, $point->getX(), $point->getY());
465 imagesetpixel($this->picture, $point->getX(), $point->getY(), $C_Aliased );
[all …]
/plugin/statistics/inc/pchart/
H A DGDCanvas.php445 public function drawAntialiasPixel(Point $point, Color $color, ShadowProperties $shadowProperties, $alpha = 100) { argument
449 new Point($point->getX() + $shadowProperties->xDistance,
450 $point->getY() + $shadowProperties->yDistance),
460 new Point($point->getX() + $shadowProperties->xDistance - $i / 2,
461 $point->getY() + $shadowProperties->yDistance - $i / 2),
468 new Point($point->getX() + $shadowProperties->xDistance + $i / 2,
469 $point->getY() + $shadowProperties->yDistance + $i / 2),
477 $Xi = floor($point->getX());
478 $Yi = floor($point->getY());
480 if($Xi == $point
515 drawAlphaPixel(Point $point, $alpha, Color $color) global() argument
582 drawText($fontSize, $angle, Point $point, Color $color, $fontName, $text, ShadowProperties $shadowProperties) global() argument
[all...]
/plugin/eventline/timeline_ajax/styles/
H A 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 …]
H A Dgraphics-ie6.css49 .simileAjax-bubble-arrow-point-left-pngNotTranslucent {
51 …oft.AlphaImageLoader(src='" + SimileAjax.urlPrefix + "images/bubble-arrow-point-left.png', sizingM…
55 .simileAjax-bubble-arrow-point-right-pngNotTranslucent {
57 …oft.AlphaImageLoader(src='" + SimileAjax.urlPrefix + "images/bubble-arrow-point-right.png', sizing…
61 .simileAjax-bubble-arrow-point-up-pngNotTranslucent {
63 …oft.AlphaImageLoader(src='" + SimileAjax.urlPrefix + "images/bubble-arrow-point-up.png', sizingMet…
67 .simileAjax-bubble-arrow-point-down-pngNotTranslucent {
69 …oft.AlphaImageLoader(src='" + SimileAjax.urlPrefix + "images/bubble-arrow-point-down.png', sizingM…
/plugin/tline/timeline_ajax/styles/
H A 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 …]
H A Dgraphics-ie6.css49 .simileAjax-bubble-arrow-point-left-pngNotTranslucent {
51 …oft.AlphaImageLoader(src='" + SimileAjax.urlPrefix + "images/bubble-arrow-point-left.png', sizingM…
55 .simileAjax-bubble-arrow-point-right-pngNotTranslucent {
57 …oft.AlphaImageLoader(src='" + SimileAjax.urlPrefix + "images/bubble-arrow-point-right.png', sizing…
61 .simileAjax-bubble-arrow-point-up-pngNotTranslucent {
63 …oft.AlphaImageLoader(src='" + SimileAjax.urlPrefix + "images/bubble-arrow-point-up.png', sizingMet…
67 .simileAjax-bubble-arrow-point-down-pngNotTranslucent {
69 …oft.AlphaImageLoader(src='" + SimileAjax.urlPrefix + "images/bubble-arrow-point-down.png', sizingM…
/plugin/authgooglesheets/vendor/google/apiclient-services/src/CloudVideoIntelligence/
H A DGoogleCloudVideointelligenceV1beta2DetectedLandmark.php64 public function setPoint(GoogleCloudVideointelligenceV1beta2NormalizedVertex $point) argument
66 $this->point = $point;
73 return $this->point;
H A DGoogleCloudVideointelligenceV1DetectedLandmark.php64 public function setPoint(GoogleCloudVideointelligenceV1NormalizedVertex $point) argument
66 $this->point = $point;
73 return $this->point;
H A DGoogleCloudVideointelligenceV1p2beta1DetectedLandmark.php64 public function setPoint(GoogleCloudVideointelligenceV1p2beta1NormalizedVertex $point) argument
66 $this->point = $point;
73 return $this->point;
H A DGoogleCloudVideointelligenceV1p3beta1DetectedLandmark.php64 public function setPoint(GoogleCloudVideointelligenceV1p3beta1NormalizedVertex $point) argument
66 $this->point = $point;
73 return $this->point;
H A DGoogleCloudVideointelligenceV1p1beta1DetectedLandmark.php64 public function setPoint(GoogleCloudVideointelligenceV1p1beta1NormalizedVertex $point) argument
66 $this->point = $point;
73 return $this->point;
/plugin/diagramsnet/lib/plugins/
H A DedgeConnection.js23 var point = this.graph.getPointForEvent(evt);
24 geo.x = this.graph.snap(point.x - geo.width / 2) - this.graph.panDx / this.graph.view.scale;
25 geo.y = this.graph.snap(point.y - geo.height / 2) - this.graph.panDy / this.graph.view.scale;
37 this.graph.snap(point.x)) <= tol)
42 this.graph.snap(point.y)) <= tol)
/plugin/authgooglesheets/vendor/phpseclib/phpseclib/phpseclib/Crypt/EC/Formats/Keys/
H A DCommon.php234 $curve->setBasePoint(...$point);
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;
439 $point = $curve->getBasePoint();
440 $x = $point[0]->toBytes();
[all …]
/plugin/authgooglesheets/vendor/google/apiclient-services/src/Fitness/
H A DDataset.php101 public function setPoint($point) argument
103 $this->point = $point;
110 return $this->point;
/plugin/combo/vendor/php-webdriver/webdriver/lib/
H A DWebDriverPoint.php6 * Represent a point.
22 * @return int The x-coordinate of the point.
32 * @return int The y-coordinate of the point.
40 * Set the point to a new position.
70 * Check whether the given point is the same as the instance.
72 * @param WebDriverPoint $point The point to be compared with.
75 public function equals(self $point) argument
77 return $this->x === $point->getX() &&
78 $this->y === $point
[all...]
/plugin/authgooglesheets/vendor/phpseclib/phpseclib/phpseclib/Crypt/EC/
H A DPrivateKey.php66 $point = [$this->curve->convertInteger(new BigInteger(strrev($coordinates), 256))];
67 $point = $this->curve->multiplyPoint($point, $this->dA);
68 return strrev($point[0]->toBytes(true));
73 $point = PKCS1::extractPoint($coordinates, $this->curve);
74 $point = $this->curve->multiplyPoint($point, $this->dA);
76 return $this->curve->encodePoint($point);
78 if (empty($point)) {
81 return "\4" . $point[0]->toBytes(true) . $point[1]->toBytes(true);
/plugin/spatialhelper/helper/
H A Dsearch.php90 * optional point
140 $point = $indexer->getCoordsFromExif($id);
144 $point
148 'lat' => $point->y(), 'lon' => $point->x()];
152 $point = new Point($geotags ['lon'], $geotags ['lat']);
156 $point

1234567891011