Home
last modified time | relevance | path

Searched full:point (Results 1 – 25 of 1131) sorted by relevance

12345678910>>...46

/plugin/statdisplay/pchart/
DGDCanvas.php16 function drawFilledRectangle(Point $corner1, Point $corner2, Color $color,
20 $newCorner1 = new Point($corner2->getX(), $corner1->getY());
21 $newCorner2 = new Point($corner1->getX(), $corner2->getY());
28 $newCorner1 = new Point($corner1->getX(), $corner2->getY());
29 $newCorner2 = new Point($corner2->getX(), $corner1->getY());
44 $this->drawFilledRectangle(new Point($X1 + $shadowProperties->xDistance,
46 new Point($X2 + $shadowProperties->xDistance,
56 $this->drawFilledRectangle(new Point($X1 + $shadowProperties->xDistance - $i / 2,
58 new Point($X2 + $shadowProperties->xDistance - $i / 2,
65 $this->drawFilledRectangle(new Point($X1 + $shadowProperties->xDistance + $i / 2,
[all …]
DICanvas.php4 require_once dirname(__FILE__).'/Point.php';
15 …function drawRectangle(Point $corner1, Point $corner2, Color $color, $lineWidth, $lineDotSize, Sha…
17 function drawFilledRectangle(Point $corner1, Point $corner2, Color $color,
24 function drawRoundedRectangle(Point $corner1, Point $corner2, $radius,
28 function drawFilledRoundedRectangle(Point $point1, Point $point2, $radius,
32 …wLine(Point $point1, Point $point2, Color $color, $lineWidth, $lineDotSize, ShadowProperties $shad…
34 …tedLine(Point $point1, Point $point2, $dotSize, $lineWidth, Color $color, ShadowProperties $shadow…
36 …function drawAntialiasPixel(Point $point, Color $color, ShadowProperties $shadowProperties, $alpha… argument
38 …function drawText($fontSize, $angle, Point $point, Color $color, $fontName, $text, ShadowPropertie… argument
45 …function drawCircle(Point $center, $height, Color $color, ShadowProperties $shadowProperties, $wid…
[all …]
DTestCanvas.php22 …function drawRectangle(Point $corner1, Point $corner2, Color $color, $lineWidth, $lineDotSize, Sha…
26 function drawFilledRectangle(Point $corner1, Point $corner2, Color $color,
35 function drawRoundedRectangle(Point $corner1, Point $corner2, $radius,
41 function drawFilledRoundedRectangle(Point $point1, Point $point2, $radius,
47 …wLine(Point $point1, Point $point2, Color $color, $lineWidth, $lineDotSize, ShadowProperties $shad…
51 …tedLine(Point $point1, Point $point2, $dotSize, $lineWidth, Color $color, ShadowProperties $shadow…
55 …function drawAntialiasPixel(Point $point, Color $color, ShadowProperties $shadowProperties, $alpha… argument
59 …function drawText($fontSize, $angle, Point $point, Color $color, $fontName, $text, ShadowPropertie… argument
68 …function drawCircle(Point $center, $height, Color $color, ShadowProperties $shadowProperties, $wid…
72 …function drawFilledCircle(Point $center, $height, Color $color, ShadowProperties $shadowProperties…
DpChart.php222 $this->canvas->drawFilledRectangle(new Point($this->GArea_X1, $this->GArea_Y1),
223 new Point($this->GArea_X2, $this->GArea_Y2),
226 $this->canvas->drawRectangle(new Point($this->GArea_X1, $this->GArea_Y1),
227 new Point($this->GArea_X2, $this->GArea_Y2),
254 $this->canvas->drawLine(new Point($X1, $Y1),
255 new Point($X2, $Y2 + 1),
311 $this->canvas->drawLine(new Point($this->GArea_X1, $this->GArea_Y1),
312 new Point($this->GArea_X1, $this->GArea_Y2),
317 $this->canvas->drawLine(new Point($this->GArea_X1, $this->GArea_Y2),
318 new Point($this->GArea_X2, $this->GArea_Y2),
[all …]
DPoint.php4 * Immutable class representing a 2D point in canvas coordinates
6 class Point { class
20 public function distanceFrom(Point $other) {
26 * Return a new Point instance that has been incremented by the
30 return new Point($this->x + $x, $this->Y + $y);
34 return sprintf("Point<%d, %d>", $this->x, $this->y);
/plugin/geophp/vendor/funiq/geophp/src/Geometry/
DLineString.php12 * @method Point[] getComponents()
13 * @property Point[] $components
14 * @method Point geometryN($n)
27 * @param Point[] $points An array of at least two points with
39 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
60 * @return Point|null
77 return new Point();
[all …]
DPolygon.php42 'Cannot create Polygon: contains non-closed ring (first point: '
43 . implode(' ', $component->startPoint()->asArray()) . ', last point: '
112 * @return Point
117 return new Point();
143 return new Point();
145 return new Point($x / $totalArea, $y / $totalArea);
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;
[all …]
DPoint.php8 * A Point is a 0-dimensional geometric object and represents a single location in coordinate space.
9 * A Point has an x-coordinate value, a y-coordinate value.
12 class Point extends Geometry class
34 // If X or Y is null than it is an empty point
38 … throw new InvalidGeometryException("Cannot construct Point. x and y should be numeric");
46 // Check to see if this point has Z (height) value
49 throw new InvalidGeometryException("Cannot construct Point. z should be numeric");
58 throw new InvalidGeometryException("Cannot construct Point. m should be numeric");
67 * @return Point
78 return Geometry::POINT;
[all …]
DMultiPoint.php14 * @method Point[] getComponents()
15 * @property Point[] $components The elements of a MultiPoint are Points
22 parent::__construct($components, true, Point::class);
45 foreach ($array as $point) {
46 $points[] = Point::fromArray($point);
87 return new Point();
103 return new Point($x / $this->numPoints(), $y / $this->numPoints());
/plugin/aichat/vendor/bdelespierre/php-kmeans/src/KMeans/
DSpace.php52 foreach ($this as $point) {
53 $points[] = $point->toArray();
59 public function newPoint(array $coordinates): Point
62 … throw new \LogicException("(" . implode(',', $coordinates) . ") is not a point of this space");
65 return new Point($this, $coordinates);
68 public function addPoint(array $coordinates, $data = null): Point
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) {
[all …]
DCluster.php29 class Cluster extends Point implements \IteratorAggregate, \Countable
46 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;
[all …]
/plugin/geophp/vendor/funiq/geophp/src/Adapter/
DGeoHash.php6 use geoPHP\Geometry\Point; alias
79 * 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
84 * @return Point|Polygon the converted GeoHash
90 return new Point($decodedHash['centerLongitude'], $decodedHash['centerLatitude']);
96 new Point($decodedHash['minLongitude'], $decodedHash['maxLatitude']),
97 new Point($decodedHash['maxLongitude'], $decodedHash['maxLatitude']),
98 new Point($decodedHash['maxLongitude'], $decodedHash['minLatitude']),
99 new Point($decodedHash['minLongitude'], $decodedHash['minLatitude']),
100 new Point($decodedHash['minLongitude'], $decodedHash['maxLatitude']),
[all …]
DWKB.php7 use geoPHP\Geometry\Point; alias
53 Geometry::POINT => 1,
157 $geometry = $this->getMulti('Point');
183 $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();
[all …]
DGeoRSS.php9 use geoPHP\Geometry\Point; alias
115 $coordinates[] = new Point($lon, $lat);
124 $pointElements = $this->xmlObject->getElementsByTagName('point');
127 $points[] = !empty($pointArray) ? $pointArray[0] : new Point();
169 new Point($parts[3], $parts[2]),
170 new Point($parts[3], $parts[0]),
171 new Point($parts[1], $parts[0]),
172 new Point($parts[1], $parts[2]),
173 new Point($parts[3], $parts[2]),
189 $points[] = new Point($parts[1], $parts[0]);
[all …]
/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->getY();
/plugin/diagramsnet/lib/js/diagramly/
DLocalLibrary.js4 * Constructs a new point for the optional x and y coordinates. If no
7 * @class Implements a basic 2D point. Known subclassers = {@link mxRectangle}.
8 * @param {number} x X-coordinate of the point.
9 * @param {number} y Y-coordinate of the point.
20 * Translates this point by the given vector.
31 * Translates this point by the given vector.
42 * Translates this point by the given vector.
53 * Translates this point by the given vector.
65 * @type mx.Point
DUrlLibrary.js6 * Constructs a new point for the optional x and y coordinates. If no
9 * @class Implements a basic 2D point. Known subclassers = {@link mxRectangle}.
10 * @param {number} x X-coordinate of the point.
11 * @param {number} y Y-coordinate of the point.
32 * Translates this point by the given vector.
43 * Translates this point by the given vector.
54 * Translates this point by the given vector.
82 * @type mx.Point
DStorageLibrary.js6 * Constructs a new point for the optional x and y coordinates. If no
9 * @class Implements a basic 2D point. Known subclassers = {@link mxRectangle}.
10 * @param {number} x X-coordinate of the point.
11 * @param {number} y Y-coordinate of the point.
27 * Translates this point by the given vector.
46 * Translates this point by the given vector.
57 * Translates this point by the given vector.
77 * @type mx.Point
/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.php3 require_once(HTML2PS_DIR.'path.point.php');
17 * - there's at least one point in the path
27 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) {
[all …]
/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/spatialhelper/helper/
Dsearch.php23 use geoPHP\Geometry\Point; alias
80 $geometry = new Point($lon, $lat);
89 * @param Point|null $p
90 * optional point
94 final public function findNearby(string $geohash, Point $p = null): array
97 if (!$p instanceof Point) {
140 $point = $indexer->getCoordsFromExif($id);
144 $point
148 'lat' => $point->y(), 'lon' => $point->x()];
152 $point = new Point($geotags ['lon'], $geotags ['lat']);
[all …]
/plugin/rigrr/lib/svg-pan-zoom/
Dsvg-pan-zoom.js421 // NOTE: May need to change detection at some point if mozPressure disappears.
436 * Zoom in at an SVG point
439 * @param {object} point SVG Point
445 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) {
483 // If not a SVGPoint but has x and y than create new point
484 if (Utils.getType(point) !== 'SVGPoint' && 'x' in point && 'y' in point) {
486 _point.x = point.x
[all …]
/plugin/aichat/Storage/
DQdrantStorage.php155 // no such point
254 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'],
[all …]

12345678910>>...46