Table of Contents

Interface ISimpleCoordinate

Namespace
Geotab.Checkmate.ObjectModel
Assembly
Geotab.Checkmate.ObjectModel.dll

A simple coordinate on the earth surface. X is longitude and Y is latitude.

public interface ISimpleCoordinate

Properties

X

Gets the X or longitude.

double X { get; }

Property Value

double

double

Y

Gets the Y or latitude.

double Y { get; }

Property Value

double

double

Methods

DistanceFrom(ISimpleCoordinate)

Returns the distance between this point and the supplied point in meters.

double DistanceFrom(ISimpleCoordinate coordinate)

Parameters

coordinate ISimpleCoordinate

The ISimpleCoordinate being checked for distance.

Returns

double

The distance.