Show / Hide Table of Contents

Interface IArea

Abstract representation of an area.

Namespace: System.Dynamic.ExpandoObject
Assembly: cs.temp.dll.dll
Syntax
public interface IArea

Methods

Intersect(Single, Single, Single, Single)

Returns the location(s) the given line intersects with the area's boundary. Returns null if there is no intersection.

Declaration
Coordinate[] Intersect(float latitude1, float longitude1, float latitude2, float longitude2)
Parameters
System.Single latitude1

System.Single longitude1

System.Single latitude2

System.Single longitude2

Returns
Coordinate[]

Overlaps(Single, Single)

Returns true if the given coordinate is inside the area.

Declaration
bool Overlaps(float latitude, float longitude)
Parameters
System.Single latitude

System.Single longitude

Returns
System.Boolean

Back to top Built by Itinero, MIT licensed.