Record TGeoPoint

Hierarchy
Properties

Unit

Declaration

type TGeoPoint = record

Description

Point on a map defined by longitude and latitude. Intentionally not using TPointF and TRectF because they use other system of coordinates (vertical coord increases from top to down, while latitude changes from +85 to -85). When creating, adjusts valid latitude values that are not possible in Web Mercator projection (absolute value in range 85..90) to the possible range (85)

Overview

Fields

Public Long: Double;
Public Lat: Double;

Methods

Public constructor Create(Long, Lat: Double);
Public function Same(const GeoPt: TGeoPoint; HorzArea: Double = 0; VertArea: Double = 0): Boolean;

Description

Fields

Public Long: Double;

This item has no description.

Public Lat: Double;

This item has no description.

Methods

Public constructor Create(Long, Lat: Double);

This item has no description.

Public function Same(const GeoPt: TGeoPoint; HorzArea: Double = 0; VertArea: Double = 0): Boolean;

Check if two points have the same coords within configurable area (for simplicity effective area is rectangle with current point at center, height = VertArea*2 and width = HorzArea*2)


Generated by PasDoc 0.16.0.