final class Point (View source)

Methods

__construct(float $x, float $y)

No description

bool
isInsidePolygon(Polygon $polygon)

Determines whether a given point is inside a given polygon.

Details

__construct(float $x, float $y)

No description

Parameters

float $x
float $y

bool isInsidePolygon(Polygon $polygon)

Determines whether a given point is inside a given polygon.

Parameters

Polygon $polygon

Return Value

bool