@param Point $point
@param bool  $outer

@return string
518215
private function writePoint(Point $point, bool $outer) : string
    {
        $wkb = $this->packByteOrder();
        $wkb.= $this->packHeader($point, $outer);
        $wkb.= $this->packPoint($point);

        return $wkb;
    }
683527
function (point) {
            if (!isText(point.node)) {
                return false;
            }

            var ch = point.node.nodeValue.charAt(point.offset - 1);
            return ch && (ch !== ' ' && ch !== NBSP_CHAR);
        }
1103101
public static function getRealCodepoint($ref) {
        if (!isset(self::$realCodepointTable[$ref])) {
            return false;
        } else {
            return self::$realCodepointTable[$ref];
        }
    }
461470
public function getPointRgb(Point $position) {
		return imagecolorat($this->image, $position->x, $position->y);
	}
953215
public function getCropEndpoint(
        $endpoint,
        $parameters = array(),
        $absolute = UrlGeneratorInterface::ABSOLUTE_PATH
    ) {
        $parameters = array_merge($parameters, array('endpoint' => $endpoint));

        return $this->router->generate($this->routeName, $parameters, $absolute);
    }
873249
function (point) {
			var series = this,
				drillId = false,
				nodeParent;
			if ((point.node.parent !== series.rootNode) && (point.isLeaf)) {
				nodeParent = point.node;
				while (!drillId) {
					nodeParent = series.nodeMap[nodeParent.parent];
					if (nodeParent.parent === series.rootNode) {
						drillId = nodeParent.id;
					}
				}
			}
			return drillId;
		}
988221
public function equals(self $point)
    {
        return $this->x === $point->getX() &&
        $this->y === $point->getY();
    }
29612
protected function getEndpoint($method)
    {
        $endpoint = "contact_lists";
        $contactListId = $this->getArgument("id");
        if (!is_null($contactListId)) {
            $endpoint = "contact_lists/$contactListId";
            $this->delArgument("id");
        }
        $number = $this->getArgument("number");
        if (!is_null($number)) {
            $this->delArgument("number");
            return "$endpoint/contacts/$number";
        }
        $file = $this->getArgument("file");
        $saveTo = $this->getArgument("accept_file");
        if (!is_null($file) || !is_null($saveTo)) {
            $endpoint .= "/contacts";
        }
        $page = $this->getArgument("page");
        $this->delArgument("page");
        if (!is_null($page)) {
            $endpoint .= "/contacts?page=$page";
        }
        return $endpoint;
    }
920199
private function getEndpoint(string $endpoint) : string
    {
        return sprintf(
            '%s/%s/%s',
            $this->config->get('serverUrl'),
            $this->config->get('apmVersion'),
            $endpoint
        );
    }
611473
function(point) {
        var result = false;

        if (point) {
            result =
                this.x === point.x &&
                this.y === point.y;
        }

        return result;
    }
496062
private function getApiEndpoint($endpoint, $orcid = null)
    {
        $url  = 'https://';
        $url .= $this->level . '.';
        $url .= (!empty($this->environment)) ? $this->environment . '.' : '';
        $url .= self::HOSTNAME;
        $url .= '/v' . self::VERSION . '/';
        $url .= $orcid ?: $this->getOrcid();
        $url .= '/' . $endpoint;

        return $url;
    }
896987
public static function image($frame, $pixelPerPoint = 4, $outerFrame = 4)
    {
        $h = count($frame);
        $w = strlen($frame[0]);

        $imgW = $w + 2*$outerFrame;
        $imgH = $h + 2*$outerFrame;

        $base_image =ImageCreate($imgW, $imgH);

        $col[0] = ImageColorAllocate($base_image,255,255,255);
        $col[1] = ImageColorAllocate($base_image,0,0,0);

        imagefill($base_image, 0, 0, $col[0]);

        for($y=0; $y<$h; $y++) {
            for($x=0; $x<$w; $x++) {
                if ($frame[$y][$x] == '1') {
                    ImageSetPixel($base_image,$x+$outerFrame,$y+$outerFrame,$col[1]);
                }
            }
        }

        $target_image =ImageCreate($imgW * $pixelPerPoint, $imgH * $pixelPerPoint);
        ImageCopyResized($target_image, $base_image, 0, 0, 0, 0, $imgW * $pixelPerPoint, $imgH * $pixelPerPoint, $imgW, $imgH);
        ImageDestroy($base_image);

        return $target_image;
    }
938323
public static function codepointToUtf8( $codepoint ) {
		if ( $codepoint < 0x80 ) {
			return chr( $codepoint );
		}

		if ( $codepoint < 0x800 ) {
			return chr( $codepoint >> 6 & 0x3f | 0xc0 ) .
			chr( $codepoint & 0x3f | 0x80 );
		}

		if ( $codepoint < 0x10000 ) {
			return chr( $codepoint >> 12 & 0x0f | 0xe0 ) .
			chr( $codepoint >> 6 & 0x3f | 0x80 ) .
			chr( $codepoint & 0x3f | 0x80 );
		}

		if ( $codepoint < 0x110000 ) {
			return chr( $codepoint >> 18 & 0x07 | 0xf0 ) .
			chr( $codepoint >> 12 & 0x3f | 0x80 ) .
			chr( $codepoint >> 6 & 0x3f | 0x80 ) .
			chr( $codepoint & 0x3f | 0x80 );
		}

		throw new InvalidArgumentException( "Asked for code outside of range ($codepoint)" );
	}
985477
public static function getGeomFromTextMultiPoint(
    $databasetype, $points)
    {
        $wkt = "";
        switch(strtoupper($databasetype))
        {
            case SrsPoint::$POSTGIS:
//                $wkt .= "ST_GEOMFROMTEXT('MULTIPOINT(";
                foreach($points as $point)
                {
                    $wkt .= "," . $point->getLon() . " " . $point->getLat();
                }
                $wkt = "ST_GEOMFROMTEXT('MULTIPOINT("
                        . substr($wkt, 1) . ")'," . $point->getSrs() . ")";
                break;

            default:
                break;
        }
        return $wkt;
    }
1159577
protected function setQueryLogItemsToPoint(Point $point)
    {
        // Skip if query log is disabled
        if($this->config->queryLogState !== true)
            return;

        $point->setQueryLog($this->queryLogStack);
        $this->queryLogStack = [];
    }
375863
public function endpoint($endpoint = null)
    {
        if ($endpoint !== null) {
            $this->setName($endpoint);
        }

        return $this->getName();
    }
1330608
public function invoke(JoinPointInterface $joinPoint)
    {
        if ($this->runtimeEvaluator !== null && $this->runtimeEvaluator->__invoke($joinPoint, $this->objectManager) === false) {
            return $joinPoint->getAdviceChain()->proceed($joinPoint);
        }

        $adviceObject = $this->objectManager->get($this->aspectObjectName);
        $methodName = $this->adviceMethodName;
        return $adviceObject->$methodName($joinPoint);
    }