Bitrix API

Point extends BaseGeometry

Table of Contents

Methods

__construct()  : mixed
asArray()  : array<string|int, mixed>
contains()  : bool|null
getGeometryType()  : string
getLat()  : float
getLng()  : float

Methods

__construct()

public __construct(float $lat, float $lng) : mixed
Parameters
$lat : float

-90.0 .. +90.0

$lng : float

-180.0 .. +180.0

Tags
throws
InvalidArgumentException

asArray()

public asArray() : array<string|int, mixed>
Tags
inheritDoc
Return values
array<string|int, mixed>

getGeometryType()

public getGeometryType() : string
Return values
string

getLat()

public getLat() : float
Return values
float

getLng()

public getLng() : float
Return values
float

        
On this page

Search results