phpDocumentor

GeometryCollection
in package

Liste d'objets géométriques de ka classe Geometry

Table of Contents

Constants

ErrorCenterOfEmpty  = 'GeometryCollection::ErrorCenterOfEmpty'
ErrorPosOfEmpty  = 'GeometryCollection::ErrorPosOfEmpty'

Properties

$geometries  : array<int, Geometry>

Methods

__construct()  : mixed
prend en paramètre une liste d'objets Geometry
__toString()  : string
aPos()  : TPos
asArray()  : }">TGJSimpleGeometry>}
center()  : TPos
decompose()  : array<int, Point|LineString|Polygon>
Décompose une géométrie en un array de géométries élémentaires (Point/LineString/Polygon)
distanceToPos()  : float
ebox()  : EBox
eltTypes()  : array<int, string>
retourne la liste des types élémentaires ('Point','LineString','Polygon') contenus dans la géométrie
gbox()  : GBox
nbreOfPos()  : int
reproject()  : GeometryCollection

Constants

ErrorCenterOfEmpty

public mixed ErrorCenterOfEmpty = 'GeometryCollection::ErrorCenterOfEmpty'

ErrorPosOfEmpty

public mixed ErrorPosOfEmpty = 'GeometryCollection::ErrorPosOfEmpty'

Properties

Methods

__construct()

prend en paramètre une liste d'objets Geometry

public __construct(array<int, Geometry$geometries) : mixed
Parameters
$geometries : array<int, Geometry>

__toString()

public __toString() : string
Return values
string

aPos()

public aPos() : TPos
Return values
TPos

asArray()

public asArray() : }">TGJSimpleGeometry>}
Return values
}">TGJSimpleGeometry>}

center()

public center() : TPos
Return values
TPos

distanceToPos()

public distanceToPos(TPos $pos) : float
Parameters
$pos : TPos
Return values
float

eltTypes()

retourne la liste des types élémentaires ('Point','LineString','Polygon') contenus dans la géométrie

public eltTypes() : array<int, string>
Return values
array<int, string>

nbreOfPos()

public nbreOfPos() : int
Return values
int

        
On this page

Search results