AirLay backend

Coordinates
in package

Table of Contents

EQUATOR_LENGTH  = 40075696
MERIDIAN_LENGTH  = 20004274
concaveHull()  : array<string|int, mixed>
Compute the alpha shape (concave hull) of a set of points.
convexHull()  : array<string|int, mixed>|null
Выпуплые оболочки
findByDistanceAndDirection()  : Point
Прямая геодезическая задача на php
addEdge()  : array<string|int, mixed>
findEdgesWith()  : array<string|int, mixed>
stitchBoundaries()  : array<string|int, mixed>

Constants

EQUATOR_LENGTH

public mixed EQUATOR_LENGTH = 40075696

MERIDIAN_LENGTH

public mixed MERIDIAN_LENGTH = 20004274

Methods

concaveHull()

Compute the alpha shape (concave hull) of a set of points.

public static concaveHull(array<string|int, mixed> $points, float $alpha) : array<string|int, mixed>
Parameters
$points : array<string|int, mixed>

array of shape (n,2) points.

$alpha : float

alpha value.

Tags
link
https://stackoverflow.com/questions/50549128/boundary-enclosing-a-given-set-of-points
Return values
array<string|int, mixed>

set of (i,j) pairs representing edges of the alpha-shape. (i,j) are the indices in the points array.

findByDistanceAndDirection()

Прямая геодезическая задача на php

public static findByDistanceAndDirection(Point $point, int|float $distance, int|float $direction) : Point
Parameters
$point : Point

Starting point

$distance : int|float

Distance in meters

$direction : int|float

Direction in degrees(Directional angle)

Tags
link
https://ru.wikipedia.org/wiki/%D0%93%D0%B5%D0%BE%D0%B4%D0%B5%D0%B7%D0%B8%D1%87%D0%B5%D1%81%D0%BA%D0%B8%D0%B5_%D0%B7%D0%B0%D0%B4%D0%B0%D1%87%D0%B8#%D0%9F%D1%80%D1%8F%D0%BC%D0%B0%D1%8F_%D0%B3%D0%B5%D0%BE%D0%B4%D0%B5%D0%B7%D0%B8%D1%87%D0%B5%D1%81%D0%BA%D0%B0%D1%8F_%D0%B7%D0%B0%D0%B4%D0%B0%D1%87%D0%B0_(%D0%9F%D0%93%D0%97)
Return values
Point

addEdge()

private static addEdge(array<string|int, mixed> $edges, mixed $i, mixed $j) : array<string|int, mixed>
Parameters
$edges : array<string|int, mixed>
$i : mixed
$j : mixed
Return values
array<string|int, mixed>

findEdgesWith()

private static findEdgesWith(Point $i, array<string|int, mixed> $edgeSet) : array<string|int, mixed>
Parameters
$i : Point
$edgeSet : array<string|int, mixed>
Return values
array<string|int, mixed>

stitchBoundaries()

private static stitchBoundaries(array<string|int, mixed> $edgeSet) : array<string|int, mixed>
Parameters
$edgeSet : array<string|int, mixed>
Return values
array<string|int, mixed>

Search results